Pal V 2.0 Alpha "System.DateTime" Null

Nov 3, 2009 at 12:11 PM

Hi,

With a very simple blg file I've get the next error:

Processing: % Processor Time
        Time data (one time only)...Done
        Counter data for "0"...Done
        Auto analysis interval (one time only)...ADVERTENCIA: Please post errors or problems with this tool to the PAL w
eb site located at http://www.codeplex.com/PAL
with the following error message and a brief description of what you were trying to do. Thank you.
No se puede convertir a NULL el tipo "System.DateTime".
En C:\data\pal\PAL.ps1: 1424 Carácter: 78
+     $iTimeSpanInSeconds = [int] $(New-TimeSpan -Start ([DateTime] $ArrayOfTimes[ <<<< 0]) -End ([DateTime] $ArrayOfTi
mes[$ArrayOfTimes.GetUpperBound(0)])).TotalSeconds
    + CategoryInfo          : NotSpecified: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : RuntimeException

 

A sample lines of blg file ( get from csv temp file created in documents and setting)

(PDH-CSV 4.0) (Hora estándar romance)(-60),"\\SERVER\Processor(0)\% Processor Time","\\SERVER\Processor(1)\% Processor Time","\\SERVER\Processor(_Total)\% Processor Time"
11/03/2009 12:54:41.684,"99.981227782470711","99.981092229111596","99.981160005791153"  
11/03/2009 12:54:56.683,"1.5612399838717983","1.873743983922993","1.7174919838973901"  
11/03/2009 12:55:11.683,"1.1445679838035239","0.41539198368405472","0.77997998374379485"
11/03/2009 12:55:26.683,"0.51955998370112333","0.72789598373526054","0.62372798371819194"
11/03/2009 12:55:41.683,"1.5612399838717983","2.7070879840595308","2.1341639839656645"  
11/03/2009 12:55:56.683,"1.2487359838205925","1.3529039838376611","1.3008199838291268"  
11/03/2009 12:56:11.698,"2.4961504939105095","1.9758524709324377","2.236001482421468"  
11/03/2009 12:56:26.698,"0.83206398375232915","0.62372798371819194","0.72789598373526054"