[Mono-bugs] [Bug 590100] New: InvalidOperationException when adding ToolStripItem to Collection
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Mar 22 04:11:03 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=590100
http://bugzilla.novell.com/show_bug.cgi?id=590100#c0
Summary: InvalidOperationException when adding ToolStripItem to
Collection
Classification: Mono
Product: Mono: Class Libraries
Version: 2.6.x
Platform: x86
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: andreas.flucke at t-online.de
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Sometimes this exception is thrown when ToolStripItems are dynamically added to
the ToolStripItemCollection
System.InvalidOperationException: List has changed.
at System.Collections.ArrayList+SimpleEnumerator.MoveNext () [0x00068] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.6.3\mcs\class\corlib\System.Collections\ArrayList.cs:150
at System.Windows.Forms.ToolStrip.SetDisplayedItems () [0x00074] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.6.3\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ToolStrip.cs:1170
at System.Windows.Forms.ToolStripDropDownMenu.SetDisplayedItems () [0x00000]
in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.6.3\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ToolStripDropDownMenu.cs:179
at System.Windows.Forms.ToolStripDropDownMenu.OnLayout
(System.Windows.Forms.LayoutEventArgs e) [0x001e6] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.6.3\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ToolStripDropDownMenu.cs:157
at System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.Control
affectedControl, System.String affectedProperty) [0x00066] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.6.3\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:4087
at System.Windows.Forms.Control.PerformLayout () [0x00000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.6.3\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:4064
at System.Windows.Forms.ToolStrip.OnItemAdded
(System.Windows.Forms.ToolStripItemEventArgs e) [0x00033] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.6.3\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ToolStrip.cs:806
at System.Windows.Forms.ToolStripItemCollection.Add
(System.Windows.Forms.ToolStripItem value) [0x00056] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.6.3\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ToolStripItemCollection.cs:118
Reproducible: Sometimes
Steps to Reproduce:
1.
2.
3.
--
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