[Mono-bugs] [Bug 510890] New: ArgumentOutOfRangeException on rdldesigner close

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jun 8 07:51:34 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=510890


           Summary: ArgumentOutOfRangeException on rdldesigner close
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: x86
        OS/Version: Windows Vista
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: kobruleht2 at hot.ee
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=296719)
 --> (http://bugzilla.novell.com/attachment.cgi?id=296719)
testcase

Steps to reproduce the problem:

1. unzip attached files to some directory, put mono bin directory to path
2. Run testcase.bat 
3. click on "The world countries"
4. close application by pressing to x in upper right corner
5. answer no to save prompt

Actual Results:

System.ArgumentOutOfRangeException: Cannot be negative.
Parameter name: length
  at System.String.Substring (Int32 startIndex, Int32 length) [0x00000] 
  at fyiReporting.RdlDesign.RdlDesigner.ctlZoom_Change (System.Object sender,
System.EventArgs e) [0x00000] 
  at System.Windows.Forms.Control.OnValidated (System.EventArgs e) [0x00000] 
  at System.Windows.Forms.Control.FireValidated () [0x00000] 
  at System.Windows.Forms.ContainerControl.ValidateControl
(System.Windows.Forms.Control c) [0x00000] 
  at System.Windows.Forms.ContainerControl.ValidateNestedControls
(System.Windows.Forms.Control c, ValidationConstraints constraints, Boolean
recurse) [0x00000] 
  at System.Windows.Forms.ContainerControl.ValidateNestedControls
(System.Windows.Forms.Control c, ValidationConstraints constraints, Boolean
recurse) [0x00000] 
  at System.Windows.Forms.ContainerControl.ValidateChildren
(ValidationConstraints validationConstraints) [0x00000] 
  at System.Windows.Forms.Form.ValidateChildren (ValidationConstraints
validationConstraints) [0x00000] 
  at System.Windows.Forms.ContainerControl.ValidateChildren () [0x00000] 
  at System.Windows.Forms.Form.ValidateChildren () [0x00000] 
  at System.Windows.Forms.Form.WmClose (System.Windows.Forms.Message& m)
[0x00000] 
  at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m)
[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] 
System.ObjectDisposedException: The object was used after being disposed.
at System.Windows.Forms.Control.CreateHandle () <0x00246>
at System.Windows.Forms.Form.CreateHandle () <0x00014>
at System.Windows.Forms.Control.get_Handle () <0x00042>
at System.Windows.Forms.MessageBox/MessageBoxForm..ctor
(System.Windows.Forms.IWin32Window,string,string,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon,bool)
<0x000d6>
at System.Windows.Forms.MessageBox/MessageBoxForm..ctor
(System.Windows.Forms.IWin32Window,string,string,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon,System.Windows.Forms.MessageBoxDefaultButton,System.Windows.Forms.MessageBoxOptions,bool)
<0x00024>
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.MessageBox/MessageBoxForm..ctor
(System.Windows.Forms.IWin32Window,string,string,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon,System.Windows.Forms.MessageBoxDefaultButton,System.Windows.Forms.MessageBoxOptions,bool)
<0x00080>
at System.Windows.Forms.MessageBox.Show
(System.Windows.Forms.IWin32Window,string,string,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon,System.Windows.Forms.MessageBoxDefaultButton)
<0x0003c>
at fyiReporting.RdlDesign.MDIChild.OkToClose () <0x00082>
at fyiReporting.RdlDesign.MDIChild.MDIChild_Closing
(object,System.ComponentModel.CancelEventArgs) <0x00012>
at System.Windows.Forms.Form.OnClosing (System.ComponentModel.CancelEventArgs)
<0x00052>
at System.Windows.Forms.Form.FireClosingEvents
(System.Windows.Forms.CloseReason,bool) <0x00032>
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Form.FireClosingEvents
(System.Windows.Forms.CloseReason,bool) <0x00064>
at System.Windows.Forms.Application.Exit
(System.ComponentModel.CancelEventArgs) <0x0014c>
at System.Windows.Forms.Application.Exit () <0x00027>
at System.Windows.Forms.Application.OnThreadException (System.Exception)
<0x000eb>
at System.Windows.Forms.NativeWindow.OnThreadException (System.Exception)
<0x00010>
at System.Windows.Forms.NativeWindow.WndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x004cf>
at System.Windows.Forms.XplatUIWin32.InternalWndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x00060>
at (wrapper native-to-managed)
System.Windows.Forms.XplatUIWin32.InternalWndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x0006a>
at (wrapper managed-to-native)
System.Windows.Forms.XplatUIWin32.Win32DefWindowProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x00004>
at System.Windows.Forms.XplatUIWin32.DefWndProc (System.Windows.Forms.Message&)
<0x00023>
at System.Windows.Forms.XplatUI.DefWndProc (System.Windows.Forms.Message&)
<0x0001a>
at System.Windows.Forms.NativeWindow.DefWndProc (System.Windows.Forms.Message&)
<0x00010>
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.NativeWindow.DefWndProc (System.Windows.Forms.Message&)
<0x0005a>
at System.Windows.Forms.Control.DefWndProc (System.Windows.Forms.Message&)
<0x00019>
at System.Windows.Forms.Form.DefWndProc (System.Windows.Forms.Message&)
<0x00013>
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&)
<0x00395>
at System.Windows.Forms.ScrollableControl.WndProc
(System.Windows.Forms.Message&) <0x00013>
at System.Windows.Forms.ContainerControl.WndProc
(System.Windows.Forms.Message&) <0x00051>
at System.Windows.Forms.Form.WmSysCommand (System.Windows.Forms.Message&)
<0x00038>
at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message&) <0x0011d>
at System.Windows.Forms.Control/ControlWindowTarget.OnMessage
(System.Windows.Forms.Message&) <0x0001a>
at System.Windows.Forms.Control/ControlNativeWindow.WndProc
(System.Windows.Forms.Message&) <0x0002a>
at System.Windows.Forms.NativeWindow.WndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x001e1>

Note:

sources are available at http://fyireporting.com

-- 
Configure bugmail: http://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