[Mono-bugs] [Bug 76885][Nor] New - NRE crash when setting
RichTextBox.Font
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Dec 2 16:49:30 EST 2005
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 matt at use.net.
http://bugzilla.ximian.com/show_bug.cgi?id=76885
--- shadow/76885 2005-12-02 16:49:30.000000000 -0500
+++ shadow/76885.tmp.17051 2005-12-02 16:49:30.000000000 -0500
@@ -0,0 +1,64 @@
+Bug#: 76885
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com
+ReportedBy: matt at use.net
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: NRE crash when setting RichTextBox.Font
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. run nunit-gui.exe from nunit 2.2.x
+
+Actual Results:
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object
+in [0x000a5]
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextControl.cs:3709)
+System.Windows.Forms.LineTag:FormatText (System.Windows.Forms.Line line,
+Int32 start, Int32 length, System.Drawing.Font font, System.Drawing.Brush
+color)
+in [0x0007c]
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextControl.cs:3182)
+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.Brush color)
+in [0x00084]
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/RichTextBox.cs:200)
+System.Windows.Forms.RichTextBox:set_Font (System.Drawing.Font value)
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object
+in [0x000a5]
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextControl.cs:3709)
+System.Windows.Forms.LineTag:FormatText (System.Windows.Forms.Line line,
+Int32 start, Int32 length, System.Drawing.Font font, System.Drawing.Brush
+color)
+in [0x0007c]
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextControl.cs:3182)
+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.Brush color)
+in [0x00084]
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/RichTextBox.cs:200)
+System.Windows.Forms.RichTextBox:set_Font (System.Drawing.Font value)
+
+
+Expected Results:
+shouldn't crash
+
+How often does this happen?
+every time, on 1.1.10 and current SVN on both x86 and amd64.
More information about the mono-bugs
mailing list