We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Exception being thrown by Syncfusion grid . .(version 3.3)

We are getting some weird exceptions being thrown from the syncfusion grid. Ultimately its a System.NullReferenceException exception but as you can see that the call stack is coming from the grid.

Any help or suggestions would be appreciated.

thks,
ak


true
System.NullReferenceException
Object reference not set to an instance of an object.
Syncfusion.Grid.Windows

Syncfusion.Windows.Forms.Grid.GridControlBase.OnPaint(PaintEventArgs pe)

System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)

System.Windows.Forms.Control.WmPaint(Message& m)

System.Windows.Forms.Control.WndProc(Message& m)

Syncfusion.Windows.Forms.ScrollControl.WndProc(Message& msg)

Syncfusion.Windows.Forms.Grid.GridControlBase.WndProc(Message& msg)

System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)

System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)

System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Syncfusion.Windows.Forms.Grid.GridControlBase
Method
OnPaint
Syncfusion.Windows.Forms.Grid.GridControlBase
PrivateScope, Family, Virtual, HideBySig



1 Reply

AD Administrator Syncfusion Team October 12, 2006 01:31 PM UTC

Hi Adam,

If you have our source code, then getting a debug build of the libraries would allow you to step down in our source and see exactly what line/object in that method is triggerring this exception. That would be the quickest way to see what is causing this. If you can upload a sample showing the problem, we can debug it here.

Are there multiple threads involved in your appilcation? If so, please check the Knowledge Base(KB) article link below.

http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=78

Intermittant errors can be indications of threading issues. Any calls into the grid must be done on the thread that creates it, and you can use grid.InvokeRequired to check for this.

Thanks,
Rajagopal

Loader.
Live Chat Icon For mobile
Up arrow icon