Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

strange exception

 
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 >> strange exception Page: [1]
Login
Message << Older Topic   Newer Topic >>
strange exception - 12/7/2011 11:32:16 AM   
feelotraveller


Posts: 1040
Joined: 9/12/2011
Status: offline
I wouldn't call this a bug but take it as a report on something strange happening under exceptional circumstances.

I start a game in a custom theme and, after saving, exit to change theme. (My custom theme at the moment just adds one character at startup, otherwise is exact replica of default. Works a treat too. ) I load this save up in the default theme and then load in my pre-saved ship designs. Next I go to multi-delete all stock designs from the new game which have no examples built . After control clicking all these I hit delete designs and I get an exception error (below). If I click continue they appear not to have deleted (still displayed in screen list) until I play with the drop down display box in the upper left and then it is clear that they have deleted. It would appear that I can keep playing normally after this although I can't confirm that. This is repeatable behaviour. Probably my fault for stuffing around like this but here's the report (truncated):


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

************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at DistantWorlds.Controls.DesignListView.get_SelectedDesign()
at DistantWorlds.Main.RwuNVmpV9g(Object , EventArgs )
at System.EventHandler.Invoke(Object sender, EventArgs e)
at DistantWorlds.Controls.ListViewBase._Grid_SelectionChanged(Object sender, EventArgs e)
at System.Windows.Forms.DataGridView.OnSelectionChanged(EventArgs e)
at System.Windows.Forms.DataGridView.FlushSelectionChanged()
at System.Windows.Forms.DataGridView.set_NoSelectionChangeCount(Int32 value)
at System.Windows.Forms.DataGridView.SetSelectedRowCoreInternal(Int32 rowIndex, Boolean selected)
at System.Windows.Forms.DataGridViewBand.set_Selected(Boolean value)
at System.Windows.Forms.DataGridViewRow.set_Selected(Boolean value)
at DistantWorlds.Main.XncPHZzce2Ii1GdXwd4(Object , Boolean )
at DistantWorlds.Main.RYucsu6Wqa(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)


...
Post #: 1
RE: strange exception - 12/8/2011 3:15:36 AM   
Wonder Dog

 

Posts: 11
Joined: 4/2/2010
Status: offline
I get this error as well. It seems to happen if there are zero designs after the delete opperation.

To cause this error Just delete all designs.

You do need to delete all ships and bases as you can't delete designs in use.

I get this error when I want to make changes to saved ship designs

(in reply to feelotraveller)
Post #: 2
RE: strange exception - 12/8/2011 5:19:54 AM   
feelotraveller


Posts: 1040
Joined: 9/12/2011
Status: offline
A third way to generate this error is to add a base (probably ship as well but haven't tried that) via the editor. Then load your ship designs and multi-delete all stock designs not in use. At least it looks like the same error message.

(in reply to Wonder Dog)
Post #: 3
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Tech Support >> strange exception 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

0.938