Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Ultra Magnus on Sat 07/02/2009 06:14:49

Title: Error with sprite window
Post by: Ultra Magnus on Sat 07/02/2009 06:14:49
Recently I've been getting this error report.
It happens whenever I have the sprites section open at the same time as anything else.

Every time I click the sprites tab, this shows up...
QuoteError: Object reference not set to an instance of an object.
Version: AGS 3.1.2.79

System.NullReferenceException: Object reference not set to an instance of an object.
   at AGS.Editor.frmMain.FindPropertyGridItemForType(String fullTypeName)
   at AGS.Editor.frmMain.tabbedDocumentContainer1_ActiveDocumentChanged(ContentDocument newActiveDocument)
   at AGS.Editor.TabbedDocumentContainer.SetActiveDocument(ContentDocument pane, Boolean updatePaneOrder)
   at AGS.Editor.TabbedDocumentContainer.tabsPanel_MouseUp(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   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)

Followed by...
(http://img515.imageshack.us/img515/9757/52013362cg6.png)

I've tried closing and re-launching AGS, but it still happens every time I shift focus to the sprites section from anywhere else in the editor (though not the other way around).

Any ideas?
Title: Re: Error with sprite window
Post by: Pumaman on Sat 07/02/2009 10:56:24
Thanks for reporting this.

I have confirmed it as a bug in 3.1.2. I'm just waiting to get feedback on a reported Theora issue with 3.1.2 before releasing an update to fix this.
Title: Re: Error with sprite window
Post by: Ultra Magnus on Sun 08/02/2009 05:24:18
Okay, cool.

For what it's worth, it seems to have stopped after I changed/swapped a few of my sprites' numbers.