C
Chris Jones
One of the users of my application is reporting the following crash. The
stack trace looks like it's all internal to the Framework, so any ideas on
what this might be? I've never had the error myself and am not really sure
what to suggest...
System.NullReferenceException: Object reference not set to an instance of an
object.
at System.Windows.Forms.Label.CreateTextFormatFlags()
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e,
Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.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)
stack trace looks like it's all internal to the Framework, so any ideas on
what this might be? I've never had the error myself and am not really sure
what to suggest...
System.NullReferenceException: Object reference not set to an instance of an
object.
at System.Windows.Forms.Label.CreateTextFormatFlags()
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e,
Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.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)