[Mono-bugs] [Bug 76942][Nor] Changed - Exception at System.Windows.Forms.Line:RecalculateLine

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Dec 9 07:19:51 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 kornelpal at hotmail.com.

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

--- shadow/76942	2005-12-08 14:53:07.000000000 -0500
+++ shadow/76942.tmp.20477	2005-12-09 07:19:51.000000000 -0500
@@ -1,12 +1,12 @@
 Bug#: 76942
 Product: Mono: Class Libraries
 Version: 1.1
 OS: Windows XP (Cygwin)
 OS Details: 
-Status: NEEDINFO   
+Status: REOPENED   
 Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: Windows.Forms
 AssignedTo: peter at novonyx.com                            
 ReportedBy: jordimash at gmail.com               
@@ -32,6 +32,116 @@
 ....
 
 ------- Additional Comments From peter at novonyx.com  2005-12-08 14:52 -------
 Using MWF but MS runtime and System.Drawing on WinXP I don't get any 
 exceptions. All four datagrids come up properly. Can you provide any 
 details on when this is happening? Or maybe a full stack?
+
+------- Additional Comments From kornelpal at hotmail.com  2005-12-09 07:19 -------
+I used Mono SVN r54150 on Windows XP.
+
+mono --debug swf-datagrid.exe
+
+Without any window being displayed it crashes right after it is 
+executed.
+
+Full stack trace:
+
+Unhandled Exception: System.NullReferenceException: Object reference 
+not set to an instance of an object
+
+in [0x00288] (at 
+C:\Mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\TextCont
+rol.cs:459) System.Windows.Forms.Line:RecalculateLine 
+(System.Drawing.Graphics g, System.Windows.Forms.Document doc)
+
+in [0x0004d] (at 
+C:\Mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\TextCont
+rol.cs:3246) System.Windows.Forms.Document:RecalculateDocument 
+(System.Drawing.Graphics g, Int32 start, Int32 end, Boolean optimize)
+
+in [0x0000a] (at 
+C:\Mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\TextCont
+rol.cs:3209) System.Windows.Forms.Document:RecalculateDocument 
+(System.Drawing.Graphics g)
+
+in [0x0000c] (at 
+C:\Mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\TextCont
+rol.cs:3302) System.Windows.Forms.Document:owner_HandleCreated 
+(System.Object sender, System.EventArgs e)
+
+in (wrapper delegate-invoke) 
+System.MulticastDelegate:invoke_void_object_EventArgs 
+(object,System.EventArgs)
+
+in [0x00013] (at 
+C:\Mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.
+cs:3922) System.Windows.Forms.Control:OnHandleCreated 
+(System.EventArgs e)
+
+in [0x00002] (at 
+C:\Mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\TextBoxB
+ase.cs:693) System.Windows.Forms.TextBoxBase:OnHandleCreated 
+(System.EventArgs e)
+
+in [0x00002] (at 
+C:\Mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\TextBox.
+cs:198) System.Windows.Forms.TextBox:OnHandleCreated 
+(System.EventArgs e)
+
+in [0x00085] (at 
+C:\Mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.
+cs:2909) System.Windows.Forms.Control:CreateHandle ()
+
+in [0x00001] (at 
+C:\Mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\TextBoxB
+ase.cs:638) System.Windows.Forms.TextBoxBase:CreateHandle ()
+
+in [0x0000c] (at 
+C:\Mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.
+cs:1700) System.Windows.Forms.Control:get_Handle ()
+
+in (wrapper remoting-invoke-with-check) 
+System.Windows.Forms.Control:get_Handle ()
+
+in [0x00056] (at 
+C:\Mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\TextCont
+rol.cs:1199) System.Windows.Forms.Document:PositionCaret 
+(System.Windows.Forms.Line line, Int32 pos)
+
+in [0x0015a] (at 
+C:\Mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\TextBoxB
+ase.cs:496) System.Windows.Forms.TextBoxBase:set_Text (System.String 
+value)
+
+in [0x00002] (at 
+C:\Mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\TextBox.
+cs:138) System.Windows.Forms.TextBox:set_Text (System.String value)
+
+in [0x0000e] (at 
+C:\Mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ComboBox
+.cs:1166) System.Windows.Forms.ComboBox:SetControlText 
+(System.String s)
+
+in [0x0005c] (at 
+C:\Mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ComboBox
+.cs:438) System.Windows.Forms.ComboBox:set_SelectedIndex (Int32 
+value)
+
+in <0x0030e> 
+DatagridSamples.DataGridTableNavigation:InitializeComponent ()
+
+in <0x0004e> DatagridSamples.DataGridTableNavigation:.ctor ()
+
+in (wrapper remoting-invoke-with-check) 
+DatagridSamples.DataGridTableNavigation:.ctor ()
+
+in <0x0008e> DatagridSamples.DataGridSamples:InitializeComponent ()
+
+in <0x00013> DatagridSamples.DataGridSamples:.ctor ()
+
+in (wrapper remoting-invoke-with-check) 
+DatagridSamples.DataGridSamples:.ctor ()
+
+in <0x00018> DatagridSamples.DataGridSamples:Main (System.String[] 
+args)
+


More information about the mono-bugs mailing list