Repeatable error message on the Construction Screen

Post bug reports and ask for support here.

Moderators: Icemania, elliotg

Post Reply
User avatar
Tycow
Posts: 287
Joined: Fri Jul 02, 2004 10:17 pm

Repeatable error message on the Construction Screen

Post by Tycow »

Hiho chaps, whenever I press F6 to access the construction screen, I am presented with an

"Unhandled Exception Error: Object must be of type Double"

I can press continue to carry on playing, but it's quite annoying! :D

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.set_SelectedIndex(Int32 value)

at DistantWorlds.Main.GU9WMZeScS5BiTmjZT5J(Object , EventArgs )

at DistantWorlds.Main.5EZRFACINSTXXkqseSOU8KTp0IwTp(Object , KeyEventArgs )

at System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)

at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)

at System.Windows.Forms.Form.ProcessKeyPreview(Message& m)

at System.Windows.Forms.Control.ProcessKeyPreview(Message& m)

at System.Windows.Forms.Control.ProcessKeyPreview(Message& m)

at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)

at System.Windows.Forms.Control.WmKeyChar(Message& m)

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: 2.0.0.0

Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- MC

Assembly Version: 3.0.0.0

Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

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.3053 (netfxsp.050727-3000)

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.3053 (netfxsp.050727-3000)

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.3053 (netfxsp.050727-3000)

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.3053 (netfxsp.050727-3000)

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.3053 (netfxsp.050727-3000)

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.3053 (netfxsp.050727-3000)

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.3053 (netfxsp.050727-3000)

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:///C:/Matrix%20Games/Distant%20Worlds/AxInterop.WMPLib.DLL ---------------------------------------- DistantWorlds.Types

Assembly Version: 1.0.0.1919

Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

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:///C:/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.3053 (netfxsp.050727-3000)

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.3053 (netfxsp.050727-3000)

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.1427 built by: SP

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.1427 built by: SP

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.2152 (SP.030729-0100)

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.3053 (netfxsp.050727-3000)

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.2152 (SP.030729-0100)

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.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.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.
User avatar
Tycow
Posts: 287
Joined: Fri Jul 02, 2004 10:17 pm

RE: Repeatable error message on the Construction Screen

Post by Tycow »

Oh god, I've broke the forum! D:

EDIT: Ah, there we go, apparently it doesn't like the

Code: Select all

 command.
User avatar
Erik Rutins
Posts: 39783
Joined: Tue Mar 28, 2000 4:00 pm
Location: Vermont, USA
Contact:

RE: Repeatable error message on the Construction Screen

Post by Erik Rutins »

Thanks for the report. I've seen this reported by a couple of other customers, but I cannot get it to duplicate here (so far). If you have a game where this always happens, could you save it and upload the save file please (and let us know what it's called).
Erik Rutins
CEO, Matrix Games LLC


Image

For official support, please use our Help Desk: http://www.matrixgames.com/helpdesk/

Freedom is not Free.
User avatar
Webbco
Posts: 694
Joined: Sat Feb 06, 2010 10:15 am

RE: Repeatable error message on the Construction Screen

Post by Webbco »

Oh dear.
User avatar
Tycow
Posts: 287
Joined: Fri Jul 02, 2004 10:17 pm

RE: Repeatable error message on the Construction Screen

Post by Tycow »

More info. It only happens when I select Construction Yards from the drop down box. I can select something else and all is fine. As soon as I select Construction Yards (even when I have kept the Construction window open) it pops up again. :)
User avatar
Erik Rutins
Posts: 39783
Joined: Tue Mar 28, 2000 4:00 pm
Location: Vermont, USA
Contact:

RE: Repeatable error message on the Construction Screen

Post by Erik Rutins »

Thanks, unfortunately I can do exactly that on two systems here with two different setups and operating systems and neither will crash. The drop down works fine, selecting construction yards works fine, so far.
Erik Rutins
CEO, Matrix Games LLC


Image

For official support, please use our Help Desk: http://www.matrixgames.com/helpdesk/

Freedom is not Free.
User avatar
elliotg
Posts: 3989
Joined: Mon Sep 10, 2007 9:32 am

RE: Repeatable error message on the Construction Screen

Post by elliotg »

Tycow - I've been able to replicate this and have fixed it for the next patch.

Thanks for finding this! Elliot
User avatar
Tycow
Posts: 287
Joined: Fri Jul 02, 2004 10:17 pm

RE: Repeatable error message on the Construction Screen

Post by Tycow »

Woohoo, nice one Elliot :)

Glad to be of service!
Post Reply

Return to “Tech Support”