[Mono-bugs] [Bug 79580][Blo] Changed - NRE when pasting to TextBox

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Oct 5 15:57:48 EDT 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 alex.olk at googlemail.com.

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

--- shadow/79580	2006-10-05 15:22:58.000000000 -0400
+++ shadow/79580.tmp.13718	2006-10-05 15:57:48.000000000 -0400
@@ -112,6 +112,41 @@
 		[Browsable (false)]
 		[EditorBrowsable (EditorBrowsableState.Never)]
 -----------
 
 Also, I get the error both by pasting with Ctrl-V and using the
 context menu Paste.
+
+------- Additional Comments From alex.olk at googlemail.com  2006-10-05 15:57 -------
+I'm able to reproduce this bug on linux (svn head)
+
+Unhandled Exception: System.NullReferenceException: Object reference
+not set to an instance of an object
+  at System.Windows.Forms.Document.InsertString
+(System.Windows.Forms.LineTag tag, Int32 pos, System.String s) [0x00000] 
+  at System.Windows.Forms.Document.Insert (System.Windows.Forms.Line
+line, System.Windows.Forms.LineTag tag, Int32 pos, Boolean
+update_caret, System.String s) [0x00000] 
+  at System.Windows.Forms.Document.ReplaceSelection (System.String s)
+[0x00000] 
+  at System.Windows.Forms.TextBoxBase.set_SelectedText (System.String
+value) [0x00000] 
+  at System.Windows.Forms.TextBoxBase.Paste (IDataObject clip,
+System.Windows.Forms.Format format, Boolean obey_length) [0x00000] 
+  at System.Windows.Forms.TextBoxBase.ProcessKey (Keys keyData) [0x00000] 
+  at System.Windows.Forms.TextBoxBase.WndProc
+(System.Windows.Forms.Message m) [0x00000] 
+  at System.Windows.Forms.TextBox.WndProc
+(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] 
+  at System.Windows.Forms.XplatUIX11.DispatchMessage
+(System.Windows.Forms.MSG msg) [0x00000] 
+  at System.Windows.Forms.XplatUI.DispatchMessage
+(System.Windows.Forms.MSG msg) [0x00000] 
+  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
+System.Windows.Forms.ApplicationContext context) [0x00000] 
+  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form
+mainForm) [0x00000] 
+  at TextBoxScroll.MainForm.Main (System.String[] args) [0x00000]


More information about the mono-bugs mailing list