News:

 

Topic: Unhandled exception  (Read 13656 times)

0 Members and 1 Guest are viewing this topic.

  • No avatar
  • Posts: 2103
  • Polygon
June 28, 2012, 09:39:00 am
Hello,

After finding the toggle for snapping "Ctrl+X1", I find that if I use that toggle(shortcut) during the creation of a cylinder(or other object), I get an error popup "unhandled exception".

example:-

With snapping on: select cylinder, click on grid, drag out to create base of cylinder, press "ctrl+X1" to disable snapping, the error shows.

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
June 28, 2012, 10:56:32 am
What does the error message say?

I don't think the 'Ctrl+X1' command is executed while the Cylinder tool is open. You can go this way, Alt + scroll WMB to change snapping option.

  • No avatar
  • Posts: 2103
  • Polygon
June 28, 2012, 11:16:30 am
What does the error message say?

Quote
Unhandled exception has occurred in a component in your application. If you click continue, the application will ignore this error and attempt to continue.

Object reference not set to an instance of an object

Pressing continue only removes the error message for a split second. The error then shows again.  repeatedly.

This is the full report:-
Code: [Select]
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 DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.CreateCylinderOp.OnMouseMove(Object sender, MouseEventArgs e)
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.OnMouseMoveMain(Object sender, MouseEventArgs e)
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.OnMouseMove(Object sender, MouseEventArgs e)
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.OnMouseMove(Object sender, MouseEventArgs e)
   at DigitalFossil.AbstractGraphicWindow.CursorClerk.OnMouseMove(Object sender, MouseEventArgs e)
   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.ScrollableControl.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.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
VoidWorld 2.4
    Assembly Version: 2.3.4562.3835
    Win32 Version: 2.3.4562.3835
    CodeBase: file:///C:/Users/Stem/Documents/VoidWorld-Jun-27-12/VoidWorld%202.4.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.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.4927 (NetFXspW7.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.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
CharacterClasses
    Assembly Version: 2.3.4562.3823
    Win32 Version: 2.3.4562.3823
    CodeBase: file:///C:/Users/Stem/Documents/VoidWorld-Jun-27-12/CharacterClasses.DLL
----------------------------------------
Microsoft.DirectX
    Assembly Version: 1.0.1901.0
    Win32 Version: 5.3.0000001.1126 built by: DIRECTX
    CodeBase: file:///C:/Users/Stem/Documents/VoidWorld-Jun-27-12/Microsoft.DirectX.DLL
----------------------------------------
Microsoft.DirectX.Direct3D
    Assembly Version: 1.0.1901.0
    Win32 Version: 5.3.0000001.1126 built by: DIRECTX
    CodeBase: file:///C:/Users/Stem/Documents/VoidWorld-Jun-27-12/Microsoft.DirectX.Direct3D.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
----------------------------------------
WorkShop
    Assembly Version: 2.3.4562.3828
    Win32 Version: 2.3.4562.3828
    CodeBase: file:///C:/Users/Stem/Documents/VoidWorld-Jun-27-12/WorkShop.DLL
----------------------------------------
BasicD3DClasses
    Assembly Version: 2.3.4562.3824
    Win32 Version: 2.3.4562.3824
    CodeBase: file:///C:/Users/Stem/Documents/VoidWorld-Jun-27-12/BasicD3DClasses.DLL
----------------------------------------
DevExpress.XtraBars.v10.2
    Assembly Version: 10.2.4.0
    Win32 Version: 10.2.4.0
    CodeBase: file:///C:/Users/Stem/Documents/VoidWorld-Jun-27-12/DevExpress.XtraBars.v10.2.DLL
----------------------------------------
DevExpress.Utils.v10.2
    Assembly Version: 10.2.4.0
    Win32 Version: 10.2.4.0
    CodeBase: file:///C:/Users/Stem/Documents/VoidWorld-Jun-27-12/DevExpress.Utils.v10.2.DLL
----------------------------------------
Microsoft.DirectX.Direct3DX
    Assembly Version: 1.0.1901.0
    Win32 Version: 5.3.0000001.1126 built by: DIRECTX
    CodeBase: file:///C:/Users/Stem/Documents/VoidWorld-Jun-27-12/Microsoft.DirectX.Direct3DX.DLL
----------------------------------------
DevExpress.Data.v10.2
    Assembly Version: 10.2.4.0
    Win32 Version: 10.2.4.0
    CodeBase: file:///C:/Users/Stem/Documents/VoidWorld-Jun-27-12/DevExpress.Data.v10.2.DLL
----------------------------------------
DevExpress.XtraEditors.v10.2
    Assembly Version: 10.2.4.0
    Win32 Version: 10.2.4.0
    CodeBase: file:///C:/Users/Stem/Documents/VoidWorld-Jun-27-12/DevExpress.XtraEditors.v10.2.DLL
----------------------------------------
Microsoft.DirectX.DirectInput
    Assembly Version: 1.0.1901.0
    Win32 Version: 5.3.0000001.1126 built by: DIRECTX
    CodeBase: file:///C:/Users/Stem/Documents/VoidWorld-Jun-27-12/Microsoft.DirectX.DirectInput.DLL
----------------------------------------
Microsoft.DirectX.DirectSound
    Assembly Version: 1.0.1901.0
    Win32 Version: 5.3.0000001.1126 built by: DIRECTX
    CodeBase: file:///C:/Users/Stem/Documents/VoidWorld-Jun-27-12/Microsoft.DirectX.DirectSound.DLL
----------------------------------------
Microsoft.VisualC
    Assembly Version: 8.0.0.0
    Win32 Version: 8.00.50727.4927
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualC/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.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.Management
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
AnimationPlay
    Assembly Version: 1.0.4562.3834
    Win32 Version: 1.0.4562.3834
    CodeBase: file:///C:/Users/Stem/Documents/VoidWorld-Jun-27-12/AnimationPlay.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.



  • No avatar
  • Posts: 2103
  • Polygon
June 28, 2012, 11:22:36 am
You can go this way, Alt + scroll WMB to change snapping option.

I was looking for a quick way to toggle snapping on/off, so I could snap to grid for first part of construction, then quickly disable snapping for hight. Having to scroll through the various snapping options is a long way to achieve what I thought would be a simple task.

  • No avatar
  • Posts: 2103
  • Polygon
June 28, 2012, 11:34:34 am
I don't think the 'Ctrl+X1' command is executed while the Cylinder tool is open.

When first invoking the tool(cylinder), the "ctrl+X1" appears to be inactive. But once the base point/radius is made and the hight is started, pressing "ctrl+X1" then appears to be active, as it is then the exception occurres.