Page 1 of 1

Unhandled Exception Error in Operation Sealion

Posted: Fri Jan 14, 2011 4:39 pm
by RocketMan
I got an Unhandled Exception Error in Operation Sealion: Object reference not set to an instance of an object. The text of the error is shown below.

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

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at WindowsApplication1.WindowClass.NewBackGroundAndClearAll(Int32 w, Int32 h, Int32 backsprite)
at WindowsApplication1.CombatResultWindowClass2.dostuff()
at WindowsApplication1.CombatResultWindowClass2.PopUpRefresh()
at WindowsApplication1.Form1.Form1_Mousedown(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at WindowsApplication1.ImmoveableForm.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.4952 (win7RTMGDR.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
WindowsApplication1
Assembly Version: 1.0.3981.25945
Win32 Version: 1.0.3981.25945
CodeBase: file:///C:/Games/Decisive%20Campaigns%20The%20Blitzkrieg%20from%20Warsaw%20to%20Paris/WarsawToParis.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
ICSharpCode.SharpZipLib
Assembly Version: 0.84.0.0
Win32 Version: 0.84.0.0
CodeBase: file:///C:/Games/Decisive%20Campaigns%20The%20Blitzkrieg%20from%20Warsaw%20to%20Paris/ICSharpCode.SharpZipLib.DLL
----------------------------------------
irrKlang.NET
Assembly Version: 1.3.0.0
Win32 Version: 1, 1, 0, 0
CodeBase: file:///C:/Games/Decisive%20Campaigns%20The%20Blitzkrieg%20from%20Warsaw%20to%20Paris/irrKlang.NET.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.

RE: Unhandled Exception Error in Operation Sealion

Posted: Fri Jan 14, 2011 4:42 pm
by Vic
Hi,

thanks for reporting!

It seems like the bug was caused by watching a combat resolve.

Do you have an autosave or anything to reproduce it from? if so send it to vic@xs4all.nl asap.

best,
Vic

RE: Unhandled Exception Error in Operation Sealion

Posted: Fri Jan 14, 2011 5:51 pm
by RocketMan
I got the error during a combat resolution during my turn. Unfortunately I don't have a save that recreates the error. If I can get a repeatable save I will definitely send it to you.&nbsp;

RE: Unhandled Exception Error in Operation Sealion

Posted: Fri Jan 14, 2011 6:12 pm
by patchogue
I had some problems with artillery units - if I used them the turn they landed...but didn't save the offending event - sorry. This was as part of the campaign. (OT: the Home Guard are remarkable determined! Well Mainwaring and the rest of the chaps at Walmington-on-Sea!)

RE: Unhandled Exception Error in Operation Sealion

Posted: Mon Jan 24, 2011 6:11 pm
by Vic
this bug has been caught and will be adressed in a hotfix asap.