[Mono-bugs] [Bug 347233] New: ArgumentOutOfRangeException when Removing Item from Sorted ListView
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Dec 10 04:57:32 EST 2007
https://bugzilla.novell.com/show_bug.cgi?id=347233
Summary: ArgumentOutOfRangeException when Removing Item from
Sorted ListView
Product: Mono: Class Libraries
Version: 1.2.6
Platform: x86-64
OS/Version: SLES 10
Status: NEW
Severity: Major
Priority: P5 - None
Component: Windows.Forms
AssignedTo: mono-bugs at ximian.com
ReportedBy: carsten.sponsel at astrum-it.de
QAContact: mono-bugs at ximian.com
Found By: ---
When Removing an existing item from a sorted (ListBox.Sorted = true) ListBox,
the Application crashes with an ArgumentOutOfRangeException. If ListBox.Sorted
is set to false, the Exception does NOT happen.
Exception Message:
Argument is out of range.
Parameter name: GetItemRectangle index out of range.
The StackTrace:
at System.Windows.Forms.ListBox.GetItemRectangle (Int32 index) [0x00167] in
/tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs:844
at System.Windows.Forms.ListBox.GetItemDisplayRectangle (Int32 index, Int32
first_displayble) [0x00008] in
/tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs:1280
at System.Windows.Forms.ListBox.Draw (Rectangle clip, System.Drawing.Graphics
dc) [0x000b8] in
/tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs:1253
at System.Windows.Forms.ListBox.OnPaintInternal
(System.Windows.Forms.PaintEventArgs pevent) [0x0000c] in
/tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs:1836
at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m)
[0x0004c] in
/tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:5224
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
[0x0016c] in
/tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4993
at System.Windows.Forms.ListBox.WndProc (System.Windows.Forms.Message& m)
[0x00000] in
/tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs:1139
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
(System.Windows.Forms.Message& m) [0x00000] in
/tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:225
at System.Windows.Forms.Control+ControlNativeWindow.WndProc
(System.Windows.Forms.Message& m) [0x00000] in
/tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:206
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr
wParam, IntPtr lParam) [0x0006a] in
/tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:188
at System.Windows.Forms.XplatUIX11.SendMessage (IntPtr hwnd, Msg message,
IntPtr wParam, IntPtr lParam) [0x0008d] in
/tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:4883
at System.Windows.Forms.XplatUIX11.UpdateWindow (IntPtr handle) [0x00029] in
/tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:5662
at System.Windows.Forms.XplatUI.UpdateWindow (IntPtr handle) [0x00000] in
/tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:1154
at System.Windows.Forms.Control.Refresh () [0x0001c] in
/tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3971
at System.Windows.Forms.ListBox.Sort () [0x0001c] in
/tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs:1125
at System.Windows.Forms.ListBox.CollectionChanged () [0x0000b] in
/tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs:2002
at System.Windows.Forms.ListBox+ObjectCollection.RemoveAt (Int32 index)
[0x00046] in
/tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs:2469
at System.Windows.Forms.ListBox+ObjectCollection.Remove (System.Object value)
[0x00007] in
/tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs:2459
at SequenceModelView.N4SeqInfoSelectPanel.set_SelectedN4SeqInfos (IList`1
value) [0x00061] in
/home/cnsponse/nz/trunk/nz/dlls/SequenceModelView/N4SeqInfoSelectPanel.cs:163
at (wrapper remoting-invoke-with-check)
SequenceModelView.N4SeqInfoSelectPanel:set_SelectedN4SeqInfos
(System.Collections.Generic.IList`1)
at SequenceModelView.SubSeqDefPanel.FillContent () [0x00118] in
/home/cnsponse/nz/trunk/nz/dlls/SequenceModelView/SubSeqDefPanel.cs:170
at SequenceModelView.SubSeqDefPanel.UpdateObserver () [0x00000] in
/home/cnsponse/nz/trunk/nz/dlls/SequenceModelView/SubSeqDefPanel.cs:185
at
Common.ObservableDictionary`2[System.String,SequenceModel.SubSequence].UpdateObservers
() [0x00018] in
/home/cnsponse/nz/trunk/nz/dlls/Common/ObservableDictionary.cs:86
at Common.ObservableDictionary`2[System.String,SequenceModel.SubSequence].Add
(System.String , SequenceModel.SubSequence ) [0x0001a] in
/home/cnsponse/nz/trunk/nz/dlls/Common/ObservableDictionary.cs:49
at SeqModelSerialization.SeqModelReader.LoadApplSpecPart
(System.Xml.XmlDocument xdoc) [0x00e57] in
/home/cnsponse/nz/trunk/nz/dlls/SeqModelSerialization/SeqModelReader.cs:510
at SeqModelSerialization.SeqModelReader.Load (System.IO.TextReader rReader)
[0x0004c] in
/home/cnsponse/nz/trunk/nz/dlls/SeqModelSerialization/SeqModelReader.cs:575
at Gismo.GismoApplication.OpenFile (System.String sFilename) [0x000bb] in
/home/cnsponse/nz/trunk/nz/exes/Gismo/GismoApplication.cs:1039
Crash happens in mono 1.2.6 preview 3.
--
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