[Mono-bugs] [Bug 80195][Nor] New - ControlInspector: NRE in PropertyGrid.PopulateGridItemsFromProperties

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Dec 9 05:42:57 EST 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 alex.olk at googlemail.com.

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

--- shadow/80195	2006-12-09 05:42:57.000000000 -0500
+++ shadow/80195.tmp.4028	2006-12-09 05:42:57.000000000 -0500
@@ -0,0 +1,96 @@
+Bug#: 80195
+Product: Mono: Class Libraries
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: alex.olk at googlemail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ControlInspector: NRE in PropertyGrid.PopulateGridItemsFromProperties
+
+Run ControlInspector, then menu File -> Windows Forms, select ListBox and
+then click on the ListBox tab page in the tab control.
+
+Result:
+
+System.NullReferenceException: Object reference not set to an instance of
+an object
+  at System.ComponentModel.PropertyDescriptor.get_Converter () [0x0005b] in
+/home/alex/develop/mcs/class/System/System.ComponentModel/PropertyDescriptor.cs:70
+
+  at System.Windows.Forms.PropertyGrid.PopulateGridItemsFromProperties
+(System.Object[] objs, System.Collections.ArrayList properties,
+System.Windows.Forms.GridItemCollection grid_item_coll, Boolean recurse,
+System.Windows.Forms.GridItem parent_grid_item) [0x00105] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGrid.cs:1109
+
+  at System.Windows.Forms.PropertyGrid.PopulateMergedGridItems
+(System.Object[] objs, System.Windows.Forms.GridItemCollection
+grid_item_coll, Boolean recurse, System.Windows.Forms.GridItem
+parent_grid_item) [0x001b9] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGrid.cs:1079
+
+  at System.Windows.Forms.PropertyGrid.ReflectObjects () [0x00040] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGrid.cs:1020
+
+  at System.Windows.Forms.PropertyGrid.set_SelectedObjects (System.Object[]
+value) [0x000c6] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGrid.cs:529
+
+  at System.Windows.Forms.PropertyGrid.set_SelectedObject (System.Object
+value) [0x00017] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGrid.cs:496
+
+  at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.PropertyGrid:set_SelectedObject (object)
+  at ControlInspector.MainForm.UpdateFocusedControl () [0x0003a] in
+/home/alex/develop/wf-apps/ControlInspector/ControlInspector-Port/MainForm.cs:688
+
+  at ControlInspector.MainForm.tabEventView_SelectedIndexChanged
+(System.Object sender, System.EventArgs e) [0x00000] in
+/home/alex/develop/wf-apps/ControlInspector/ControlInspector-Port/MainForm.cs:676
+
+  at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
+  at System.Windows.Forms.TabControl.OnSelectedIndexChanged
+(System.EventArgs e) [0x0001c] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TabControl.cs:554
+
+  at System.Windows.Forms.TabControl.set_SelectedIndex (Int32 value)
+[0x00174] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TabControl.cs:258
+
+  at System.Windows.Forms.TabControl.MouseDownHandler (System.Object
+sender, System.Windows.Forms.MouseEventArgs e) [0x0014b] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TabControl.cs:626
+
+  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) [0x0001c] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4648
+
+  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
+[0x0036f] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4123
+
+  at System.Windows.Forms.TabControl.WndProc (System.Windows.Forms.Message&
+m) [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TabControl.cs:547
+
+  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
+(System.Windows.Forms.Message& m) [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:186
+
+  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
+IntPtr wParam, IntPtr lParam) [0x0006b] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:171


More information about the mono-bugs mailing list