[mono-vb] System.NullReferenceException: Object reference not set to an instance of an object at System.Windows.Forms.TreeView.MouseMoveHandler when dragging a node in a treeview

Easy_Rider9999 jhmgbl2 at t-online.de
Sun May 17 15:02:31 EDT 2009

Klaus Siebke wrote:
> Hans,
> just a hint: This error mainly comes when any object in that line is not
> defined or is having a null/nothing value.
> Do you execute any SQL statements where one of the fields is not
> initialized correctly?
> Or do you try to fill a null vaule into the treeview?
> This may cause the error.
> Regards,
> Klaus
I have checked many times for possible null values, and added some checks
for null values, where it shouldn't be necessary. And anyway! The code is
executing fine without errors with Microsoft.Net-Framework!



View this message in context: http://www.nabble.com/System.NullReferenceException%3A-Object-reference-not-set-to-an-instance-of-an-object---at-System.Windows.Forms.TreeView.MouseMoveHandler-when-dragging-a-node-in-a-treeview-tp23582605p23586521.html
Sent from the Mono - VB mailing list archive at Nabble.com.

More information about the Mono-vb mailing list