[Mono-bugs] [Bug 445713] New: Exception when clicking down arrow on DomainUpDown control

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 17 11:50:33 EST 2008


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


           Summary: Exception when clicking down arrow on DomainUpDown
                    control
           Product: Mono: Class Libraries
           Version: SVN
          Platform: i686
        OS/Version: openSUSE 11.0
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: btaylor1 at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=252689)
 --> (https://bugzilla.novell.com/attachment.cgi?id=252689)
Test case

I get the following exception when clicking on the down arrow of a DomainUpDown
control when running mono-2-2 branch at r119053.

System.ArgumentOutOfRangeException: Index is less than 0 or more than or equal
to the list count.
Parameter name: index
0
  at System.Collections.ArrayList.ThrowNewArgumentOutOfRangeException
(System.String name, System.Object actual, System.String message) [0x00000] 
  at System.Collections.ArrayList.get_Item (Int32 index) [0x00000] 
  at System.Windows.Forms.DomainUpDown.UpdateEditText () [0x00000] 
  at System.Windows.Forms.DomainUpDown.set_SelectedIndex (Int32 value)
[0x00000] 
  at System.Windows.Forms.DomainUpDown.DownButton () [0x00000] 
  at System.Windows.Forms.UpDownBase+UpDownSpinner.OnMouseDown
(System.Windows.Forms.MouseEventArgs e) [0x00000] 
  at System.Windows.Forms.Control.WmLButtonDown (System.Windows.Forms.Message&
m) [0x00000] 
  at System.Windows.Forms.Control.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] 

When I run the attached testcase on Windows and click the down button, it shows
"First" as I expect.  This behavior is also the same on Mono 1.9.1.


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