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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=79879 --- shadow/79879 2006-11-09 13:04:41.000000000 -0500 +++ shadow/79879.tmp.11504 2006-11-09 13:04:41.000000000 -0500 @@ -0,0 +1,84 @@ +Bug#: 79879 +Product: Mono: Class Libraries +Version: 1.1 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Major +Component: Windows.Forms +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: NRE displaying PropertyGrid + +Description of Problem: +When you display a PropertyGrid, it crashes with a NullReferenceException. + +Steps to reproduce the problem: +1. Run winforms/FormsTest +2. Click the PropertyGrid tab + +Additional Information: +Unhandled Exception: System.NullReferenceException: Object reference not +set to an instance of an object + at System.Windows.Forms.PropertyGridInternal.PropertyGridView.OnPaint +(System.Windows.Forms.PaintEventArgs e) [0x00000] + at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message m) +[0x00000] + at System.Windows.Forms.ScrollableControl.WndProc +(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] + at (wrapper native-to-managed) System.Windows.Forms.NativeWindow:WndProc +(intptr,System.Windows.Forms.Msg,intptr,intptr) + at <0x00000> <unknown method> + at (wrapper managed-to-native) +System.Windows.Forms.XplatUIWin32:Win32UpdateWindow (intptr) + at System.Windows.Forms.XplatUIWin32.UpdateWindow (IntPtr handle) [0x00000] + at System.Windows.Forms.XplatUI.UpdateWindow (IntPtr handle) [0x00000] + at System.Windows.Forms.Control.Refresh () [0x00000] + at System.Windows.Forms.TabControl.set_SelectedIndex (Int32 value) [0x00000] + at System.Windows.Forms.TabControl.MouseDownHandler (System.Object +sender, System.Windows.Forms.MouseEventArgs e) [0x00000] + at (wrapper delegate-invoke) +System.MulticastDelegate:invoke_void_object_MouseEventArgs +(object,System.Windows.Forms.MouseEventArgs) + at System.Windows.Forms.Control.OnMouseDown +(System.Windows.Forms.MouseEventArgs e) [0x00000] + at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message m) +[0x00000] + at System.Windows.Forms.TabControl.WndProc (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] + at (wrapper native-to-managed) System.Windows.Forms.NativeWindow:WndProc +(intptr,System.Windows.Forms.Msg,intptr,intptr) + at <0x00000> <unknown method> + at (wrapper managed-to-native) +System.Windows.Forms.XplatUIWin32:Win32DispatchMessage +(System.Windows.Forms.MSG&) + at System.Windows.Forms.XplatUIWin32.DispatchMessage +(System.Windows.Forms.MSG msg) [0x00000] + at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG +msg) [0x00000] + at System.Windows.Forms.Application.DispatchMessage +(System.Windows.Forms.MSG msg) [0x00000] + at System.Windows.Forms.Application.RunLoop (Boolean Modal, +System.Windows.Forms.ApplicationContext context) [0x00000] + at System.Windows.Forms.Application.Run (System.Windows.Forms.Form +mainForm) [0x00000] + at MonoCHelloWorld.Program.Main () [0x00000] + +Offending line in PropertyGridView.cs (208): +DrawGridItems(property_grid.root_grid_item.GridItems, e, 1, ref yLoc); + +(property_grid is null) _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
