Construction Yard Error (Full Version)

All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Tech Support



Message


Marcuso -> Construction Yard Error (3/26/2010 4:32:07 AM)

When I click on "Construction Yards" in my Ships and Bases screen, it throws an error about the object type needing to be a double. This happens as soon as I select "Construction Yards" from the dropdown box. I can click on continue after the error appears, but when I click on different construction yards they do not become highlighted. The issue disappears when I select something else from the dropdown box.

Screenshot attached.

Full text of details in error message:

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

************** Exception Text ************** System.ArgumentException: Object must be of type Double.

at System.Double.CompareTo(Object value)

at System.Collections.Comparer.Compare(Object a, Object b)

at System.Windows.Forms.DataGridViewRowCollection.RowComparer.CompareObjects(Object value1, Object value2, Int32 rowIndex1, Int32 rowIndex2)

at System.Windows.Forms.DataGridViewRowCollection.RowArrayList.Pivot(Int32 left, Int32 center, Int32 right)

at System.Windows.Forms.DataGridViewRowCollection.RowArrayList.CustomQuickSort(Int32 left, Int32 right)

at System.Windows.Forms.DataGridViewRowCollection.RowArrayList.CustomSort(RowComparer rowComparer)

at System.Windows.Forms.DataGridViewRowCollection.Sort(IComparer customComparer, Boolean ascending)

at System.Windows.Forms.DataGridView.SortInternal(IComparer comparer, DataGridViewColumn dataGridViewColumn, ListSortDirection direction)

at System.Windows.Forms.DataGridView.Sort(DataGridViewColumn dataGridViewColumn, ListSortDirection direction)

at DistantWorlds.Controls.ListViewBase.RememberSorting()

at DistantWorlds.Controls.BuiltObjectListView.BindDataGeneric(StellarObjectList stellarObjects)

at DistantWorlds.Main.GfrjSmQXtDpfV87pPaDJhORuWU1fcxUSDfofX(Object , EventArgs )

at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)

at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)

at System.Windows.Forms.ComboBox.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: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- MC

Assembly Version: 3.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll ---------------------------------------- System.Windows.Forms

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- ‰‹›—’”‹‰›š‰š•›†

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll ---------------------------------------- License

Assembly Version: 1.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll ---------------------------------------- DistantWorlds

Assembly Version: 1.0.1.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll ---------------------------------------- DistantWorlds.Controls

Assembly Version: 1.0.0.1920

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll ---------------------------------------- AxInterop.WMPLib

Assembly Version: 1.0.0.0

Win32 Version: 1.0.0.0

CodeBase: file:///E:/Matrix%20Games/Distant%20Worlds/AxInterop.WMPLib.DLL ---------------------------------------- DistantWorlds.Types

Assembly Version: 1.0.0.1919

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll ---------------------------------------- Interop.WMPLib

Assembly Version: 1.0.0.0

Win32 Version: 1.0.0.0

CodeBase: file:///E:/Matrix%20Games/Distant%20Worlds/Interop.WMPLib.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 ---------------------------------------- System.Deployment

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll ---------------------------------------- Microsoft.VisualBasic

Assembly Version: 8.0.0.0

Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- PresentationCore

Assembly Version: 3.0.0.0

Win32 Version: 3.0.6920.4902 built by: NetFXw7

CodeBase: file:///C:/Windows/assembly/GAC_32/PresentationCore/3.0.0.0__31bf3856ad364e35/PresentationCore.dll ---------------------------------------- WindowsBase

Assembly Version: 3.0.0.0

Win32 Version: 3.0.6920.4902 built by: NetFXw7

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/WindowsBase/3.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: 3.0.0.0

Win32 Version: 3.0.4506.4926 (NetFXw7.030729-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Serialization/3.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll ---------------------------------------- System.Xml

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- SMDiagnostics

Assembly Version: 3.0.0.0

Win32 Version: 3.0.4506.4926 (NetFXw7.030729-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/SMDiagnostics/3.0.0.0__b77a5c561934e089/SMDiagnostics.dll ---------------------------------------- System.Configuration

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- Accessibility

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.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.

[image]local://upfiles/33353/A49C700D3CAF4FEDAFB1E8410917AABC.jpg[/image]




Erik Rutins -> RE: Construction Yard Error (3/26/2010 3:07:28 PM)

Thanks, I'm unable to duplicate this at all here using your steps. I open the Ships and Bases screen, select Construction Yards and all works well. Tried a few other methods to get to the same place without a problem.

We may need a save to duplicate this one - if you start a new game and do this, does it behave the same way for you or is this only if you load a particular save?




Marcuso -> RE: Construction Yard Error (3/26/2010 9:11:08 PM)

Okay, I know how to reproduce it (after nearly an hour of testing ;-P )

I think I accidentally did the following:

Opened ship menu in a current game. Press esc and loaded a different game, WITH the menu still open. New game loads with old game's ship menu still up. New game's ship menu is corrupt.

Maybe all menus should be closed when escape is pressed to prevent data from being "stuck" when a new game is loaded.

Hope it helps.

EDIT: I tried again and when I closed the old game's ship menu, I didn't crash with the new game's ship menu. It's kind of random. Sorry, I wish I could help more. I'd be happy to send the savegame in if you need me to.




Erik Rutins -> RE: Construction Yard Error (3/26/2010 9:16:50 PM)

Hm, that didn't do it for me either. What operating system are you running on, could post a DxDiag please? Maybe those are the right steps, but only on a particular OS.




KW -> RE: Construction Yard Error (3/26/2010 9:56:59 PM)

I get the same error message as Marcuso.

It happens for me in either of the following ways: 1) I click the "Open Construction Yard screen" button at the bottom of the main screen. 2) I go into the "Open Ships and Bases screen", and then select "Construction Yards" from the drop down menu at the top of that window.

I'm not sure what triggers the error message first appearing - in one game it appeared almost immediately after I started the game. In another, I played for about 2 hours before it started appearing.

Once it starts appearing in a game, it happens every single time I do either #1 or #2. I have a save game I can send where it does this for me every time.

I'm running Windows 7, 64-bit if that matters. And I have the 1.01 update.




Erik Rutins -> RE: Construction Yard Error (3/26/2010 10:01:59 PM)

Please do upload the save for us.




KW -> RE: Construction Yard Error (3/26/2010 10:40:47 PM)

The save game looks to be about 25MB which seems too big to upload through the forum. How should I get it to you?




Erik Rutins -> RE: Construction Yard Error (3/26/2010 10:43:47 PM)

Please see the Save Game Upload instructions at the top of this forum.




KW -> RE: Construction Yard Error (3/26/2010 10:50:38 PM)

Oops. That was too obvious for me.

Uploaded as "KW March 26 Construction Yard Crash.dwg".




elliotg -> RE: Construction Yard Error (3/27/2010 1:00:30 AM)

Just a note to all: I've been able to reproduce this bug and have fixed it in the next patch. No need for any further savegames on this issue.

Thanks for finding this! Elliot




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
3.640625