[Mono-bugs] [Bug 79942][Cri] New - mono 1.2 and winforms bug

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Nov 15 06:54:22 EST 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 xalldux at gmail.com.

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

--- shadow/79942	2006-11-15 06:54:22.000000000 -0500
+++ shadow/79942.tmp.30314	2006-11-15 06:54:22.000000000 -0500
@@ -0,0 +1,70 @@
+Bug#: 79942
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: Gentoo Linux
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Critical
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: xalldux at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mono 1.2 and winforms bug
+
+I get an error when I try to run a this programm
+(http://x4lldux.pastebin.com/823354):
+
+Steps to reproduce the problem:
+1. compile the attached program
+2. run it
+
+Actual Results:
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object
+  at System.Windows.Forms.Line.RecalculateLine (System.Drawing.Graphics g,
+System.Windows.Forms.Document doc) [0x00000] 
+  at System.Windows.Forms.Document.RecalculateDocument
+(System.Drawing.Graphics g, Int32 start, Int32 end, Boolean optimize)
+[0x00000] 
+  at System.Windows.Forms.Document.RecalculateDocument
+(System.Drawing.Graphics g) [0x00000] 
+  at System.Windows.Forms.Document.owner_HandleCreated (System.Object
+sender, System.EventArgs e) [0x00000] 
+  at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
+  at System.Windows.Forms.Control.OnHandleCreated (System.EventArgs e)
+[0x00000] 
+  at System.Windows.Forms.TextBoxBase.OnHandleCreated (System.EventArgs e)
+[0x00000] 
+  at System.Windows.Forms.RichTextBox.OnHandleCreated (System.EventArgs e)
+[0x00000] 
+  at System.Windows.Forms.Control.CreateHandle () [0x00000] 
+  at System.Windows.Forms.TextBoxBase.CreateHandle () [0x00000] 
+  at System.Windows.Forms.Control.get_Handle () [0x00000] 
+  at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.Control:get_Handle ()
+  at System.Windows.Forms.Control.UpdateChildrenZOrder () [0x00000] 
+  at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.Control:UpdateChildrenZOrder ()
+  at System.Windows.Forms.Control+ControlCollection.Add
+(System.Windows.Forms.Control value) [0x00000] 
+  at RichTextBoxTest.MainForm.InitializeComponent () [0x00000] 
+  at RichTextBoxTest.MainForm..ctor () [0x00000] 
+  at (wrapper remoting-invoke-with-check) RichTextBoxTest.MainForm:.ctor ()
+  at RichTextBoxTest.MainForm.Main (System.String[] args) [0x00000] 
+
+
+How often does this happen? 
+Always!
+
+Additional Information:
+I think it's because of one of the libraries mono depends on. But I tried
+to recompile most of them (that is that I new they could have some impact
+on it) and still nothing. Winforms with widgets like TextBox or RichTextBox
+didn't work for me for a long time.
+am using Gentoo on Pentium 4.


More information about the mono-bugs mailing list