Hi,
I've just received an error '[IError ] [Module]: Parameter is not valid'. I've been running the same test multiple times in a loop for 4 days and not had this error. My test doesn't use parameters - it's a very simple soak test. What could be causing this?
Thanks
Parameter is not valid
Re: Parameter is not valid
extra info ..
<item
time="6135:12.395"
level="Error"
category="Module"
errimg="images_PoCTest_20130313_102625\PoCTest_20130313_102625_d0273d42_trace.jpg"
errthumb="images_PoCTest_20130313_102625\PoCTest_20130313_102625_d0273d42_trace_thumb.jpg">
<message>
Parameter is not valid.
</message>
<metainfo
stacktrace=" at System.Drawing.Graphics.GetHdc()
at Ranorex.Core.WinApi.ImagingUnsafe.BitBlt(Graphics dest, Int32 xDest, Int32 yDest, Int32 width, Int32 height, Graphics src, Int32 xSrc, Int32 ySrc, CopyPixelOperation rop)
at Ranorex.Imaging.BlitFromDesktopDc(Rectangle region)
at Ranorex.Imaging.BlitFromDesktopDc(Element element)
at Ranorex.Imaging.CaptureDesktopImage(Element element)
at Ranorex.Report.Screenshot(ReportLevel level, String category, String message, Element target, Boolean highlightWithinSurroundingArea, IReportMetadata[] metaData)
at PoCTest.ExecuteM.Ranorex.Core.Testing.ITestModule.Run()
at Ranorex.Core.Testing.TestModuleRunner.Run()
at Ranorex.Core.Testing.TestModuleRunner.Run(ITestModule testModule)
at PoCTest.ExecuteM.Start()
at PoCTest.PoC_Hardware.Ranorex.Core.Testing.ITestModule.Run()
at Ranorex.Core.Testing.TestSuiteModule.RunInternal(DataContext parentDataContext)"
loglvl="Error"/>
</item>
<item
time="6135:12.395"
level="Error"
category="Module"
errimg="images_PoCTest_20130313_102625\PoCTest_20130313_102625_d0273d42_trace.jpg"
errthumb="images_PoCTest_20130313_102625\PoCTest_20130313_102625_d0273d42_trace_thumb.jpg">
<message>
Parameter is not valid.
</message>
<metainfo
stacktrace=" at System.Drawing.Graphics.GetHdc()
at Ranorex.Core.WinApi.ImagingUnsafe.BitBlt(Graphics dest, Int32 xDest, Int32 yDest, Int32 width, Int32 height, Graphics src, Int32 xSrc, Int32 ySrc, CopyPixelOperation rop)
at Ranorex.Imaging.BlitFromDesktopDc(Rectangle region)
at Ranorex.Imaging.BlitFromDesktopDc(Element element)
at Ranorex.Imaging.CaptureDesktopImage(Element element)
at Ranorex.Report.Screenshot(ReportLevel level, String category, String message, Element target, Boolean highlightWithinSurroundingArea, IReportMetadata[] metaData)
at PoCTest.ExecuteM.Ranorex.Core.Testing.ITestModule.Run()
at Ranorex.Core.Testing.TestModuleRunner.Run()
at Ranorex.Core.Testing.TestModuleRunner.Run(ITestModule testModule)
at PoCTest.ExecuteM.Start()
at PoCTest.PoC_Hardware.Ranorex.Core.Testing.ITestModule.Run()
at Ranorex.Core.Testing.TestSuiteModule.RunInternal(DataContext parentDataContext)"
loglvl="Error"/>
</item>
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Parameter is not valid
Hi,
Thanks for posting the extra information
!
We will analyze the issue and will get back to you as soon as we know more about this issue and why this happens.
Regards,
Markus
Thanks for posting the extra information

We will analyze the issue and will get back to you as soon as we know more about this issue and why this happens.
Regards,
Markus
Re: Parameter is not valid
We think that the error has been generated because of a memory leak; and so have been pursuing this line of enquiry.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Parameter is not valid
Hi,
Thank you for the information!
Please let me know if you need further technical guidance.
Regards,
Markus
Thank you for the information!
Please let me know if you need further technical guidance.
Regards,
Markus