Spodii / netgore

Cross platform online rpg engine using C# and SFML
http://www.netgore.com/
40 stars 16 forks source link

Exception and Crash When Using "Add" to Add a Graphic to the Skeleton #350

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As you can see in this video: http://youtu.be/uZ5Vimplhec
An exception is thrown, which is the below text, when attempting to add a new 
grh attached between nodes.

---------------------------
Assertion Failed: Abort=Quit, Retry=Debug, Ignore=Continue
---------------------------
Unhandled exception caught: System.NullReferenceException: Object reference not 
set to an instance of an object.

   at DemoGame.Editor.SkeletonEditorForm.btnAdd_Click(Object sender, EventArgs e) in C:\NetGore\DemoGame.Editor\Forms\Dockable\SkeletonEditorForm.cs:line 682

   at System.Windows.Forms.Control.OnClick(EventArgs e)

   at System.Windows.Forms.Button.OnClick(EventArgs e)

   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ButtonBase.WndProc(Message& m)

   at System.Windows.Forms.Button.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)

    at WinFormExceptionHelper.Application_ThreadException(Object sender, ThreadExceptionEventArgs e)  C:\NetGore\NetGore.Editor\WinForms\WinFormExceptionHelper.cs(30)

    at ThreadContext.OnThreadException(Exception t)  

    at Control.WndProcException(Exception e)  

    at ControlNativeWindow.OnThreadException(Exception e)  

    at NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)  

    at UnsafeNativeMethods.DispatchMessageW(MSG& msg)  

    at ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)  

    at ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)  

    at ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)  

    at Application.Run(Form mainForm)  

    at Program.Main(String[] args)  C:\NetGore\DemoGame.Editor\Program.cs(198)

---------------------------
Abort   Retry   Ignore   
---------------------------

This was mentioned a while back but never formally reported.

Original issue reported on code.google.com by kevindatapaw on 12 Feb 2013 at 10:31

GoogleCodeExporter commented 9 years ago

Original comment by darksumm...@gmail.com on 16 Feb 2013 at 9:14

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r4757.

Original comment by darksumm...@gmail.com on 16 Feb 2013 at 11:19