[Bug 686553] New: [PATCH] Nullref when clearing TextBox that hasn't been shown yet
https://bugzilla.novell.com/show_bug.cgi?id=686553 https://bugzilla.novell.com/show_bug.cgi?id=686553#c0 Summary: [PATCH] Nullref when clearing TextBox that hasn't been shown yet Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86 OS/Version: openSUSE 11.4 Status: NEW Severity: Major Priority: P5 - None Component: Mono AssignedTo: bnc-team-mono@forge.provo.novell.com ReportedBy: admin@eregion.de QAContact: qa@suse.de CC: gonzalo@novell.com, pacho@condmat1.ciencias.uniovi.es, latifer@streamgrid.net Depends on: 649468 Found By: --- Blocker: --- This bug is definitely present in openSUSE 11.4. +++ This bug was initially created as a clone of Bug #649468 +++ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7 When trying to run Radegast (sources and binaries available at http://code.google.com/p/radegast/downloads/list ) with mono-2.8 both the release and current git master I get the following exception from the WinForms: Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at System.Windows.Forms.Document.LineTagToCharIndex (System.Windows.Forms.Line line, Int32 pos) [0x00000] in <filename unknown>:0 at System.Windows.Forms.RichTextBox.set_SelectionColor (Color value) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.RichTextBox:set_SelectionColor (System.Drawing.Color) at Radegast.RichTextBoxPrinter.set_ForeColor (Color value) [0x00000] in <filename unknown>:0 at Radegast.ChatTextManager.ProcessBufferItem (Radegast.ChatBufferItem item, Boolean addToBuffer) [0x00000] in <filename unknown>:0 at Radegast.ChatTextManager.ReprintAllText () [0x00000] in <filename unknown>:0 Bisected the problem to commit efac449236dd0b9d34daddecf36f2f2a888faf81 and made a patch that fixes the problem http://github.com/lkalif/mono/commit/cbba5894f0844951319af0892da6b0a1d863612... Reproducible: Always Steps to Reproduce: 1. Start Radegast 2. 3. Actual Results: Nullref exception Expected Results: Program starts -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=686553
https://bugzilla.novell.com/show_bug.cgi?id=686553#c1
--- Comment #1 from Mathias Homann
https://bugzilla.novell.com/show_bug.cgi?id=686553
https://bugzilla.novell.com/show_bug.cgi?id=686553#c2
--- Comment #2 from Mathias Homann
https://bugzilla.novell.com/show_bug.cgi?id=686553
https://bugzilla.novell.com/show_bug.cgi?id=686553#c3
--- Comment #3 from Mathias Homann
participants (1)
-
bugzilla_noreply@novell.com