1.03 beta 7: Crash on viewing Unified minor in Overview

Moderator: Vic

Post Reply
User avatar
jimwinsor
Posts: 1077
Joined: Mon Nov 21, 2005 6:53 pm
Contact:

1.03 beta 7: Crash on viewing Unified minor in Overview

Post by jimwinsor »

This happened when I successfully played a Unification on a minor, then attempted to view the minor in the Overview section:



Image
Attachments
Capture.jpg
Capture.jpg (184.39 KiB) Viewed 330 times
Streaming as "Grognerd" at https://www.twitch.tv/grognerd
User avatar
jimwinsor
Posts: 1077
Joined: Mon Nov 21, 2005 6:53 pm
Contact:

RE: 1.03 beta 7: Crash on viewing Unified minor in Overview

Post by jimwinsor »

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.EventRelatedClass.ExecHardcodedStory_Secretary_OtherRegimeOverview(Int32 storyId, Int32 instance1id, Int32 instance2id) in G:\VR\VRDevelopment\WindowsApplication1\Game\Calculations\SE1_specific\EventRelatedClass_SE1_StoryScripts.vb:line 28765
at WindowsApplication1.EventRelatedClass.ExecHardcodedStory(Int32 hardcodedFunctionNr, Int32 storyId, Int32 instance1id, Int32 instance2id, String datastring) in G:\VR\VRDevelopment\WindowsApplication1\Game\Calculations\SE1_specific\EventRelatedClass_SE1_StoryScripts.vb:line 64
at WindowsApplication1.EventRelatedClass.DoExec(Int32 enr, Int32 t1, String val1, String val2, String val3, String val4, String datastring) in G:\VR\VRDevelopment\WindowsApplication1\Game\Calculations\EventRelatedClass.vb:line 2780
at WindowsApplication1.EventRelatedClass.ExecuteExec(Int32 enr, Int32 linenr) in G:\VR\VRDevelopment\WindowsApplication1\Game\Calculations\EventRelatedClass.vb:line 2387
at WindowsApplication1.EventRelatedClass.DoCheckSpecificEvent(Int32 enr, Int32 tv0, Int32 tv1, Int32 tv2, Int32 tv3, Int32 tv9, Int32 tv7, Int32 tv8, Int32 tv10, Boolean skipSettingTempVars) in G:\VR\VRDevelopment\WindowsApplication1\Game\Calculations\EventRelatedClass.vb:line 526
at WindowsApplication1.TabManagementWindowClass2.dostuff(Boolean dontDrawPage) in G:\VR\VRDevelopment\WindowsApplication1\GUI\Windows\NewWindows\Tabs\TabManagementWindow2.vb:line 386
at WindowsApplication1.TabManagementWindowClass2.HandleMouseClick(Int32 x, Int32 y, Int32 b) in G:\VR\VRDevelopment\WindowsApplication1\GUI\Windows\NewWindows\Tabs\TabManagementWindow2.vb:line 589
at WindowsApplication1.PlayScreenClass2.HandleMouseClick(Int32 x, Int32 y, Int32 b) in G:\VR\VRDevelopment\WindowsApplication1\GUI\Screens\NewScreens\PlayScreenClass2.vb:line 422
at WindowsApplication1.Form1.Form1_Mousedown(Object sender, MouseEventArgs e) in G:\VR\VRDevelopment\WindowsApplication1\Form1.vb:line 1402
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 67
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.4180.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
WindowsApplication1
Assembly Version: 1.0.7475.30017
Win32 Version: 1.0.7475.30017
CodeBase: file:///C:/Matrix%20Games/Shadow%20Empire/ShadowEmpire.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.8.4084.0 built by: NET48REL1
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.4084.0 built by: NET48REL1
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.4180.0 built by: NET48REL1LAST_B
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.4084.0 built by: NET48REL1
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.4084.0 built by: NET48REL1
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.4084.0 built by: NET48REL1
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.4084.0 built by: NET48REL1
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.4084.0 built by: NET48REL1
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
----------------------------------------
ICSharpCode.SharpZipLib
Assembly Version: 0.84.0.0
Win32 Version: 0.84.0.0
CodeBase: file:///C:/Matrix%20Games/Shadow%20Empire/ICSharpCode.SharpZipLib.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.


Streaming as "Grognerd" at https://www.twitch.tv/grognerd
User avatar
Frostwave
Posts: 109
Joined: Mon Mar 25, 2013 1:00 pm
Location: Canada

RE: 1.03 beta 7: Crash on viewing Unified minor in Overview

Post by Frostwave »

I would load a copy of the autosave file before this event and save it under a different name, I'm sure Vic would like to have a look at it.
"I hope so for your sake, Commander.
The Emperor is not as forgiving as I am."
User avatar
jimwinsor
Posts: 1077
Joined: Mon Nov 21, 2005 6:53 pm
Contact:

RE: 1.03 beta 7: Crash on viewing Unified minor in Overview

Post by jimwinsor »

ORIGINAL: Frostwave

I would load a copy of the autosave file before this event and save it under a different name, I'm sure Vic would like to have a look at it.

Right here: https://we.tl/t-e3VoGTGJwq
Streaming as "Grognerd" at https://www.twitch.tv/grognerd
zgrssd
Posts: 5101
Joined: Tue Jun 09, 2020 1:02 pm

RE: 1.03 beta 7: Crash on viewing Unified minor in Overview

Post by zgrssd »

Just to be sure I got his right:
You killed a minor via Unificaiton.
Removed him from hte game with a Diplomatc Stratagem.
And then you tried to view him? The Thing that you had just deleted?
User avatar
jimwinsor
Posts: 1077
Joined: Mon Nov 21, 2005 6:53 pm
Contact:

RE: 1.03 beta 7: Crash on viewing Unified minor in Overview

Post by jimwinsor »

Yes, on the same turn.
Streaming as "Grognerd" at https://www.twitch.tv/grognerd
User avatar
Vic
Posts: 9673
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: 1.03 beta 7: Crash on viewing Unified minor in Overview

Post by Vic »

Easy to avoid that bug :) But sloppy on dev part. Will prevent this from happening in next Open Beta.

Thanks for reporting.

best wishes,
Vic
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
zgrssd
Posts: 5101
Joined: Tue Jun 09, 2020 1:02 pm

RE: 1.03 beta 7: Crash on viewing Unified minor in Overview

Post by zgrssd »

ORIGINAL: Vic

Easy to avoid that bug :) But sloppy on dev part. Will prevent this from happening in next Open Beta.

Thanks for reporting.

best wishes,
Vic
"There are 2 hard problems in programming: Naming things, cache invalidations and off-by-one errors."
Post Reply

Return to “Tech Support”