[Mono-bugs] [Bug 80836][Nor] New - PropertyGrid: NullReferenceException

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Feb 13 13:07:25 EST 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 frederik.carlier at ugent.be.

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

--- shadow/80836	2007-02-13 13:07:25.000000000 -0500
+++ shadow/80836.tmp.26523	2007-02-13 13:07:25.000000000 -0500
@@ -0,0 +1,64 @@
+Bug#: 80836
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: Ubuntu Edgy Eft, using Mono SVN
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: frederik.carlier at ugent.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: PropertyGrid: NullReferenceException
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+Running the attached application with mono gives the following output:
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object
+  at System.ComponentModel.Info.GetAttributes (IComponent comp) [0x00000] 
+  at System.ComponentModel.ComponentInfo.GetAttributes () [0x00000] 
+  at System.ComponentModel.TypeDescriptor.GetAttributes (System.Object
+component, Boolean noCustomTypeDesc) [0x00000] 
+  at System.ComponentModel.TypeDescriptor.GetConverter (System.Object
+component, Boolean noCustomTypeDesc) [0x00000] 
+  at System.ComponentModel.TypeDescriptor.GetConverter (System.Object
+component) [0x00000] 
+  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) [0x00000] 
+  at System.Windows.Forms.PropertyGrid.ReflectObjects () [0x00000] 
+  at System.Windows.Forms.PropertyGrid.set_SelectedObjects (System.Object[]
+value) [0x00000] 
+  at System.Windows.Forms.PropertyGrid.set_SelectedObject (System.Object
+value) [0x00000] 
+  at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.PropertyGrid:set_SelectedObject (object)
+  at UGent.Tsp.UI.TspForm.InitializeComponent () [0x00000] 
+  at UGent.Tsp.UI.TspForm..ctor () [0x00000] 
+  at (wrapper remoting-invoke-with-check) UGent.Tsp.UI.TspForm:.ctor ()
+  at tsp.Program.Main (System.String[] args) [0x00000] 
+
+Steps to reproduce the problem:
+1. Extract the attached files
+2. nant
+3. mono out/tsp.exe
+
+Actual Results:
+Crash
+
+Expected Results:
+It to work fine, like on ms.net
+
+How often does this happen? 
+Always
+
+Additional Information:


More information about the mono-bugs mailing list