[Mono-bugs] [Bug 82803][Nor] New - [2.0] MenuStrip: NRE in ToolStripManager.ProcessMenuKey

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Sep 11 13:51:30 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=82803

--- shadow/82803	2007-09-11 13:51:30.000000000 -0400
+++ shadow/82803.tmp.30150	2007-09-11 13:51:30.000000000 -0400
@@ -0,0 +1,61 @@
+Bug#: 82803
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [2.0] MenuStrip: NRE in ToolStripManager.ProcessMenuKey
+
+When using the keyboard to drop down a menu, a NullReferenceException is 
+thrown in ToolStripManager.ProcessMenuKey:
+
+Unhandled Exception: System.NullReferenceException: Object reference not 
+set to an instance of an object
+
+at System.Windows.Forms.ToolStripManager.ProcessMenuKey 
+(System.Windows.Forms.Message&) <0x0011d>
+at System.Windows.Forms.Control.WmSysKeyUp (System.Windows.Forms.Message&) 
+<0x00113>
+at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&) 
+<0x002ff>
+at System.Windows.Forms.ScrollableControl.WndProc 
+(System.Windows.Forms.Message&) <0x0000d>
+at System.Windows.Forms.ToolStrip.WndProc (System.Windows.Forms.Message&) 
+<0x0000d>
+at System.Windows.Forms.ToolStripDropDown.WndProc 
+(System.Windows.Forms.Message&) <0x00059>
+at ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) <0x00014>
+at ControlNativeWindow.WndProc (System.Windows.Forms.Message&) <0x00022>
+at System.Windows.Forms.NativeWindow.WndProc 
+(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x0015c>
+at System.Windows.Forms.XplatUIWin32.InternalWndProc 
+(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x00046>
+at (wrapper native-to-managed) 
+System.Windows.Forms.XplatUIWin32.InternalWndProc
+ (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x0004d>
+at (wrapper managed-to-native) 
+System.Windows.Forms.XplatUIWin32.Win32DispatchMessage 
+(System.Windows.Forms.MSG&) <0x00004>
+at System.Windows.Forms.XplatUIWin32.DispatchMessage 
+(System.Windows.Forms.MSG&) <0x0000a>
+at System.Windows.Forms.XplatUI.DispatchMessage 
+(System.Windows.Forms.MSG&) <0x00015>
+at System.Windows.Forms.Application.RunLoop 
+(bool,System.Windows.Forms.ApplicationContext) <0x00735>
+at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) 
+<0x00024>
+at MainForm.Main () <0x0001f>
+
+To reproduce:
+1. compile and run the attached source code.
+2. follow the on-screen instructions.


More information about the mono-bugs mailing list