Welcome to Synthiam!

Program robots using technologies created from industry experts. ARC is our free-to-use robot programming software that makes features like vision recognition, navigation and artificial intelligence easy.

Get Started
Asked — Edited

Virtual Robot Error?

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: Parameter is not valid.
at System.Drawing.Image.get_RawFormat()
at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height)
at System.Drawing.Graphics.DrawImage(Image image, Rectangle rect)
at System.Windows.Forms.PictureBox.OnPaint(PaintEventArgs pe)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.296 (RTMGDR.030319-2900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
EZ-Builder
Assembly Version: 2013.2.17.0
Win32 Version: 2013.02.17.00
CodeBase: file:///C:/Program%20Files%20(x86)/EZ-Robot%20Inc/EZ-Builder/EZ-Builder.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1002 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1001 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1001 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
EZ_B
Assembly Version: 2013.2.17.0
Win32 Version: 2013.02.17.00
CodeBase: file:///C:/Program%20Files%20(x86)/EZ-Robot%20Inc/EZ-Builder/EZ_B.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Speech
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Speech/v4.0_4.0.0.0__31bf3856ad364e35/System.Speech.dll
----------------------------------------
FFMPEG
Assembly Version: 2013.1.16.0
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/EZ-Robot%20Inc/EZ-Builder/FFMPEG.DLL
----------------------------------------
aForge
Assembly Version: 2013.2.17.0
Win32 Version: 2013.02.17.00
CodeBase: file:///C:/Program%20Files%20(x86)/EZ-Robot%20Inc/EZ-Builder/aForge.DLL
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
y2vg35vp
Assembly Version: 2013.2.17.0
Win32 Version: 4.0.30319.1001 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
NAudio
Assembly Version: 2013.2.11.0
Win32 Version: 2013.02.11.00
CodeBase: file:///C:/Program%20Files%20(x86)/EZ-Robot%20Inc/EZ-Builder/NAudio.DLL
----------------------------------------
EZ-QRCode
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/EZ-Robot%20Inc/EZ-Builder/EZ-QRCode.DLL
----------------------------------------
WindowsBase
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.298 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:





When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
_____________________________________________________________________
This is the error. What is it telling me to do?

PRO
Synthiam
#1  
When providing an error log, please include what you were doing to cause it. Additionally, the website forum is split into categories for different subjects. You have this posted under "hardware". This is not a hardware issue. It is being moved.

We notice you post almost everything in "HArdware". Please begin posting in appropiate categories:) Thanks
#2  
I was adding the picture to the virtual robot when it happend. i used the pic of the wall-e on your build now ad.

really? i swear i posted this under bug report.
Sorry about that.
I have been getting around a bit more lately
PRO
Synthiam
#3  
That error looks like it wasnt an image file. Are you sure it was a picture and not an HTML file? I can try and see if I can recreate it:)
#4  
Update: Got a photo. The pic shows up when i tell it to only show supported images.

User-inserted image
PRO
Synthiam
#5  
Can you please clarify? What do you mean by supported images? And if you got the pic to show up, why is there an error message?
United Kingdom
#6  
@DJ, I replicated the error... by choosing a jpg 3.25Mb size, 4608x3456.

I've uploaded my image here

My error message was

Quote:


See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: Parameter is not valid.
at System.Drawing.Image.get_RawFormat()
at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height)
at System.Drawing.Graphics.DrawImage(Image image, Rectangle rect)
at System.Windows.Forms.PictureBox.OnPaint(PaintEventArgs pe)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
EZ-Builder
Assembly Version: 2013.2.11.0
Win32 Version: 2013.02.11.00
CodeBase: file:///C:/Program%20Files/EZ-Robot%20Inc/ARC/ARC.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
EZ_B
Assembly Version: 2013.2.11.0
Win32 Version: 2013.02.11.00
CodeBase: file:///C:/Program%20Files/EZ-Robot%20Inc/ARC/EZ_B.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Speech
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Speech/v4.0_4.0.0.0__31bf3856ad364e35/System.Speech.dll
----------------------------------------
FFMPEG
Assembly Version: 2013.1.16.0
Win32 Version:
CodeBase: file:///C:/Program%20Files/EZ-Robot%20Inc/ARC/FFMPEG.DLL
----------------------------------------
aForge
Assembly Version: 2013.2.11.0
Win32 Version: 2013.02.11.00
CodeBase: file:///C:/Program%20Files/EZ-Robot%20Inc/ARC/aForge.DLL
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


It does the same for smaller images also (tested 3 smaller jpgs of schematics)
#7  
the pic shows up in the file browser when i have selected it to show only supported images.
User-inserted image
#9  
Hey, new to the board here. I am receiving the same error. I couldn't find if this thread had been moved to the ARC thread somewhere... Any word on how to fix this?

BTW, i am trying to add an image to the Virtual Robot control. when i click change image, i select the picture i want to add, this error comes up with both Bitmaps and JPG's... tried multiple images.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: Parameter is not valid.
at System.Drawing.Image.get_RawFormat()
at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height)
at System.Drawing.Graphics.DrawImage(Image image, Rectangle rect)
at System.Windows.Forms.PictureBox.OnPaint(PaintEventArgs pe)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.296 (RTMGDR.030319-2900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
EZ-Builder
Assembly Version: 2013.3.18.0
Win32 Version: 2013.03.18.00
CodeBase: file:///G:/Network%20Software/Server%20Software/EZbuilder/ARC.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1002 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1001 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1001 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
EZ_B
Assembly Version: 2013.3.18.0
Win32 Version: 2013.03.18.00
CodeBase: file:///G:/Network%20Software/Server%20Software/EZbuilder/EZ_B.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Speech
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Speech/v4.0_4.0.0.0__31bf3856ad364e35/System.Speech.dll
----------------------------------------
FFMPEG
Assembly Version: 2013.1.16.0
Win32 Version:
CodeBase: file:///G:/Network%20Software/Server%20Software/EZbuilder/FFMPEG.DLL
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Web.Services
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.Services/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
y0lgpqgu
Assembly Version: 2013.3.18.0
Win32 Version: 4.0.30319.1001 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
ARC Examples
Assembly Version: 2013.3.18.0
Win32 Version: 2013.03.18.0
CodeBase: file:///G:/Network%20Software/Server%20Software/EZbuilder/ARC.20Examples.DLL
----------------------------------------
pqmjyvca
Assembly Version: 2013.3.18.0
Win32 Version: 4.0.30319.1001 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
User-inserted image
United Kingdom
#10  
I can only assume it's on "the list" if it hasn't been fixed yet.

Reading between the lines somewhat I can only assume there will be a major release for ARC soon, this may have the fix in it. Since we have not received any updates to ARC lately I'm going out on a limb and guessing that minor updates are on hold until the major release is done... but don't quote me on that, it's purely speculation.
PRO
Synthiam
#11  
I haven't been able to reproduce this error:( ... Even when I used the BMP that you shared on that thread - It works great for me. What OS are you running?
United Kingdom
#12  
That's odd, I run Windows 7 ultimate 32 bit.

I'll try it on win 7 64 bit and win 8 when I get chance to see what happens.
PRO
Synthiam
#13  
You know what? It might be a RAM related issue. I know you may have a billion GB of ram - but ram works by Pages in chunks of memory large enough to hold things. Anyway, the image you posted is HUGE. Like, really big.

I would recommend shrinking the image down to a reasonable size, of say 1024x768 or something. Then try Virtual Robot:)
United Kingdom
#14  
All 3 of my Windows PCs do the same thing.
Windows 7 Ultimate 32 Bit, 4Gb ram (3.25Gb usable), 2.9Ghz dual core.
Windows 7 Enterprise 64 Bit, 16Gb ram, 3.5Ghz 6 core.
Windows 8 Pro 32 Bit, 2Gb ram, 2Ghz dual core.

All using a much smaller image too (tried a few different images too but all with the same result).

It's not a problem to me, the virtual robot takes up too much of my screen real estate but it's odd that it happens on all of my PCs but not for you. The Windows 8 one is pretty much a virgin machine with only the addition of ARC and Chrome. The Windows 7 64 bit is near virgin too, with just work apps (autocad, office, adobe CS) and ARC.
United Kingdom
#16  
The same thing happens with that image.

I started the Problem Step Recorder in W7 to record it all if that gives any further info, it's attached.
problemsteprecorder.zip
PRO
Synthiam
#17  
LOL, I don't know what to say.. It works flawless on all our machines. I can't think of what it could be.

Either way, that feature has been changed in the next release:) You no longer upload a picture of your robot. You use something else now.