Page 1 of 1

[v1.25i] Unhandled Exception -> Air recon over lava ocean

Posted: Wed Mar 13, 2024 12:49 am
by mroyer
Ran a recon mission into the lava ocean hoping to get a bit of recon on Arbijon, and got this exception.
Untitled.jpg
Untitled.jpg (452.39 KiB) Viewed 487 times

Re: [v1.25i] Unhandled Exception -> Air recon over lava ocean

Posted: Wed Mar 13, 2024 3:24 am
by Elver
I'm currently getting the same issue with air recon over normal oceans.

Save available.

Code: Select all

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.CustomCombatCalls.PreCombatCall(CombatClass& cc, GameClass game) in G:\VR\VRDevelopment\WindowsApplication1\Game\Calculations\CombatProcess_SE1.vb:line 573
   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 798
   at WindowsApplication1.MapWindowClass2.handleTimer() in G:\VR\VRDevelopment\WindowsApplication1\GUI\Windows\Se1_Windows\Se1_MapWindowClass2.vb:line 185
   at WindowsApplication1.PlayScreenClass2.HandleTimer() in G:\VR\VRDevelopment\WindowsApplication1\GUI\Screens\NewScreens\PlayScreenClass2.vb:line 896
   at WindowsApplication1.Form1.Timer1_Tick(Object sender, EventArgs e) in G:\VR\VRDevelopment\WindowsApplication1\Form1.vb:line 2590
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.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.8.9181.0 built by: NET481REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
WindowsApplication1
    Assembly Version: 1.0.8833.24231
    Win32 Version: 1.0.8833.24231
    CodeBase: file:///C:/Shadow%20Empire/ShadowEmpire.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 14.8.9032.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.9220.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.9220.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.9032.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.9032.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.9032.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.9214.0 built by: NET481REL1LAST_B
    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:/Shadow%20Empire/irrKlang.NET4.DLL
----------------------------------------
SharpDX.Mathematics
    Assembly Version: 4.2.0.0
    Win32 Version: 4.2.0
    CodeBase: file:///C:/Shadow%20Empire/SharpDX.Mathematics.DLL
----------------------------------------
ICSharpCode.SharpZipLib
    Assembly Version: 0.84.0.0
    Win32 Version: 0.84.0.0
    CodeBase: file:///C:/Shadow%20Empire/ICSharpCode.SharpZipLib.DLL
----------------------------------------
SharpDX.Direct2D1
    Assembly Version: 4.2.0.0
    Win32 Version: 4.2.0
    CodeBase: file:///C:/Shadow%20Empire/SharpDX.Direct2D1.DLL
----------------------------------------
SharpDX
    Assembly Version: 4.2.0.0
    Win32 Version: 4.2.0
    CodeBase: file:///C:/Shadow%20Empire/SharpDX.DLL
----------------------------------------
SharpDX.DXGI
    Assembly Version: 4.2.0.0
    Win32 Version: 4.2.0
    CodeBase: file:///C:/Shadow%20Empire/SharpDX.DXGI.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: [v1.25i] Unhandled Exception -> Air recon over lava ocean

Posted: Mon Mar 18, 2024 11:04 am
by Vic
I think I need a savefile with instructions to reproduce this. Please send to vic@vrdesigns.net

best wishes and thx!
vic

Re: [v1.25i] Unhandled Exception -> Air recon over lava ocean

Posted: Mon Mar 18, 2024 10:14 pm
by mroyer
Save file sent. Just run a recon mission as shown in the above image and it should throw an exception. I just tried it to make sure.

-Mark R.

Re: [v1.25i] Unhandled Exception -> Air recon over lava ocean

Posted: Tue Mar 19, 2024 3:44 pm
by Vic
Should be fixed upcoming open beta! Thx for save