[1.21q2] Unhandled exception error

Moderator: Vic

Post Reply
bavarian kid
Posts: 43
Joined: Wed Apr 08, 2015 7:40 pm

[1.21q2] Unhandled exception error

Post by bavarian kid »

Navigating scout plane on sea tile caused crash.

Image

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

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at WindowsApplication1.CombatClass.Init(Coordinate Target, Int32 Type, UnitList Units, Int32 attacktype, Boolean tDontUseSfx, Boolean tallowHistoryOwnRegime, Boolean se1favourSeaAttackType) in G:\VR\VRDevelopment\WindowsApplication1\Game\Calculations\CombatProcessClasses.vb:line 276
at WindowsApplication1.HandyFunctionsclass.CombatPreviewStats(Int32 targetX, Int32 targetY) in G:\VR\VRDevelopment\WindowsApplication1\Game\Calculations\HandyFunctionsClass.vb:line 29322
at WindowsApplication1.CombatSelectWindowClass.View() in G:\VR\VRDevelopment\WindowsApplication1\GUI\Windows\Se1_Windows\Se1_CombatSelectWindowClass.vb:line 262
at WindowsApplication1.MessagePopUpScreenClass2..ctor(GameClass& tGame, Form1 tformref) in G:\VR\VRDevelopment\WindowsApplication1\GUI\Screens\NewScreens\MessagePopUpScreenClass2.vb:line 108
at WindowsApplication1.Form1.Form1_Mousedown(Object sender, MouseEventArgs e) in G:\VR\VRDevelopment\WindowsApplication1\Form1.vb:line 1790
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.Form.WndProc(Message& m)
at WindowsApplication1.ImmoveableForm.WndProc(Message& m) in G:\VR\VRDevelopment\WindowsApplication1\ImmoveableForm.vb:line 68
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.8.9181.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
WindowsApplication1
Assembly Version: 1.0.8668.27495
Win32 Version: 1.0.8668.27495
CodeBase: file:///C:/Matrix%20Games/Shadow%20Empire/ShadowEmpire.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9172.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C
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.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
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.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
irrKlang.NET4
Assembly Version: 1.0.6617.18847
Win32 Version:
CodeBase: file:///C:/Matrix%20Games/Shadow%20Empire/irrKlang.NET4.DLL
----------------------------------------
SharpDX.Mathematics
Assembly Version: 4.2.0.0
Win32 Version: 4.2.0
CodeBase: file:///C:/Matrix%20Games/Shadow%20Empire/SharpDX.Mathematics.DLL
----------------------------------------
ICSharpCode.SharpZipLib
Assembly Version: 0.84.0.0
Win32 Version: 0.84.0.0
CodeBase: file:///C:/Matrix%20Games/Shadow%20Empire/ICSharpCode.SharpZipLib.DLL
----------------------------------------
SharpDX.Direct2D1
Assembly Version: 4.2.0.0
Win32 Version: 4.2.0
CodeBase: file:///C:/Matrix%20Games/Shadow%20Empire/SharpDX.Direct2D1.DLL
----------------------------------------
SharpDX
Assembly Version: 4.2.0.0
Win32 Version: 4.2.0
CodeBase: file:///C:/Matrix%20Games/Shadow%20Empire/SharpDX.DLL
----------------------------------------
SharpDX.DXGI
Assembly Version: 4.2.0.0
Win32 Version: 4.2.0
CodeBase: file:///C:/Matrix%20Games/Shadow%20Empire/SharpDX.DXGI.DLL
----------------------------------------
OptaneShellExt
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/WINDOWS/System32/DriverStore/FileRepository/iastorpinningcomponent.inf_amd64_357b728ba88fb99a/OptaneShellExt.dll
----------------------------------------
SharpShell
Assembly Version: 2.2.0.0
Win32 Version: 2.2.0.0
CodeBase: file:///C:/WINDOWS/System32/DriverStore/FileRepository/iastorpinningcomponent.inf_amd64_357b728ba88fb99a/SharpShell.DLL
----------------------------------------
PinningServiceApi
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/WINDOWS/System32/DriverStore/FileRepository/iastorpinningcomponent.inf_amd64_357b728ba88fb99a/PinningServiceApi.DLL
----------------------------------------
System.ComponentModel.Composition
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.Composition/v4.0_4.0.0.0__b77a5c561934e089/System.ComponentModel.Composition.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.
Last edited by bavarian kid on Mon Sep 25, 2023 6:04 pm, edited 1 time in total.
bavarian kid
Posts: 43
Joined: Wed Apr 08, 2015 7:40 pm

Re: [1.21q2] Unhandled exception error

Post by bavarian kid »

Issue can be reproduced e.g. send scout plane from airfield 97,27 to sea tile 99,23

Edit - attaching save does not work for some reason; save is mailed directly to Vic instead,
User avatar
Vic
Posts: 9677
Joined: Mon May 17, 2004 2:17 pm
Contact:

Re: [1.21q2] Unhandled exception error

Post by Vic »

Copy! My bad. Thanks for the quick report.
Will be fixed in upcoming subversion S. Hopefully later today
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
Don_Kiyote
Posts: 284
Joined: Tue Oct 26, 2021 1:37 am
Location: Trans-Cascadia

Re: [1.21q2] Unhandled exception error

Post by Don_Kiyote »

Same, flat crash with message, at the history->reports dialog, on latest q2.
I'm quite glad to see reports though,
Post Reply

Return to “Tech Support”