[Mono-bugs] [Bug 339753] New: The RTF Control is not working well.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Nov 7 05:12:10 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=339753

           Summary: The RTF Control is not working well.
           Product: Mono: Class Libraries
           Version: 1.2
          Platform: Other
        OS/Version: Ubuntu
            Status: NEW
          Severity: Blocker
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: mohsinhijazee at zeropoint.it
         QAContact: mono-bugs at ximian.com
          Found By: Component Test


NET Reflector is a major free tool to investigate the inners of the
assemblies. It runs very well on the .NET Framework 2.0 and also starts well on
Mono but when it tries to populate its RTF control, it simply crashes.

Here is the bug report along with the stack trace

================================================================

'2' is not a valid value for 'Value'. 'Value' should be between 'Minimum'
and 'Maximum'
Parameter name: Value

System.ArgumentOutOfRangeException

  at System.Windows.Forms.ScrollBar.set_Value (Int32 value) [0x00000] 
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.ScrollBar:set_Value (int)
  at System.Windows.Forms.TextBoxBase.CaretMoved (System.Object sender,
System.EventArgs e) [0x00000] 
  at System.Windows.Forms.TextBoxBase.ScrollToCaret () [0x00000] 
  at System.Windows.Forms.TextBoxBase.CreateHandle () [0x00000] 
  at System.Windows.Forms.Control.CreateGraphics () [0x00000] 
  at System.Windows.Forms.RichTextBox.HandleControl
(System.Windows.Forms.RTF.RTF rtf) [0x00000] 
  at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_RTF
(System.Windows.Forms.RTF.RTF)
  at System.Windows.Forms.RTF.RTF.RouteToken () [0x00000] 
  at System.Windows.Forms.RTF.RTF.Read () [0x00000] 
  at System.Windows.Forms.RichTextBox.InsertRTFFromStream (System.IO.Stream
data, Int32 cursor_x, Int32 cursor_y, System.Int32& to_x, System.Int32&
to_y, System.Int32& chars) [0x00000] 
  at System.Windows.Forms.RichTextBox.InsertRTFFromStream (System.IO.Stream
data, Int32 cursor_x, Int32 cursor_y) [0x00000] 
  at System.Windows.Forms.RichTextBox.set_Rtf (System.String value)
[0x00000] 
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.RichTextBox:set_Rtf (string)
  at ?.? () [0x00000] 
  at ?.? (Boolean A_0, Boolean A_1, Boolean A_2) [0x00000] 
  at ?.? (System.EventArgs A_0) [0x00000] 
  at System.Windows.Forms.Control.ChangeParent (System.Windows.Forms.Control
new_parent) [0x00000] 
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control:ChangeParent (System.Windows.Forms.Control)
  at System.Windows.Forms.Control+ControlCollection.Add
(System.Windows.Forms.Control value) [0x00000] 
  at System.Windows.Forms.Control+ControlCollection.AddRange
(System.Windows.Forms.Control[] controls) [0x00000] 
  at ?.? () [0x00000] 
  at ?.? (IWindow A_0) [0x00000] 
  at (wrapper remoting-invoke-with-check) ?:? (Reflector.IWindow)
  at ?.? (System.String A_0) [0x00000] 
  at (wrapper remoting-invoke-with-check) ?:? (string)
  at ?+?.? (Boolean A_0) [0x00000] 
  at ?.? () [0x00000] 
  at ?.? () [0x00000] 
  at ?.OnMouseDown (System.Windows.Forms.MouseEventArgs e) [0x00000] 
  at System.Windows.Forms.Control.WmLButtonDblClick
(System.Windows.Forms.Message& m) [0x00000] 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
[0x00000] 
  at System.Windows.Forms.TreeView.WndProc (System.Windows.Forms.Message& m)
[0x00000] 
  at ?.? (System.Windows.Forms.Message& A_0) [0x00000] 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
(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] 


NET Reflector 5.0.45.0
NET Framework 2.0.50727.42
Unix 2.6.22.14
Culture: en-US (en-US)


[AssemblyCache]
"%SystemRoot%\Microsoft.net"
"%ProgramFiles%\Reference Assemblies"
"%ProgramFiles%\Microsoft.net"
"%ProgramFiles%\Microsoft Silverlight"

[AssemblyManager]
"/usr/lib/mono/2.0/mscorlib.dll"
"/usr/lib/mono/2.0/System.dll"
"/usr/lib/mono/2.0/System.Xml.dll"
"/usr/lib/mono/2.0/System.Data.dll"
"/usr/lib/mono/2.0/System.Web.dll"
"/usr/lib/mono/2.0/System.Drawing.dll"
"/usr/lib/mono/2.0/System.Windows.Forms.dll"

[LanguageManager]
ActiveLanguage="C#"

[WindowManager]
X="22"
Y="25"
Width="480"
Height="600"
Pane="613"
Maximized="true"


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list