Adventure Game Studio

AGS Development => Editor Development => Topic started by: arj0n on Sat 19/01/2013 18:38:58

Title: Crash - Object reference not set to an instance of an object
Post by: arj0n on Sat 19/01/2013 18:38:58
Not sure if this is the right place to report a crash but I couldn't enter the Bug and Suggestion Tracker (http://www.adventuregamestudio.co.uk/tracker.php).

Crash while removing some buttons from a gui in edit mode.
I couldn't close the messages, there was a loop between the 'Unhandled Error' message popup and the 'regular AGS error message' popup:


'regular AGS error message'
(---------------------------
Adventure Game Studio
---------------------------
A serious error occurred and the AGS Editor may now be in an unstable state. You are STRONGLY ADVISED to shut down the editor and restart it. Before saving your work, make a backup copy of your game folder in case any data has been corrupted.
---------------------------
OK   
---------------------------
)


'Unhandled Error' message
Error: Object reference not set to an instance of an object.
Version: AGS 3.2.1.111

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