[Mono-bugs] [Bug 81675][Nor] New - [WIN32] NullReferenceException closing menu of DropDownButton
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri May 18 13:54:38 EDT 2007
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by gert.driesen at pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=81675
--- shadow/81675 2007-05-18 13:54:38.000000000 -0400
+++ shadow/81675.tmp.25653 2007-05-18 13:54:38.000000000 -0400
@@ -0,0 +1,62 @@
+Bug#: 81675
+Product: Mono: Class Libraries
+Version: 1.2
+OS:
+OS Details: Windows XP SP2
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com
+ReportedBy: gert.driesen at pandora.be
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: [WIN32] NullReferenceException closing menu of DropDownButton
+
+When closing a menu of a dropdown button, two NRE's are reported:
+
+System.NullReferenceException: Object reference not set to an instance of
+an object
+ at System.Windows.Forms.MenuTracker.Deactivate () [0x00000]
+ at System.Windows.Forms.MenuTracker.OnMouseDown
+(System.Windows.Forms.MouseEventArgs args) [0x00000]
+ at System.Windows.Forms.Form.WmButtonDown (System.Windows.Forms.Message&
+m) [0x00000]
+ at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m)
+[0x00000]
+ at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
+(System.Windows.Forms.Message& m) [0x00000]
+ at System.Windows.Forms.Control+ControlNativeWindow.WndProc
+(System.Windows.Forms.Message& m) [0x00000]
+ at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
+IntPtr wParam, IntPtr lParam) [0x00000]
+System.NullReferenceException: Object reference not set to an instance of
+an object
+ at System.Windows.Forms.ToolBar.OnButtonDropDown
+(System.Windows.Forms.ToolBarButtonClickEventArgs e) [0x00000]
+ at System.Windows.Forms.ToolBar.ToolBar_MouseUp (System.Object sender,
+System.Windows.Forms.MouseEventArgs me) [0x00000]
+ at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_MouseEventArgs
+(object,System.Windows.Forms.MouseEventArgs)
+ at System.Windows.Forms.Control.OnMouseUp
+(System.Windows.Forms.MouseEventArgs e) [0x00000]
+ at System.Windows.Forms.Control.WmLButtonUp
+(System.Windows.Forms.Message& m) [0x00000]
+ at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&
+m) [0x00000]
+ at System.Windows.Forms.ToolBar.WndProc (System.Windows.Forms.Message&
+m) [0x00000]
+ at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
+(System.Windows.Forms.Message& m) [0x00000]
+ at System.Windows.Forms.Control+ControlNativeWindow.WndProc
+(System.Windows.Forms.Message& m) [0x00000]
+ at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
+IntPtr wParam, IntPtr lParam) [0x00000]
+
+To reproduce:
+1. compile and run the attached code snippet on Windows.
+2. follow the on-screen instructions.
More information about the mono-bugs
mailing list