[Mono-bugs] [Bug 78929][Nor] New - DataGrid: swf-datagrid.exe "Properties table navigation" sample crashes with a NRE

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Jul 22 07:15:21 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 alex.olk at googlemail.com.

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

--- shadow/78929	2006-07-22 07:15:20.000000000 -0400
+++ shadow/78929.tmp.23620	2006-07-22 07:15:20.000000000 -0400
@@ -0,0 +1,104 @@
+Bug#: 78929
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: alex.olk at googlemail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: DataGrid: swf-datagrid.exe "Properties table navigation" sample crashes with a NRE
+
+Run swf-datagrid.exe. Select "Properties table navigation" sample and the
+sample will crash immideately:
+
+Mono System.Windows.Forms Assembly [$auto_build_revision$]
+Gtk colorscheme read
+
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object
+  at System.Windows.Forms.ThemeWin32Classic.DataGridPaintRows
+(System.Drawing.Graphics g, Rectangle cells, Rectangle clip,
+System.Windows.Forms.DataGrid grid) [0x0001a] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs:1125
+  at System.Windows.Forms.ThemeWin32Classic.DataGridPaint
+(System.Windows.Forms.PaintEventArgs pe, System.Windows.Forms.DataGrid
+grid) [0x00039] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs:851
+  at System.Windows.Forms.DataGrid.OnPaint
+(System.Windows.Forms.PaintEventArgs pe) [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGrid.cs:1687
+  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message m)
+[0x00215] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3899
+  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:162
+  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
+IntPtr wParam, IntPtr lParam) [0x00053] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:145
+  at System.Windows.Forms.XplatUIX11.DispatchMessage
+(System.Windows.Forms.MSG msg) [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:2692
+  at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG
+msg) [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:419
+  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
+System.Windows.Forms.ApplicationContext context) [0x0023c] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:486
+  at System.Windows.Forms.Form.ShowDialog (IWin32Window ownerWin32)
+[0x000c7] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1228
+  at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.Form:ShowDialog (System.Windows.Forms.IWin32Window)
+  at DatagridSamples.DataGridSamples.label2_Click (System.Object sender,
+System.EventArgs e) [0x00000] in
+/home/alex/develop/winforms/datagrid/swf-datagrid.cs:69
+  at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
+  at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x0000b] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4239
+  at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x0002a] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs:95
+  at System.Windows.Forms.ButtonBase.OnMouseUp
+(System.Windows.Forms.MouseEventArgs mevent) [0x000a1] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ButtonBase.cs:469
+  at System.Windows.Forms.Button.OnMouseUp
+(System.Windows.Forms.MouseEventArgs e) [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs:99
+  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message m)
+[0x002ea] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3935
+  at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message
+m) [0x00055] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ButtonBase.cs:524
+  at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message m)
+[0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs:112
+  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:162
+  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
+IntPtr wParam, IntPtr lParam) [0x00053] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:145
+  at System.Windows.Forms.XplatUIX11.DispatchMessage
+(System.Windows.Forms.MSG msg) [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:2692
+  at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG
+msg) [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:419
+  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
+System.Windows.Forms.ApplicationContext context) [0x0023c] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:486
+  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form
+mainForm) [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:380
+  at DatagridSamples.DataGridSamples.Main (System.String[] args) [0x00000]
+in /home/alex/develop/winforms/datagrid/swf-datagrid.cs:91


More information about the mono-bugs mailing list