|
Post by schctac on Sept 24, 2018 12:29:44 GMT
I received an unhandled exception "object reference not set to an instance of an object" when I was closing FYM just now.
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 Microsoft.DirectX.Direct3D.D3DX.GetUnmanagedTexture(Texture tex)
at Microsoft.DirectX.Direct3D.Sprite.Draw(Texture srcTexture, Rectangle* srcRectangle, Vector3 center, Vector3 position, Int32 color)
at Microsoft.DirectX.Direct3D.Sprite.Draw(Texture srcTexture, Rectangle srcRectangle, Vector3 center, Vector3 position, Color color)
at FYManager.fymmapdraw.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.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)
|
|
|
Post by Richard on Sept 26, 2018 6:01:08 GMT
Thx....this is an unknown bug; not sure at this point that is matters if it happens during shutdown.
|
|
|
Post by danny252 on Sept 26, 2018 13:42:07 GMT
This looks like FYM still trying to draw the map after unloading the map data from memory while closing, which it shouldn't do.
(As always, thanks for copying the error message and saying what you did!)
|
|