Index was outside the bounds of the array error (Full Version)

All Forums >> [Current Games From Matrix.] >> [Science Fiction] >> Armada 2526 Series >> Tech Support



Message


Klahn -> Index was outside the bounds of the array error (11/26/2009 9:47:03 AM)

I get an error while double clicking on a planet i just captured in the tutorial. This is the error message:

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Armada2526.CampaignUI.OwnerColonyPanel.CreateSlotMarkers()
at Armada2526.CampaignUI.OwnerColonyPanel.LayoutFacilities()
at Armada2526.CampaignUI.OwnerColonyPanel.OnLayout(LayoutEventArgs levent)
at System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
at System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.PerformLayout(IArrangedElement affectedElement, String affectedProperty)
at System.Windows.Forms.Layout.LayoutTransaction.DoLayout(IArrangedElement elementToLayout, IArrangedElement elementCausingLayout, String property)
at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e)
at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
at Armada2526.SharedUI.DescriptorTabControl.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at Armada2526.CampaignUI.CampaignTab.OpenForSquare(SPos pos, Page startPage)
at Armada2526.CampaignUI.MainGamePanel.OpenCampaignTab(SPos pos, Boolean forFleet)
at Armada2526.CampaignUI.MainGamePanel.ViewerDoubleClickHandler(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseDoubleClick(MouseEventArgs e)
at Armada2526.CampaignUI.StarMapViewerDX.OnMouseDoubleClick(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.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.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.3603 (GDR.050727-3600)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Armada2526
Assembly Version: 1.0.1.0
Win32 Version: 1.0.1.0
CodeBase: file:///C:/Matrix%20Games/Armada%202526/bin/Armada2526.exe
----------------------------------------
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.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.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
----------------------------------------
SlimDX
Assembly Version: 2.0.4.38
Win32 Version:
CodeBase: file:///C:/Matrix%20Games/Armada%202526/bin/SlimDX.DLL
----------------------------------------
msvcm90
Assembly Version: 9.0.21022.8
Win32 Version: 9.00.21022.8
CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375/msvcm90.dll
----------------------------------------
irrKlang.NET2.0
Assembly Version: 1.1.3.0
Win32 Version:
CodeBase: file:///C:/Matrix%20Games/Armada%202526/bin/irrKlang.NET2.0.DLL
----------------------------------------
msvcm80
Assembly Version: 8.0.50727.4053
Win32 Version: 8.00.50727.4053
CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989/msvcm80.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
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

I've included the saved game, but when the game is restarted and the savegame is loaded the problem disappears. When the problem appears I am given the option to continue and the error doesn't seem to cause any issues. Double clicking on the planet again, without restarting the game, causes the error message to come up repeatably. The planet causing the problem was Ploor in the savegame.

(EDIT: Obviously this isn't a major problem, just figured I'd let someone know.)




Erik Rutins -> RE: Index was outside the bounds of the array error (11/27/2009 8:41:33 PM)

Thank you for the report, Ryvan. We haven't seen this here but we'll try to duplicate it. It must be some rare combination of conditions as we've played through the tutorial many, many times without an issue.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.8125