PDA

View Full Version : Object reference not set to an instance of an object.



Sophie
08-02-2008, 06:08 AM
received this message when changing view-Application: Living Cookbook 2.0.45
Message: Object reference not set to an instance of an object.

Stack Trace: at System.Windows.Forms.DataGridViewCell.PaintWork(Gr aphics graphics, Rectangle clipBounds, Rectangle cellBounds, Int32 rowIndex, DataGridViewElementStates cellState, DataGridViewCellStyle cellStyle, DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts)
at System.Windows.Forms.DataGridView.PaintColumnHeade rs(Graphics g, Rectangle clipBounds, Boolean singleBorderAdded)
at System.Windows.Forms.DataGridView.PaintGrid(Graphi cs g, Rectangle gridBounds, Rectangle clipRect, Boolean singleVerticalBorderAdded, Boolean singleHorizontalBorderAdded)
at System.Windows.Forms.DataGridView.OnPaint(PaintEve ntArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandlin g(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.DataGridView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Lee Grainger
08-02-2008, 07:18 AM
Hi,

Are you able to reproduce this error?

Lee