[Mono-bugs] [Bug 79331][Wis] New - [wf-apps] ControlInspector exception changing background image

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Sep 8 17:15:25 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=79331

--- shadow/79331	2006-09-08 17:15:25.000000000 -0400
+++ shadow/79331.tmp.15076	2006-09-08 17:15:25.000000000 -0400
@@ -0,0 +1,75 @@
+Bug#: 79331
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: toshok at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [wf-apps] ControlInspector exception changing background image
+
+Open a form, then click on the BackgroundImage property in the property grid:
+
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object
+  at System.Drawing.ImageConverter.ConvertTo (ITypeDescriptorContext
+context, System.Globalization.CultureInfo culture, System.Object val,
+System.Type destType) [0x00037] in
+/home/toshok/src/mono/mcs/class/System.Drawing/System.Drawing/ImageConverter.cs:85
+  at System.ComponentModel.TypeConverter.ConvertToString (System.Object
+value) [0x00000] in
+/home/toshok/src/mono/mcs/class/System/System.ComponentModel/TypeConverter.cs:142
+  at
+System.Windows.Forms.PropertyGridInternal.PropertyGridView.HandleSelectedGridItemChanged
+(System.Object sender,
+System.Windows.Forms.SelectedGridItemChangedEventArgs e) [0x0003e] in
+/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridView.cs:612
+  at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_SelectedGridItemChangedEventArgs
+(object,System.Windows.Forms.SelectedGridItemChangedEventArgs)
+  at System.Windows.Forms.PropertyGrid.OnSelectedGridItemChanged
+(System.Windows.Forms.SelectedGridItemChangedEventArgs e) [0x0000b] in
+/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGrid.cs:737
+  at System.Windows.Forms.PropertyGrid.set_SelectedGridItem
+(System.Windows.Forms.GridItem value) [0x000cc] in
+/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGrid.cs:472
+  at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.PropertyGrid:set_SelectedGridItem
+(System.Windows.Forms.GridItem)
+  at System.Windows.Forms.PropertyGridInternal.PropertyGridView.OnMouseDown
+(System.Windows.Forms.MouseEventArgs e) [0x000d8] in
+/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridView.cs:205
+  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
+[0x00331] in
+/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3994
+  at System.Windows.Forms.ScrollableControl.WndProc
+(System.Windows.Forms.Message& m) [0x00000] in
+/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs:592
+  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
+(System.Windows.Forms.Message& m) [0x00000] in
+/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:162
+  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
+IntPtr wParam, IntPtr lParam) [0x0006b] in
+/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:159
+  at System.Windows.Forms.XplatUIX11.DispatchMessage
+(System.Windows.Forms.MSG& msg) [0x00000] in
+/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:2718
+  at System.Windows.Forms.XplatUI.DispatchMessage
+(System.Windows.Forms.MSG& msg) [0x00000] in
+/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:427
+  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
+System.Windows.Forms.ApplicationContext context) [0x0023c] in
+/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:523
+  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form
+mainForm) [0x00000] in
+/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:417
+  at ControlInspector.Startup.Main () [0x00000] in
+/src/mono/wf-apps/ControlInspector/ControlInspector-Port/Startup.cs:11


More information about the mono-bugs mailing list