Home - Forums-.NET - FlyGrid.Net (Windows Forms) - NullReferenceException

FlyGrid.Net (Windows Forms)

.NET Datagrid - Fast, highly customizable, industry standards .NET data grid control for WinForms

This forum related to following products: FlyGrid.Net

NullReferenceException
Link Posted: 21-Oct-2014 07:36
I'm getting the following error whenever I change a listbox on Windows 8 64-bit with flygrid version 1.4.0.19 (version on .dll) using .NET framework 2.0 building with x86 profile.  The error pops up about 7 times before going away and happens before the NodeCellChanging event.  Notice the weird character in the error.  Is this something you can reproduce?

Thanks!



Object reference not set to an instance of an object.



System.NullReferenceException: Object reference not set to an instance of an object.
   at NineRays.Windows.Forms.FlyGrid.(Object , DrawItemEventArgs )
   at System.Windows.Forms.ListBox.OnDrawItem(DrawItemEventArgs e)
   at System.Windows.Forms.ListBox.WmReflectDrawItem(Message& m)
   at System.Windows.Forms.ListBox.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)
Link Posted: 21-Oct-2014 08:41
Hi zdaily,
Thanks for your exception report,
it is enough to find and fix this problem (weird character - that's name of procedure after obfuscation).
We'll let you know when update with fixes will be available for downloading (usually it takes one day).
Link Posted: 21-Oct-2014 09:46
Zdaily,
Have you tried the latest version of FlyGrid (just download FlyGrid Evaluation and replace v1.4.0.19 dlls with latest)?
The problem with OnDrawItem has been fixed in 64-bit environment years ago.
Link Posted: 21-Oct-2014 09:57
I downloaded the evaluation for the latest version and verified that it was fixed in there.  May I e-mail you at [email protected] in regards to my questions for this?
Link Posted: 21-Oct-2014 10:04
Yes, of course you can use this e-mail to direct your question to us.
Link Posted: 21-Oct-2014 10:25
Thank you.  I've followed up this discussion via e-mail.