[Mono-bugs] [Bug 506286] New: DataGrid: create new row crash the application

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri May 22 03:47:18 EDT 2009


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


           Summary: DataGrid: create new row crash the application
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: x86
        OS/Version: openSUSE 11.1
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: cachen at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


REPRO:

1. run the attachment IronPython sample with IPCE installed
2. click empty cell under Edit2, a new row to be created
3. then click other cells

RESULTS:

application is crashed when doing step3 in Linux, but it can works well in
Vista

System.IndexOutOfRangeException: list position
  at System.Windows.Forms.CurrencyManager.get_Current () [0x0003f] in
/usr/src/packages/BUILD/mono-133896/mcs/class/Managed.Windows.Forms/System.Windows.Forms/CurrencyManager.cs:67 
  at System.Windows.Forms.CurrencyManager.EndCurrentEdit () [0x0000d] in
/usr/src/packages/BUILD/mono-133896/mcs/class/Managed.Windows.Forms/System.Windows.Forms/CurrencyManager.cs:257 
  at System.Windows.Forms.DataGrid.AddNewRow () [0x00000] in
/usr/src/packages/BUILD/mono-133896/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGrid.cs:2525 
  at System.Windows.Forms.DataGrid.set_CurrentCell (DataGridCell value)
[0x0024c] in
/usr/src/packages/BUILD/mono-133896/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGrid.cs:547 
  at System.Windows.Forms.DataGrid.OnMouseDown
(System.Windows.Forms.MouseEventArgs e) [0x0019c] in
/usr/src/packages/BUILD/mono-133896/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGrid.cs:1487 
  at System.Windows.Forms.Control.WmLButtonDown (System.Windows.Forms.Message&
m) [0x0004f] in
/usr/src/packages/BUILD/mono-133896/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:5623 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
[0x00183] in
/usr/src/packages/BUILD/mono-133896/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:5340 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
(System.Windows.Forms.Message& m) [0x00000] in
/usr/src/packages/BUILD/mono-133896/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:234 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
(System.Windows.Forms.Message& m) [0x00000] in
/usr/src/packages/BUILD/mono-133896/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:215 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr
wParam, IntPtr lParam) [0x00085] in
/usr/src/packages/BUILD/mono-133896/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:242

EXPECTED RESULTS:

create new row doesn't crash application

-- 
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