[Mono-bugs] [Bug 79547][Blo] New - Exception when showing the context menu from NotifyIcon

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Oct 1 19:31:17 EDT 2006


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 toshok at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=79547

--- shadow/79547	2006-10-01 19:31:17.000000000 -0400
+++ shadow/79547.tmp.11740	2006-10-01 19:31:17.000000000 -0400
@@ -0,0 +1,46 @@
+Bug#: 79547
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: toshok at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Exception when showing the context menu from NotifyIcon
+
+1. run winforms/notifyicon/swf-notifyicon.exe
+
+2. click in the notifyicon.
+
+3.
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object
+  at System.Windows.Forms.MenuTracker..ctor (System.Windows.Forms.Menu
+top_menu) [0x00090] in
+/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs:52
+  at System.Windows.Forms.MenuTracker.TrackPopupMenu
+(System.Windows.Forms.Menu menu, Point pnt) [0x0001f] in
+/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs:215
+  at System.Windows.Forms.ContextMenu.Show (System.Windows.Forms.Control
+control, Point pos) [0x00028] in
+/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ContextMenu.cs:89
+  at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.ContextMenu:Show
+(System.Windows.Forms.Control,System.Drawing.Point)
+  at System.Windows.Forms.NotifyIcon+NotifyIconWindow.HandleMouseUp
+(System.Object sender, System.Windows.Forms.MouseEventArgs e) [0x00011] in
+/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NotifyIcon.cs:210
+  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) [0x0000b] in
+/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4519


More information about the mono-bugs mailing list