1
Vote

Problem with multiple blgs

description

I'm using last version, and each time I select more than one blg file, the system crashes showing several errors. This are the following errors:
Error 1
Overall progress... Status: Getting time data from counter log(s), PAL 2.7.5 Progress: 29%... Getting time data from counter log(s),

An error occurred on...
$aRawCounterList = $oCSVFile[0].Split(",") 
At C:\Users\administrador\Desktop\PAL\PAL.ps1:1908 char:2 + $aRawCounterList = $oCSVFile[0].Split(",") + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cannot index into a null array.


SCRIPT ARGUMENTS:
Log: F:\Auditoria\MADSHWCRAW02_20160905\MADSHWCRAW02_20160905-000001.blg;F:\Auditoria\MADSHWCRAW02_20160905\MADSHWCRAW02_20160906-000002.blg;F:\Auditoria\MADSHWCRAW02_20160905\MADSHWCRAW02_20160907-000003.blg;F:\Auditoria\MADSHWCRAW02_20160905\MADSHWCRAW02_20160908-000004.blg;F:\Auditoria\MADSHWCRAW02_20160905\MADSHWCRAW02_20160909-000005.blg;F:\Auditoria\MADSHWCRAW02_20160905\MADSHWCRAW02_20160910-000006.blg;F:\Auditoria\MADSHWCRAW02_20160905\MADSHWCRAW02_20160911-000007.blg
ThresholdFile: C:\Users\administrador\Desktop\PAL\SP2013.xml
AnalysisInterval: AUTO
IsOutputHtml: $True
IsOutputXml: $False
HtmlOutputFileName: [LogFileName]_PAL_ANALYSIS_[DateTimeStamp].htm
XmlOutputFileName: [LogFileName]_PAL_ANALYSIS_[DateTimeStamp].xml
OutputDir: [My Documents]\PAL Reports
AllCounterStats: $False
NumberOfThreads: 2
IsLowPriority: $True
DisplayReport: True

Error 2
Overall progress... Status: Determining the analysis interval, PAL 2.7.5 Progress: 35%... Determining the analysis interval,

An error occurred on...
[datetime] $dtBeginDateTime = $dtBeginDateTime
At C:\Users\administrador\Desktop\PAL\PAL.ps1:1929 char:9 + [datetime] $dtBeginDateTime = $dtBeginDateTime + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cannot convert null to type "System.DateTime".

Error 3
An error occurred on...
[datetime] $dTimeCursor = [datetime] $ArrayOfTimes[0] 
At C:\Users\administrador\Desktop\PAL\PAL.ps1:2324 char:2 + [datetime] $dTimeCursor = [datetime] $ArrayOfTimes[0] + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cannot convert null to type "System.DateTime".

Error 4
An error occurred on...
$iPercentComplete = ConvertToDataType $(($iIndexOfJobs / $iTotalJobs) * 100) 'integer'
At C:\Users\administrador\Desktop\PAL\PAL.ps1:2293 char:49 + $iPercentComplete = ConvertToDataType $(($iIndexOfJobs / $iTotalJobs) * ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Attempted to divide by zero.

Error 5
An error occurred on...
$Date1 = Get-Date $([datetime]$global:oPal.aTime[0]) -format $global:sDateTimePattern
At C:\Users\administrador\Desktop\PAL\PAL.ps1:4502 char:25 + $Date1 = Get-Date $([datetime]$global:oPal.aTime[0]) -format $global:sDateTi ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cannot convert null to type "System.DateTime".

file attachments

comments