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.