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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:





50454 Oct 11,2006 08:39 PM UTC Oct 12,2006 01:31 PM UTC WinForms 1
Tags: GridControl
Adam K.
Asked On October 11, 2006 08:39 PM UTC

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.


Object reference not set to an instance of an object.

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)

PrivateScope, Family, Virtual, HideBySig

Administrator [Syncfusion]
Replied On 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.


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.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon