Error Report AGS 3.0.1.35(Crashed when deleting a GUI Label?)

Started by HammerBlade, Tue 27/05/2008 05:09:42

Previous topic - Next topic

HammerBlade

Hi,

I brokeded my blue cup. 

After adding several buttons and a label to a GUI, I had decided the label was unnecessary and proceeded to delete it.  This caused the engine to crash, leading to the engine instructing me to post the following message here:

***BUG REPORT***

Error: Object reference not set to an instance of an object.
Version: AGS 3.0.1.35

System.NullReferenceException: Object reference not set to an instance of an object.
   at AGS.Editor.GUIEditor.bgPanel_MouseMove(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)

***END BUG REPORT***

Pumaman

Thanks for the report -- it seems like this happens if you press Delete while you're still holding the mouse button down. To stop it happening to you again, make sure you fully release the mouse before deleting a control.

I'll get it fixed for the next version.

SMF spam blocked by CleanTalk