JosephClay / beyond-beyaan

Automatically exported from code.google.com/p/beyond-beyaan
Other
0 stars 0 forks source link

Right clicking any fleet in the same square the fleet is in #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a new game (any size)
2. Select any one of your fleets
3. Right click the fleet you have selected
Note : If you repeat the above steps two times in a row after clicking 
'continue' on the error message it instantly crashes BB
Note : The crash info after repeating the above steps two times is located 
right below "Error Message"

What version of the product are you using?
0.4

Computer Specs : 

Operating System : Windows 7 Professional (64-bit)
GPU : Nvidia 9600 GT (single)
RAM : Corsair 2 GB x 3
CPU : Intel i7 920 (2.67 GHz) @ 3.2 GHz
Motherboard : EVGA X58 SLI LE
Case : Tagan El Diablo
Power Supply : ABS Tagan ITZ Series 800W

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.NullReferenceException: Object reference not set to an instance of an 
object.
   at Beyond_Beyaan.Fleet.CalculatePathCost(GridCell[][] gridCells, List`1 nodes)
   at Beyond_Beyaan.Fleet.RefreshPath(GridCell[][] gridCells)
   at Beyond_Beyaan.FleetGroup.SplitFleet(Empire empire, GridCell[][] gridCells)
   at Beyond_Beyaan.Screens.GalaxyScreen.MouseUp(Int32 x, Int32 y, Int32 whichButton)
   at Beyond_Beyaan.GameMain.MouseUp(MouseEventArgs e)
   at Beyond_Beyaan.BeyondBeyaan.BeyondBeyaan_MouseUp(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.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.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)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4961 (win7RTMGDR.050727-4900)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Beyond Beyaan
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/DR3BE3~1.BAS/AppData/Local/Temp/Rar$EX17.848/Beyond%20Beyaan/Beyond%20Beyaan.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4961 (win7RTMGDR.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.4957 (win7RTMGDR.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
----------------------------------------
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
----------------------------------------
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
----------------------------------------
Gorgon
    Assembly Version: 1.1.3638.20767
    Win32 Version: 1.1.3638.20767
    CodeBase: file:///C:/Users/DR3BE3~1.BAS/AppData/Local/Temp/Rar$EX17.848/Beyond%20Beyaan/Gorgon.DLL
----------------------------------------
SlimDX
    Assembly Version: 2.0.7.41
    Win32 Version: 
    CodeBase: file:///C:/Windows/assembly/GAC_32/SlimDX/2.0.7.41__b1b0c32fd1ffe4f9/SlimDX.dll
----------------------------------------
msvcm80
    Assembly Version: 8.0.50727.6195
    Win32 Version: 8.00.50727.6195
    CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d09154e044272b9a/msvcm80.dll
----------------------------------------
GorgonInput
    Assembly Version: 1.1.3638.20767
    Win32 Version: 1.1.3638.20767
    CodeBase: file:///C:/Users/Dr.Bassdrop/AppData/Local/Temp/Rar$EX17.848/Beyond%20Beyaan/GorgonInput.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
----------------------------------------
System.Core
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.4926 built by: NetFXw7
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.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.

Crash Message : 

Description:
  Stopped working

Problem signature:
  Problem Event Name:   CLR20r3
  Problem Signature 01: beyond beyaan.exe
  Problem Signature 02: 1.0.0.0
  Problem Signature 03: 4e377f20
  Problem Signature 04: Beyond Beyaan
  Problem Signature 05: 1.0.0.0
  Problem Signature 06: 4e377f20
  Problem Signature 07: 2d7
  Problem Signature 08: c0e
  Problem Signature 09: System.IndexOutOfRangeException
  OS Version:   6.1.7600.2.0.0.256.48
  Locale ID:    1033

Original issue reported on code.google.com by drbassdr...@gmail.com on 2 Aug 2011 at 6:39

GoogleCodeExporter commented 9 years ago
This was where an idling fleet have null for travelNodes, and it tried to 
calculate the total movement with travelNodes.  Added a check for null.

Original comment by zeraa...@gmail.com on 3 Aug 2011 at 4:36

GoogleCodeExporter commented 9 years ago

Original comment by zeraa...@gmail.com on 4 Oct 2011 at 7:03