Unhandled Exception on version 1.03

Post bug reports and ask for support here.

Moderators: Icemania, elliotg

Post Reply
Interesting
Posts: 120
Joined: Sun Apr 04, 2010 11:24 am

Unhandled Exception on version 1.03

Post by Interesting »

Here is a screenshot: http://img46.imageshack.us/img46/7643/u ... eption.jpg
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.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)

at DistantWorlds.LightningGenerator.GenerateLightning(Int32 seed, Int32 size)

at DistantWorlds.Controls.MainView.YDL5rV8TUpmjcYhXlxHtLoYqn(Graphics , Int32 , Int32 , GalaxyLocation , Double )

at DistantWorlds.Controls.MainView.YpCsOIyQpkL5w12HUM61pWGvY0(Int32 , Int32 , Int32 , Int32 , Double , Graphics , Int32 )

at DistantWorlds.Controls.MainView.OnPaint(PaintEventArgs e)

at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)

at System.Windows.Forms.Control.WmPaint(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ScrollableControl.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: 2.0.0.0

Win32 Version: 2.0.50727.3082 (QFE.050727-3000)

CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- DistantWorlds

Assembly Version: 1.0.3.0

Win32 Version: 1.0.3.0

CodeBase: file:///C:/Jogos/Distant%20Worlds/DistantWorlds.exe ---------------------------------------- System.Drawing

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Windows.Forms

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- DistantWorlds.Controls

Assembly Version: 1.0.0.42381

Win32 Version: 1.0.0.0

CodeBase: file:///C:/Jogos/Distant%20Worlds/DistantWorlds.Controls.DLL ---------------------------------------- AxInterop.WMPLib

Assembly Version: 1.0.0.0

Win32 Version: 1.0.0.0

CodeBase: file:///C:/Jogos/Distant%20Worlds/AxInterop.WMPLib.DLL ---------------------------------------- DistantWorlds.Types

Assembly Version: 1.0.0.42379

Win32 Version: 1.0.0.0

CodeBase: file:///C:/Jogos/Distant%20Worlds/DistantWorlds.Types.DLL ---------------------------------------- Interop.WMPLib

Assembly Version: 1.0.0.0

Win32 Version: 1.0.0.0

CodeBase: file:///C:/Jogos/Distant%20Worlds/Interop.WMPLib.DLL ---------------------------------------- Microsoft.DirectX.DirectSound

Assembly Version: 1.0.2902.0

Win32 Version: 5.04.00.2904

CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX.DirectSound/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.DirectSound.dll ---------------------------------------- System.Deployment

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll ---------------------------------------- Microsoft.VisualBasic

Assembly Version: 8.0.0.0

Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- PresentationCore

Assembly Version: 3.0.0.0

Win32 Version: 3.0.6920.1427 built by: SP

CodeBase: file:///C:/WINDOWS/assembly/GAC_32/PresentationCore/3.0.0.0__31bf3856ad364e35/PresentationCore.dll ---------------------------------------- WindowsBase

Assembly Version: 3.0.0.0

Win32 Version: 3.0.6920.1427 built by: SP

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll ---------------------------------------- Microsoft.DirectX

Assembly Version: 1.0.2902.0

Win32 Version: 5.04.00.2904

CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll ---------------------------------------- Accessibility

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.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.
I started a new game and as soon as the game generated, while still paused, I opened the editor, zoomed in and out of various locations, and when I zoomed in at those icons that look like "white snakes" or "white comets", I got this error.

If I press continue, the screen keeps like in the screenshot, thus unplayable. If I press Quit... Didnt even had the opportunity to save the game. This happened in 1.02 once, and just now, in 1.03.
Interesting
Posts: 120
Joined: Sun Apr 04, 2010 11:24 am

RE: Unhandled Exception on version 1.03

Post by Interesting »

Started a new game and tried to reproduce it.

Same thing. All I have to do is open the editor, zoom out, and then find one of those "white comets", then zoom in on them.

Here is the error I got just now:

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

************** Exception Text ************** System.OutOfMemoryException: Out of memory. &nbsp;&nbsp; at System.Drawing.Graphics.CheckErrorStatus(Int32 status) &nbsp;&nbsp; at System.Drawing.Graphics.DrawImage(Image image, Rectangle destRect, Single srcX, Single srcY, Single srcWidth, Single srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, DrawImageAbort callback, IntPtr callbackData) &nbsp;&nbsp; at System.Drawing.Graphics.DrawImage(Image image, Rectangle destRect, Single srcX, Single srcY, Single srcWidth, Single srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, DrawImageAbort callback) &nbsp;&nbsp; at System.Drawing.Graphics.DrawImage(Image image, Rectangle destRect, Single srcX, Single srcY, Single srcWidth, Single srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs) &nbsp;&nbsp; at DistantWorlds.Controls.MainView.YDL5rV8TUpmjcYhXlxHtLoYqn(Graphics , Int32 , Int32 , GalaxyLocation , Double ) &nbsp;&nbsp; at DistantWorlds.Controls.MainView.YpCsOIyQpkL5w12HUM61pWGvY0(Int32 , Int32 , Int32 , Int32 , Double , Graphics , Int32 ) &nbsp;&nbsp; at DistantWorlds.Controls.MainView.OnPaint(PaintEventArgs e) &nbsp;&nbsp; at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs) &nbsp;&nbsp; at System.Windows.Forms.Control.WmPaint(Message& m) &nbsp;&nbsp; at System.Windows.Forms.Control.WndProc(Message& m) &nbsp;&nbsp; at System.Windows.Forms.ScrollableControl.WndProc(Message& m) &nbsp;&nbsp; at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) &nbsp;&nbsp; at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) &nbsp;&nbsp; at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies ************** mscorlib &nbsp;&nbsp;&nbsp; Assembly Version: 2.0.0.0 &nbsp;&nbsp;&nbsp; Win32 Version: 2.0.50727.3082 (QFE.050727-3000) &nbsp;&nbsp;&nbsp; CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- DistantWorlds &nbsp;&nbsp;&nbsp; Assembly Version: 1.0.3.0 &nbsp;&nbsp;&nbsp; Win32 Version: 1.0.3.0 &nbsp;&nbsp;&nbsp; CodeBase: file:///C:/Jogos/Distant%20Worlds/DistantWorlds.exe ---------------------------------------- System.Drawing &nbsp;&nbsp;&nbsp; Assembly Version: 2.0.0.0 &nbsp;&nbsp;&nbsp; Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) &nbsp;&nbsp;&nbsp; CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System &nbsp;&nbsp;&nbsp; Assembly Version: 2.0.0.0 &nbsp;&nbsp;&nbsp; Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) &nbsp;&nbsp;&nbsp; CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Windows.Forms &nbsp;&nbsp;&nbsp; Assembly Version: 2.0.0.0 &nbsp;&nbsp;&nbsp; Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) &nbsp;&nbsp;&nbsp; CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- DistantWorlds.Controls &nbsp;&nbsp;&nbsp; Assembly Version: 1.0.0.42381 &nbsp;&nbsp;&nbsp; Win32 Version: 1.0.0.0 &nbsp;&nbsp;&nbsp; CodeBase: file:///C:/Jogos/Distant%20Worlds/DistantWorlds.Controls.DLL ---------------------------------------- AxInterop.WMPLib &nbsp;&nbsp;&nbsp; Assembly Version: 1.0.0.0 &nbsp;&nbsp;&nbsp; Win32 Version: 1.0.0.0 &nbsp;&nbsp;&nbsp; CodeBase: file:///C:/Jogos/Distant%20Worlds/AxInterop.WMPLib.DLL ---------------------------------------- DistantWorlds.Types &nbsp;&nbsp;&nbsp; Assembly Version: 1.0.0.42379 &nbsp;&nbsp;&nbsp; Win32 Version: 1.0.0.0 &nbsp;&nbsp;&nbsp; CodeBase: file:///C:/Jogos/Distant%20Worlds/DistantWorlds.Types.DLL ---------------------------------------- Interop.WMPLib &nbsp;&nbsp;&nbsp; Assembly Version: 1.0.0.0 &nbsp;&nbsp;&nbsp; Win32 Version: 1.0.0.0 &nbsp;&nbsp;&nbsp; CodeBase: file:///C:/Jogos/Distant%20Worlds/Interop.WMPLib.DLL ---------------------------------------- Microsoft.DirectX.DirectSound &nbsp;&nbsp;&nbsp; Assembly Version: 1.0.2902.0 &nbsp;&nbsp;&nbsp; Win32 Version: 5.04.00.2904 &nbsp;&nbsp;&nbsp; CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX.DirectSound/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.DirectSound.dll ---------------------------------------- System.Deployment &nbsp;&nbsp;&nbsp; Assembly Version: 2.0.0.0 &nbsp;&nbsp;&nbsp; Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) &nbsp;&nbsp;&nbsp; CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll ---------------------------------------- Microsoft.VisualBasic &nbsp;&nbsp;&nbsp; Assembly Version: 8.0.0.0 &nbsp;&nbsp;&nbsp; Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000) &nbsp;&nbsp;&nbsp; CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- PresentationCore &nbsp;&nbsp;&nbsp; Assembly Version: 3.0.0.0 &nbsp;&nbsp;&nbsp; Win32 Version: 3.0.6920.1427 built by: SP &nbsp;&nbsp;&nbsp; CodeBase: file:///C:/WINDOWS/assembly/GAC_32/PresentationCore/3.0.0.0__31bf3856ad364e35/PresentationCore.dll ---------------------------------------- WindowsBase &nbsp;&nbsp;&nbsp; Assembly Version: 3.0.0.0 &nbsp;&nbsp;&nbsp; Win32 Version: 3.0.6920.1427 built by: SP &nbsp;&nbsp;&nbsp; CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll ---------------------------------------- Microsoft.DirectX &nbsp;&nbsp;&nbsp; Assembly Version: 1.0.2902.0 &nbsp;&nbsp;&nbsp; Win32 Version: 5.04.00.2904 &nbsp;&nbsp;&nbsp; CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.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> &nbsp;&nbsp;&nbsp; <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.



Post Reply

Return to “Tech Support”