[Mono-dev] Nullref when clearing TextBox that hasn't been shown yet

Stifu stifu at free.fr
Tue Oct 19 14:07:09 EDT 2010


I can confirm this bug.


Latif Khalifa wrote:
> 
> Hi,
> 
> 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/cbba5894f0844951319af0892da6b0a1d863612c
> 
> Latif
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
> 

-- 
View this message in context: http://mono.1490590.n4.nabble.com/Nullref-when-clearing-TextBox-that-hasn-t-been-shown-yet-tp3002455p3002521.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list