Crash at mouse click

Post bug reports and ask for game support here.

Moderator: Vic

Post Reply
User avatar
Sator
Posts: 69
Joined: Wed Aug 08, 2012 2:43 pm
Location: Italy

Crash at mouse click

Post by Sator »

Sometimes the game crashes when I click the mouse to open or close a pop-up window.
In this case I did click on "press any key" box and the game freezed (I had to close it using ctrl-alt-del). Then I managed to capture the screen and to copy the windows advice.
I hope this can help. Here's what was written in windows' box (infotunately it is partly in italian):

Testo dell'eccezione **************
System.NullReferenceException: Riferimento a un oggetto non impostato su un'istanza di oggetto.
in WindowsApplication1.HandyFunctionsclass.CurrentAttackStackAir()
in WindowsApplication1.OrderWindowClass2.dostuff2(Graphics g)
in WindowsApplication1.OrderWindowClass2.dostuff()
in WindowsApplication1.OrderWindowClass2.DoRefresh()
in WindowsApplication1.ScreenClass.FlagAll()
in WindowsApplication1.Form1.Form1_Mousedown(Object sender, MouseEventArgs e)
in System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
in System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
in System.Windows.Forms.Control.WndProc(Message& m)
in System.Windows.Forms.ScrollableControl.WndProc(Message& m)
in System.Windows.Forms.ContainerControl.WndProc(Message& m)
in System.Windows.Forms.Form.WndProc(Message& m)
in WindowsApplication1.ImmoveableForm.WndProc(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Assembly caricati **************
mscorlib
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
Base di codice: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
WindowsApplication1
Versione assembly: 1.0.4600.32592
Versione Win32: 1.0.4600.32592
Base di codice: file:///C:/Matrix%20Games/Decisive%20Campaigns%20Case%20Blue/CaseBlue.exe
----------------------------------------
System.Windows.Forms
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.5460 (Win7SP1GDR.050727-5400)
Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.5462 (Win7SP1GDR.050727-5400)
Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
Versione assembly: 8.0.0.0
Versione Win32: 8.0.50727.5420 (Win7SP1.050727-5400)
Base di codice: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
irrKlang.NET
Versione assembly: 1.3.0.0
Versione Win32: 1, 1, 0, 0
Base di codice: file:///C:/Matrix%20Games/Decisive%20Campaigns%20Case%20Blue/irrKlang.NET.DLL
----------------------------------------
ICSharpCode.SharpZipLib
Versione assembly: 0.84.0.0
Versione Win32: 0.84.0.0
Base di codice: file:///C:/Matrix%20Games/Decisive%20Campaigns%20Case%20Blue/ICSharpCode.SharpZipLib.DLL
----------------------------------------
mscorlib.resources
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
Base di codice: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System.Windows.Forms.resources
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Debug JIT **************
Per attivare il debug JIT, è necessario impostare il valore
jitDebugging nella sezione system.windows.forms del file di configurazione
dell'applicazione o del computer (machine.config).
L'applicazione inoltre deve essere compilata con il debug
attivato.

Ad esempio:

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

Quando il debug JIT è attivato, tutte le eccezioni non gestite
vengono inviate al debugger JIT registrato nel computer,
anziché essere gestite da questa finestra di dialogo.




Image
Attachments
Crash.jpg
Crash.jpg (1.51 MiB) Viewed 262 times
Per aspera ad astra.
User avatar
Sator
Posts: 69
Joined: Wed Aug 08, 2012 2:43 pm
Location: Italy

RE: Crash at mouse click

Post by Sator »

NOTE:
In this case I used a very non standard sequence of actions:

1) I selected an enemy unit.
2) I pushed the air attack button.
3) I selected and then deselected some air units.
4) I did not exit the air attack screen and selected some of my ground units.
5) I did not exit the air attack screen and I activated the CARDs menu.
6) I choosed and activated the card.
7) I selected the hex where to deploy the reinforcement unit.
8) I tryed to close the Henrici's window.

I hope this can help.
Per aspera ad astra.
User avatar
Vic
Posts: 9931
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Crash at mouse click

Post by Vic »

Caught the bug. Will be fixed for v1.03!

Thanks a lot for taking the time to report and describe this with detail.

The workaround in the meantime is to not play a regime card while in the middle of issueing an order.

Kind regards,
Vic
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
User avatar
Toby42
Posts: 1630
Joined: Sat Aug 09, 2003 11:34 pm
Location: Central Florida

RE: Crash at mouse click

Post by Toby42 »

Vic, isn't it great to be back [:)]
Tony
User avatar
Sator
Posts: 69
Joined: Wed Aug 08, 2012 2:43 pm
Location: Italy

RE: Crash at mouse click

Post by Sator »

ORIGINAL: Vic

The workaround in the meantime is to not play a regime card while in the middle of issueing an order.

Correct. But in the chaos of the battlefield everything can happen.

Thank you for your support, Vic!
Per aspera ad astra.
Post Reply

Return to “Tech Support”