Cannot convert argument "0", with value: "ALL", for "AddSeconds" to type "System.Double" in PAL v2 Alpha 5

May 6, 2010 at 4:11 PM

Using the system overview threshold file I receive the following error when I set the Analysis Interval to ALL.  The problem does not occur if I set the Analysis Interval to AUTO.

Processing: Memory Leak Detection
        Time data (one time only)...Done
        Counter data for "LUCOMS~1"...Done
        Quantized index (one time only)...WARNING: Please post errors or problem
s with this tool to the PAL web 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.
Cannot convert argument "0", with value: "ALL", for "AddSeconds" to type "Syste
m.Double": "Cannot convert value "ALL" to type "System.Double". Error: "Input s
tring was not in a correct format.""
At C:\Program Files\PAL\PAL v2.0 Alpha 5\PAL.ps1:1812 char:40
+     $dTimeCursor = $dTimeCursor.AddSeconds <<<< ($AnalysisIntervalInSeconds)
    + CategoryInfo          : NotSpecified: (:) [], ParentContainsErrorRecordE
   xception
    + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument

System running PAL is Windows 7 x64.

Coordinator
May 7, 2010 at 7:00 AM

Thank you for the post. I haven't used a manual analysis interval in a long time. You have to be careful not to set it to high or too low. I can't predict what might happen - hence why I only use AUTO. I'll test this out and see if I can fix this.

Coordinator
May 7, 2010 at 7:16 AM

I can't seem to reproduce this problem at the line you reported, but I ran into errors elsewhere and fixed them. I will put this in the next release either Alpha 6 or Beta 1. Thank you.