[Mono-bugs] [Bug 79742][Cri] Changed - PropertyGrid: NRE in ControlInspector (Button ImageList)

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Oct 26 14:40:58 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=79742

--- shadow/79742	2006-10-26 14:37:48.000000000 -0400
+++ shadow/79742.tmp.27598	2006-10-26 14:40:58.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 79742
 Product: Mono: Class Libraries
 Version: 1.0
 OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Critical
 Component: Windows.Forms
 AssignedTo: toshok at ximian.com                            
 ReportedBy: alex.olk at googlemail.com               
 QAContact: mono-bugs at ximian.com
@@ -25,6 +25,20 @@
 
 Unhandled Exception: System.NullReferenceException: Object reference not
 set to an instance of an object
   at
 System.Windows.Forms.PropertyGridInternal.PropertyGridView.DropDownButtonClicked
 (System.Object sender, System.EventArgs e) [0x00000]
+
+------- Additional Comments From toshok at ximian.com  2006-10-26 14:40 -------
+this happens partly because we don't implement the editor that is
+assigned to ImageList.  ImageList.cs lists it as:
+
+		[Editor("System.Windows.Forms.Design.ImageCollectionEditor, " +
+Consts.AssemblySystem_Design, typeof(UITypeEditor))]
+
+I'll file another bug for that, but at a lower priority (wishlist,
+most likely).
+
+The other part of the problem is that the code to fill in the list of
+standard values can't deal with GetStandardValues() returning null. 
+I've fixed this in r66996.


More information about the mono-bugs mailing list