View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0000195 | AI War 1 / Classic | Crash/Exception | Oct 3, 2010 4:35 pm | Oct 4, 2010 4:08 pm | |
Reporter | themachineissentient | Assigned To | Chris_McElligottPark | ||
Status | closed | Resolution | fixed | ||
Product Version | 3.121-3.189 | ||||
Fixed in Version | 3.700 | ||||
Summary | 0000195: Game crash when writing secondary Excel reports (F3 then CTRL+SHIFT+F8) | ||||
Description | http://www.arcengames.com/forums/index.php/topic,6866.0.html 8/24/2010 7:49:46 AM (3.1.8.Cool Hello, I was trying to look at raw bonuses between ship types when this happened. I am running the latest beta with CoN expansion disabled ( didn't buy it yet Sad ) if that makes a difference. -----------------------------------Application_ThreadException-----------------------------------System.InvalidOperationException: Failed to compare two elements in the array. ---> System.NullReferenceException: Object reference not set to an instance of an object. at AIWar.DatabaseContent.<ExportExcelSecondaries>b__a(ForegroundObject s1, ForegroundObject s2) in C:\vcprojs\AIWar\Framework\DatabaseContent.cs:line 1156 at System.Array.FunctorComparer`1.Compare(T x, T y) at System.Collections.Generic.ArraySortHelper`1.QuickSort(T[] keys, Int32 left, Int32 right, IComparer`1 comparer) at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer) --- End of inner exception stack trace --- at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer) at System.Array.Sort[T](T[] array, Int32 index, Int32 length, IComparer`1 comparer) at System.Collections.Generic.List`1.Sort(Comparison`1 comparison) at AIWar.DatabaseContent.ExportExcelSecondaries(Boolean EndProgram) in C:\vcprojs\AIWar\Framework\DatabaseContent.cs:line 1144 at AIWar.Game.ButtonDownFirst(Keys Key) in C:\vcprojs\AIWar\GameFormParts\InputHandling.cs:line 2854 at AIWar.DirectInputWrapper.Instance_KeyDown(Object sender, KeyEventArgs e) in C:\vcprojs\AIWar\DX\DirectInputWrapper.cs:line 123 at System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e) at System.Windows.Forms.Control.ProcessKeyEventArgs(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.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& m) at System.Windows.Forms.Form.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) Verifiable by me - crashed just now on attempting to dump the data: [edit - apparently crash log had old solved crash in it [from score display crash] so removed the extraneous data to only show current crash data] 8/24/2010 12:30:18 PM (3.1.8.8 ) -----------------------------------Application_ThreadException----------------------------------- System.InvalidOperationException: Failed to compare two elements in the array. ---> System.NullReferenceException: Object reference not set to an instance of an object. at AIWar.DatabaseContent.<ExportExcelSecondaries>b__a(ForegroundObject s1, ForegroundObject s2) in C:\vcprojs\AIWar\Framework\DatabaseContent.cs:line 1156 at System.Array.FunctorComparer`1.Compare(T x, T y) at System.Collections.Generic.ArraySortHelper`1.QuickSort(T[] keys, Int32 left, Int32 right, IComparer`1 comparer) at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer) --- End of inner exception stack trace --- at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer) at System.Array.Sort[T](T[] array, Int32 index, Int32 length, IComparer`1 comparer) at System.Collections.Generic.List`1.Sort(Comparison`1 comparison) at AIWar.DatabaseContent.ExportExcelSecondaries(Boolean EndProgram) in C:\vcprojs\AIWar\Framework\DatabaseContent.cs:line 1144 at AIWar.Game.ButtonDownFirst(Keys Key) in C:\vcprojs\AIWar\GameFormParts\InputHandling.cs:line 2854 at AIWar.DirectInputWrapper.Instance_KeyDown(Object sender, KeyEventArgs e) in C:\vcprojs\AIWar\DX\DirectInputWrapper.cs:line 123 at System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e) at System.Windows.Forms.Control.ProcessKeyEventArgs(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.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& m) at System.Windows.Forms.Form.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) | ||||
Tags | No tags attached. | ||||
Internal Weight | |||||
|
This is "fixed" in the latest versions in the sense that there is no secondary excel export anymore. ;) But, when we re-implement those in the Unity versions, of course we'll weed out any crashes as just part of the implementation. Marking this as closed just to clean it up for now. |
Date Modified | Username | Field | Change |
---|---|---|---|
Oct 3, 2010 4:35 pm | themachineissentient | New Issue | |
Oct 4, 2010 4:08 pm | Chris_McElligottPark | Note Added: 0000276 | |
Oct 4, 2010 4:08 pm | Chris_McElligottPark | Status | new => closed |
Oct 4, 2010 4:08 pm | Chris_McElligottPark | Assigned To | => Chris_McElligottPark |
Oct 4, 2010 4:08 pm | Chris_McElligottPark | Resolution | open => fixed |
Oct 4, 2010 4:08 pm | Chris_McElligottPark | Fixed in Version | => 3.700 |
Apr 14, 2014 9:27 am | Chris_McElligottPark | Category | Bug - Crash or Exception => Crash/Exception |