Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Unhandled exception error

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Tech Support >> Unhandled exception error Page: [1]
Login
Message << Older Topic   Newer Topic >>
Unhandled exception error - 10/9/2013 6:54:58 PM   
kmunoz

 

Posts: 19
Joined: 11/9/2012
Status: offline
I'm running Shadows, the current version, and occasionally (after maybe an hour of play) I get an Unhandled Exception error when trying to open the Ships and Bases screen. Once it happens, I can't get back into that screen (error keeps returning), but the rest of the game seems to be ok. The problem persists across saves: if I save the game after getting the error, then quit and reload the game, the error is still there. But if I open a saved game from before the error, it's fine.

Edit: Just now loaded a good saved game, played for 5 minutes, then got the error. So it's not dependent on how long the game's been running.

< Message edited by kmunoz -- 10/9/2013 7:27:54 PM >
Post #: 1
RE: Unhandled exception error - 10/9/2013 7:26:30 PM   
kmunoz

 

Posts: 19
Joined: 11/9/2012
Status: offline
Here is the error cabbage:

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 DistantWorlds.Controls.DockingBayListView.BindData(DockingBayList dockingBays, Bitmap[] componentImages, Bitmap[] builtObjectImages)
at DistantWorlds.Main.RpWCjsjK5Q1e2NUmQWb(Object , Object , Object , Object )
at DistantWorlds.Main.gBDQ0dQrVQ(Object )
at DistantWorlds.Main.GTDQKZI6TM(Object , EventArgs )
at DistantWorlds.Main.HG0Qyuh6ES(BuiltObject , Int32 )
at DistantWorlds.Main.l4sQ9lCnVd(BuiltObject )
at DistantWorlds.Main.h0p4Ek3JC2(Object , EventArgs )
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at DistantWorlds.Controls.GlassButton.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at DistantWorlds.Controls.GlassButton.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
_
Assembly Version: 0.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
DistantWorlds
Assembly Version: 1.9.0.11
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
DistantWorlds.Controls
Assembly Version: 1.9.0.11
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
DistantWorlds.Types
Assembly Version: 1.9.0.11
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
Microsoft.Xna.Framework
Assembly Version: 4.0.0.0
Win32 Version: 4.0.20823.0 built by: xnabldr
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/Microsoft.Xna.Framework/v4.0_4.0.0.0__842cf8be1de50553/Microsoft.Xna.Framework.dll
----------------------------------------
Microsoft.Xna.Framework.Graphics
Assembly Version: 4.0.0.0
Win32 Version: 4.0.20823.0 built by: xnabldr
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/Microsoft.Xna.Framework.Graphics/v4.0_4.0.0.0__842cf8be1de50553/Microsoft.Xna.Framework.Graphics.dll
----------------------------------------
Microsoft.DirectX.DirectSound
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.DirectSound/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.DirectSound.dll
----------------------------------------
AxInterop.WMPLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Matrix%20Games/Distant%20Worlds/AxInterop.WMPLib.DLL
----------------------------------------
Interop.WMPLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Matrix%20Games/Distant%20Worlds/Interop.WMPLib.DLL
----------------------------------------
System.Deployment
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 11.0.50709.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Management
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
PresentationCore
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
WindowsBase
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
Microsoft.DirectX
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll
----------------------------------------
System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
Ionic.Zip
Assembly Version: 1.9.1.5
Win32 Version: 1.9.1.5
CodeBase: file:///C:/Matrix%20Games/Distant%20Worlds/Ionic.Zip.DLL
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
SMDiagnostics
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll
----------------------------------------
System.ServiceModel.Internals
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.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.

(in reply to kmunoz)
Post #: 2
RE: Unhandled exception error - 10/10/2013 6:06:41 AM   
Darkspire


Posts: 1986
Joined: 6/12/2003
From: My Own Private Hell
Status: offline
What size map and how many stars? As your on XP (as I am) I would suggest a 10x10 map with 700 stars to avoid this issue, if your already playing on this size or smaller then ignore my innate ramblings.

Darkspire

_____________________________


(in reply to kmunoz)
Post #: 3
RE: Unhandled exception error - 10/10/2013 7:55:25 AM   
sbach2o

 

Posts: 378
Joined: 3/26/2010
Status: offline
quote:

Just now loaded a good saved game, played for 5 minutes, then got the error. So it's not dependent on how long the game's been running.


If the problem reoccurs reliably shortly after you load said save, you should upload that to Matrix' ftp server for further inspection, see: Where to upload save files. According to the stack trace, an OS- or system-dependent issue seems unlikely.

An interesting question would be whether you use any mods? Also: what is at the top of or visible in your ships and bases list when you open it before the crash?

You could, after the crash happened, try to scroll through your Spaceports, Constructor ships and planets to see whether you can find the specific culprit. Use the buttons besides the bottom left info pane of the game screen. This information would be valuable, so whoever is analyzing DW save games doesn't need to find that needle in the haystack. My reasoning for looking through Spaceports, Constructors and planets is the top line in the stack trace you posted. This looks like something with docking bays is causing the error.


< Message edited by sbach2o -- 10/10/2013 7:58:16 AM >

(in reply to Darkspire)
Post #: 4
RE: Unhandled exception error - 10/10/2013 4:07:00 PM   
kmunoz

 

Posts: 19
Joined: 11/9/2012
Status: offline
Darkspire - I'm running Win 7 and the game is a 10x10 700 star setup.

sbach2o - I wasn't aware I could upload saved files for inspection, thanks for the suggestion. As for the rest, I'll see what I can find. You may be right that it's a construction/bay issue: the last time it happened I had just started building new units based on an advisor suggestion. The only mods I'm using are graphical mods (bits of GEM, like the cursors and landscapes and ruins).

(in reply to sbach2o)
Post #: 5
RE: Unhandled exception error - 11/28/2013 12:00:42 AM   
elliotg


Posts: 3597
Joined: 9/10/2007
Status: offline
Hi kmunoz

From your savegame it looks like you are running some kind of mod - maybe your base game installation was modified? Looks like there are extra races and ship images in the game.

Of course this will cause crashes if these other images are not present in the installation. I think this is what you are seeing with this error.

So be sure to have the same installed environment when loading a savegame as when you started the game. Changing the default installation is not recommended because these errors can occur when you reinstall, etc. You should instead put any modifications in a proper theme.

Thanks
Elliot

(in reply to kmunoz)
Post #: 6
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Tech Support >> Unhandled exception error Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.000