[Mono-bugs] [Bug 82234][Wis] New - [1.2.5] DataGridView: Loading data causes crash

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jul 30 16:24:07 EDT 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 monkey at jpobst.com.

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

--- shadow/82234	2007-07-30 16:24:07.000000000 -0400
+++ shadow/82234.tmp.8806	2007-07-30 16:24:07.000000000 -0400
@@ -0,0 +1,76 @@
+Bug#: 82234
+Product: Mono: Class Libraries
+Version: 1.2
+OS: unknown
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: rolfkvinge at ya.com                            
+ReportedBy: monkey at jpobst.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [1.2.5] DataGridView: Loading data causes crash
+
+[Breaking up bug #82164]
+
+20) Running test program under 1.2.4 i could load data into grid and
+run rss searching. In mono 1.2.5 program crashes when i'm loading data
+into grid.
+
+Steps:
+Load data into the grid (Open file, choose SourceHtmlLinks.txt).  Grid does
+not refresh.  Min/Restore to force refresh causes:
+
+Unhandled Exception: System.ArgumentNullException: Argument cannot be null.
+
+Parameter name: font
+
+at System.Drawing.Graphics.DrawString
+(string,System.Drawing.Font,System.Drawing.Brush,System.Drawing.RectangleF,System.Drawing.StringFormat)
+<0x001f2>
+at (wrapper remoting-invoke-with-check) System.Drawing.Graphics.DrawString
+(string,System.Drawing.Font,System.Drawing.Brush,System.Drawing.RectangleF,System.Drawing.StringFormat)
+<0x0010b>
+at System.Windows.Forms.DataGridViewTextBoxCell.Paint
+(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Rectangle,int,System.Windows.Forms.DataGridViewElementStates,object,object,string,System.Windows.Forms.DataGridViewCellStyle,System.Windows.Forms.DataGridViewAdvancedBorderStyle,System.Windows.Forms.DataGridViewPaintParts)
+<0x00307>
+at System.Windows.Forms.DataGridViewCell.InternalPaint
+(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Rectangle,int,System.Windows.Forms.DataGridViewElementStates,object,object,string,System.Windows.Forms.DataGridViewCellStyle,System.Windows.Forms.DataGridViewAdvancedBorderStyle,System.Windows.Forms.DataGridViewPaintParts)
+<0x00065>
+at System.Windows.Forms.DataGridView.OnPaint
+(System.Windows.Forms.PaintEventArgs) <0x02055>
+at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message&)
+<0x00118>
+at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&)
+<0x00165>
+at System.Windows.Forms.DataGridView.WndProc
+(System.Windows.Forms.Message&) <0x0000d>
+at ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) <0x00014>
+at ControlNativeWindow.WndProc (System.Windows.Forms.Message&) <0x00022>
+at System.Windows.Forms.NativeWindow.WndProc
+(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x0015c>
+at System.Windows.Forms.XplatUIWin32.InternalWndProc
+(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x00046>
+at (wrapper native-to-managed)
+System.Windows.Forms.XplatUIWin32.InternalWndProc
+(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x0004d>
+in (unmanaged) 76F187AE
+at (wrapper managed-to-native)
+System.Windows.Forms.XplatUIWin32.Win32DispatchMessage
+(System.Windows.Forms.MSG&) <0x00004>
+at System.Windows.Forms.XplatUIWin32.DispatchMessage
+(System.Windows.Forms.MSG&) <0x0000a>
+at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&)
+<0x00015>
+at System.Windows.Forms.Application.RunLoop
+(bool,System.Windows.Forms.ApplicationContext) <0x008f8>
+at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) <0x00024>
+at RssSearcher.Program.Main () <0x0002c>
+
+
+Test project is available on bug #82164.


More information about the mono-bugs mailing list