hello,
while running some CodedUI Tests on WPF Aplication who use Rad Gridview (2012 Q1)
Usual CodedUI Test (click on grid, click On Cells, Press Down...)
using VS2010
Windows XP.
suddenly i got this Exception from the Application itself (not the test!)
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generics.List'1.Enumerator.MoveNextRare()
at System.Collections.Generics.List'1.Enumerator.MoveNext()
at
Telerik.Windows.Controls.GridView.Automation.GridViewDataControlAutomationPeer.GeneratePeersForDataItems(List'1 newPeerList, AutomationPeerStorage'2 oldCachedPeers)
at
Telerik.Windows.Controls.GridView.Automation.GridViewDataControlAutomationPeer.GetItemPeers()
at
Telerik.Windows.Controls.GridView.Automation.GridViewVirtualizingPanelAutomationPeer.GetChildrenCore()
at Telerik.Windows.Automation.Peers.AutomationPeer.EnsureChildren()
at Telerik.Windows.Automation.Peers.AutomationPeer.UpdateChildrenInternal(Int32 invalidateLimit)
at System.Windows.Automation.Peers.AutomationPeer.UpdateChildren()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.ContextLayOutManager.fireAutomationEvents()
at System.Windows.ContextLayOutManager.UpdateLayout()
at System.Windows.ContextLayOutManager.UpdateLayoutCallBack(Object arg)
at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object Args, Int32 numArgs, Delegate catchHandler)
can someone help..?
thanks in advance.
while running some CodedUI Tests on WPF Aplication who use Rad Gridview (2012 Q1)
Usual CodedUI Test (click on grid, click On Cells, Press Down...)
using VS2010
Windows XP.
suddenly i got this Exception from the Application itself (not the test!)
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generics.List'1.Enumerator.MoveNextRare()
at System.Collections.Generics.List'1.Enumerator.MoveNext()
at
Telerik.Windows.Controls.GridView.Automation.GridViewDataControlAutomationPeer.GeneratePeersForDataItems(List'1 newPeerList, AutomationPeerStorage'2 oldCachedPeers)
at
Telerik.Windows.Controls.GridView.Automation.GridViewDataControlAutomationPeer.GetItemPeers()
at
Telerik.Windows.Controls.GridView.Automation.GridViewVirtualizingPanelAutomationPeer.GetChildrenCore()
at Telerik.Windows.Automation.Peers.AutomationPeer.EnsureChildren()
at Telerik.Windows.Automation.Peers.AutomationPeer.UpdateChildrenInternal(Int32 invalidateLimit)
at System.Windows.Automation.Peers.AutomationPeer.UpdateChildren()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.ContextLayOutManager.fireAutomationEvents()
at System.Windows.ContextLayOutManager.UpdateLayout()
at System.Windows.ContextLayOutManager.UpdateLayoutCallBack(Object arg)
at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object Args, Int32 numArgs, Delegate catchHandler)
can someone help..?
thanks in advance.