SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Special Projects > MoBo - Electronic Maneuvering Board
Forget password? Reset here

 
 
Thread Tools Display Modes
Old 10-23-07, 12:17 PM   #1
Pisces
Silent Hunter
 
Join Date: Dec 2004
Location: AN9771
Posts: 4,892
Downloads: 300
Uploads: 0
crash report

I get a crash (unhandled exception) when I do the following with either the Mobo version download linked to in the other thread (v1.0???) or with the beta (v1.1) on the xl-logic site:

1. Open mobo
2. place ownship anywhere (maybe not neccessary)
3. place node somewhere
4. rightclick over node so menu shows up
5. hover with mouse over menu so a row will 'light up'
6. press a/any shortcut key with keyboard (like "t")
7. Computer trashes hardrive for a second and crash dialog box (with crashlog below) shows up.

System: WinXP prof, p4 2.6GHz hyperthread, 768 MB RAM, uptodate .Net 2.0 as far as I know

Crashlog:
Code:
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 MoBo.Cls_Tool.x() in C:\HOME\Visual Studio 2005\Projects\MoBo\DrawTesting\Cls_Tool.vb:line 30
   at MoBo.Cls_Tool.Draw_MenuItem() in C:\HOME\Visual Studio 2005\Projects\MoBo\DrawTesting\Cls_Tool.vb:line 135
   at MoBo.Cls_Unit.Draw_Menu_Selection_Boxes() in C:\HOME\Visual Studio 2005\Projects\MoBo\DrawTesting\Cls_Unit.vb:line 920
   at MoBo.Cls_Unit.Draw_Menu_Node() in C:\HOME\Visual Studio 2005\Projects\MoBo\DrawTesting\Cls_Unit.vb:line 768
   at MoBo.Mod_Tools.Draw_Units() in C:\HOME\Visual Studio 2005\Projects\MoBo\DrawTesting\Mod_Tools.vb:line 1464
   at MoBo.Mod_Tools.Tool_Manager() in C:\HOME\Visual Studio 2005\Projects\MoBo\DrawTesting\Mod_Tools.vb:line 107
   at MoBo.Frm_MoBo.PictureBox1_MouseMove(Object sender, MouseEventArgs e) in C:\HOME\Visual Studio 2005\Projects\MoBo\DrawTesting\Frm_MoBo.vb:line 76
   at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseMove(Message& m)
   at System.Windows.Forms.Control.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.832 (QFE.050727-8300)
    CodeBase: file:///D:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
MoBo
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0
    CodeBase: file:///D:/Documents%20and%20Settings/Rico/Bureaublad/mobo/MoBo.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///D:/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.832 (QFE.050727-8300)
    CodeBase: file:///D:/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.832 (QFE.050727-8300)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///D:/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.832 (QFE.050727-8300)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.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.
Pisces is offline  
Old 10-23-07, 02:40 PM   #2
XLjedi
Ace of the Deep
 
Join Date: Jun 2005
Location: Palm Beach, Florida
Posts: 1,200
Downloads: 53
Uploads: 8
Default

Yeah... appears to crash for me too. Guess no one pressed a key like that with the unit quick-menu active during our initial testing. :hmm:

I'll add it to my bug list for the next 1.1 update.

Edit: Just fixed it... should be OK in the next build.
__________________
XLjedi is offline  
Old 10-23-07, 07:10 PM   #3
Pisces
Silent Hunter
 
Join Date: Dec 2004
Location: AN9771
Posts: 4,892
Downloads: 300
Uploads: 0
Default

Ok. I've got something else too about the TMA function. Not a crash mind you. Just weird behaviour. Shall I post this in this thread or make a new one?
Pisces is offline  
Old 10-23-07, 09:32 PM   #4
XLjedi
Ace of the Deep
 
Join Date: Jun 2005
Location: Palm Beach, Florida
Posts: 1,200
Downloads: 53
Uploads: 8
Default

Quote:
Originally Posted by Pisces
Ok. I've got something else too about the TMA function. Not a crash mind you. Just weird behaviour. Shall I post this in this thread or make a new one?
If it's not related to the "crash report" I'd say post it seperate...
__________________
XLjedi is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:50 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.