Failed to process performance counters

Nov 17, 2016 at 8:43 PM
Hi,

I get these errors when processing single blg files or multiple multiple blg files. Any help would be appreciated.

PAL v2.7.7

Windows PowerShell transcript start
Start time: 20161117163526
Username:
RunAs User:
Machine: NAOU16928 (Microsoft Windows NT 6.3.9600.0)
Host Application: Powershell -ExecutionPolicy ByPass -NoProfile -File .\PAL.ps1 -Log D:\Performance counters\BentleyPerfCounters_000002.blg;D:\Performance counters\BentleyPerfCounters_000003_8th Nov.blg;D:\Performance counters\BentleyPerfCounters_000004_11th Nov.blg;D:\Performance counters\BentleyPerfCounters_000005.blg -ThresholdFile C:\Program Files\PAL\PAL\SystemOverview.xml -Interval 600 -IsOutputHtml $True -HtmlOutputFileName [LogFileName]_PAL_ANALYSIS_[DateTimeStamp].htm -IsOutputXml $False -XmlOutputFileName [LogFileName]_PAL_ANALYSIS_[DateTimeStamp].xml -AllCounterStats $False -NumberOfThreads 8 -IsLowPriority $False -OS 64-bit Windows Server 2008 R2 -PhysicalMemory 16 -UserVa 2048
Process ID: 7244

Transcript started, output file is C:\Users\AppData\Local\Temp\PAL1.log
SCRIPT ARGUMENTS:

Name Value

AllCounterStats False
AnalysisInterval AUTO
BeginTime
DisplayReport True
EndTime
HtmlOutputFileName [LogFileName]_PAL_ANALYSIS_[DateTimeStamp].htm
Interval 600
IsLowPriority False
IsOutputHtml True
IsOutputXml False
Log D:\Performance counters\BentleyPerfCounters_000002.blg;D:\Performance counters\Bent...
NumberOfThreads 8
OS 64-bit Windows Server 2008 R2
OutputDir [My Documents]\PAL Reports
PhysicalMemory 16
ThresholdFile C:\Program Files\PAL\PAL\SystemOverview.xml
UserVa 2048
XmlOutputFileName [LogFileName]_PAL_ANALYSIS_[DateTimeStamp].xml
C:\Program Files\PAL\PAL\SystemOverview.xml
QuickSystemOverview.xml

PS>TerminatingError(): "The property 'CounterListFilePath' cannot be found on this object. Verify that the property exists."
TerminatingError(): "The property 'CounterListFilePath' cannot be found on this object. Verify that the property exists."
The property 'CounterListFilePath' cannot be found on this object. Verify that the property exists.
At C:\Program Files\PAL\PAL\PAL.ps1:1143 char:76
  • $sCommand = $('relog.exe ' + ""$sTemp"" + ' -cf ' + "`"$($glob ...
  • ~~~~~
    • CategoryInfo : NotSpecified: (:) [], PropertyNotFoundException
    • FullyQualifiedErrorId : PropertyNotFoundStrict
Get-Content : Cannot find path 'C:\Users\AppData\Local\Temp\c09f2f43-1c9d-41a9-b687-1008900b37ee_FilteredPerfmonLog.csv' because it does
not exist.
At C:\Program Files\PAL\PAL\PAL.ps1:1907 char:14
  • $oCSVFile = Get-Content $CsvFilePath
  • ~~~~~~~~~~~~~~~~~~~~~~~~
    • CategoryInfo : ObjectNotFound: (C:\Users...dPerfmonLog.csv:String) [Get-Content], ItemNotFoundException
    • FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand
PS>TerminatingError(): "Cannot index into a null array."
TerminatingError(): "Cannot index into a null array."
Cannot index into a null array.
At C:\Program Files\PAL\PAL\PAL.ps1:1908 char:2
  • $aRawCounterList = $oCSVFile[0].Split(",")
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    • CategoryInfo : InvalidOperation: (:) [], RuntimeException
    • FullyQualifiedErrorId : NullArray
PS>TerminatingError(): "Cannot convert null to type "System.DateTime"."
TerminatingError(): "Cannot convert null to type "System.DateTime"."
Cannot convert null to type "System.DateTime".
At C:\Program Files\PAL\PAL\PAL.ps1:1929 char:9
  • [datetime] $dtBeginDateTime = $dtBeginDateTime
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    • CategoryInfo : MetadataError: (:) [], ArgumentTransformationMetadataException
    • FullyQualifiedErrorId : RuntimeException
PS>TerminatingError(): "Cannot convert null to type "System.DateTime"."
Cannot convert null to type "System.DateTime".
At C:\Program Files\PAL\PAL\PAL.ps1:2324 char:2
  • [datetime] $dTimeCursor = [datetime] $ArrayOfTimes[0]
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    • CategoryInfo : InvalidArgument: (:) [], RuntimeException
    • FullyQualifiedErrorId : nullToObjectInvalidCast
PS>TerminatingError(): "Attempted to divide by zero."
Attempted to divide by zero.
At C:\Program Files\PAL\PAL\PAL.ps1:2293 char:49
  • $iPercentComplete = ConvertToDataType $(($iIndexOfJobs / $iTotalJobs) * ...
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    • CategoryInfo : NotSpecified: (:) [], RuntimeException
    • FullyQualifiedErrorId : RuntimeException
PS>TerminatingError(): "Cannot convert null to type "System.DateTime"."
TerminatingError(): "Cannot convert null to type "System.DateTime"."
Cannot convert null to type "System.DateTime".
At C:\Program Files\PAL\PAL\PAL.ps1:4502 char:25
  • $Date1 = Get-Date $([datetime]$global:oPal.aTime[0]) -format $global:sDateTi ...
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    • CategoryInfo : InvalidArgument: (:) [], RuntimeException
    • FullyQualifiedErrorId : nullToObjectInvalidCast
C:\Users\Documents\PAL Reports\BentleyPerfCounters_000002_PAL_ANALYSIS_20161117163526.htm

Windows PowerShell transcript end
End time: 20161117163546