[Mono-bugs] [Bug 80994][Maj] Changed - NullReferenceExeption inside RichTextBox

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Apr 2 16:49:12 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 gert.driesen at pandora.be.

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

--- shadow/80994	2007-04-02 14:39:29.000000000 -0400
+++ shadow/80994.tmp.16124	2007-04-02 16:49:12.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 80994
 Product: Mono: Class Libraries
 Version: 1.2
 OS: Windows XP
 OS Details: Service Pack 2
-Status: RESOLVED   
-Resolution: FIXED
+Status: REOPENED   
+Resolution: 
 Severity: Unknown
 Priority: Major
 Component: Windows.Forms
 AssignedTo: jackson at ximian.com                            
 ReportedBy: linux.sarge at gmail.com               
 QAContact: mono-bugs at ximian.com
@@ -188,6 +188,53 @@
 
 ------- Additional Comments From jackson at ximian.com  2007-04-02 14:39 -------
 Gert, thanks for pointing that out.  I've fixed it in SVN.
 
 ------- Additional Comments From jackson at ximian.com  2007-04-02 14:39 -------
 fixed.
+
+------- Additional Comments From gert.driesen at pandora.be  2007-04-02 16:49 -------
+I now get a NRE running my repro for this issue:
+
+System.NullReferenceException: Object reference not set to an 
+instance of an object
+  at System.Windows.Forms.LineTag.FormatText 
+(System.Windows.Forms.Line line, Int32 start, Int32 length, 
+System.Drawing.Font font, System.Drawing.SolidBrush color, 
+System.Drawing.SolidBrush back_color, FormatSpecified specified) 
+[0x00000] 
+  at System.Windows.Forms.Document.FormatText 
+(System.Windows.Forms.Line start_line, Int32 start_pos, 
+System.Windows.Forms.Line end_line, Int32 end_pos, 
+System.Drawing.Font font, System.Drawing.SolidBrush color, 
+System.Drawing.SolidBrush back_color, FormatSpecified specified) 
+[0x00000] 
+  at System.Windows.Forms.RichTextBox.set_SelectionColor (Color 
+value) [0x00000] 
+  at (wrapper remoting-invoke-with-check) 
+System.Windows.Forms.RichTextBox:set_SelectionColor 
+(System.Drawing.Color)
+  at MainForm.MainForm_Load (System.Object sender, System.EventArgs 
+e) [0x00000] 
+  at (wrapper delegate-invoke) 
+System.MulticastDelegate:invoke_void_object_EventArgs 
+(object,System.EventArgs)
+  at System.Windows.Forms.Form.OnLoad (System.EventArgs e) [0x00000] 
+  at System.Windows.Forms.Form.OnCreateControl () [0x00000] 
+  at System.Windows.Forms.Control.CreateControl () [0x00000] 
+  at System.Windows.Forms.Control.WmShowWindow 
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.Control.WndProc 
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.ScrollableControl.WndProc 
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.ContainerControl.WndProc 
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.Form.WndProc 
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage 
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.Control+ControlNativeWindow.WndProc 
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg 
+msg, IntPtr wParam, IntPtr lParam) [0x00000] 
+


More information about the mono-bugs mailing list