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.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

50454 Oct 11,2006 04:39 PM Oct 12,2006 09:31 AM Windows Forms 1
loading
Tags: GridControl
Adam K.
Asked On October 11, 2006 04:39 PM

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



Administrator [Syncfusion]
Replied On October 12, 2006 09:31 AM

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

CONFIRMATION

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.

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.

;