This is a migrated thread and some comments may be shown as answers.

Exception

1 Answer 135 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Leticia
Top achievements
Rank 1
Leticia asked on 18 Nov 2015, 01:50 PM

Hi folks.

My client had an exception, and I have no idea how to reproduce it.

Do you have any idea what could cause it?

I'm using telerik for wpf version 2015.2.728.40.

Thanks a lot!

Exception:
System.InvalidOperationException: Coleção foi modificada; talvez a operação de enumeração não seja executada.
   em System.Collections.Hashtable.HashtableEnumerator.MoveNext()
   em Telerik.Windows.Controls.GridView.PropertyMap.Initialize()
   em Telerik.Windows.Controls.GridView.PropertyMap.SetReference(Object key, Object value)
   em Telerik.Windows.Controls.GridView.GridViewPropertyUpdater.GetPropertyUpdateMap(DependencyObject d)
   em Telerik.Windows.Controls.GridView.GridViewPropertyUpdater.UpdateProperty(DependencyObject d, DependencyProperty p)
   em Telerik.Windows.Controls.GridView.GridViewRowItem.OnApplyTemplate()
   em Telerik.Windows.Controls.GridView.GridViewRow.OnApplyTemplate()
   em System.Windows.FrameworkElement.ApplyTemplate()
   em System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   em System.Windows.UIElement.Measure(Size availableSize)
   em Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.NestedLayoutStrategy.MeasureChild(UIElement child, Size layoutSlotSize, Int32 i)
   em Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.NestedLayoutStrategy.MeasureOverride(Size constraint)
   em Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.MeasureOverride(Size availableSize)
   em System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   em System.Windows.UIElement.Measure(Size availableSize)
   em System.Windows.ContextLayoutManager.UpdateLayout()
   em System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   em System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
   em System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   em System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   em System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   em System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   em MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

1 Answer, 1 is accepted

Sort by
0
Accepted
Dilyan Traykov
Telerik team
answered on 23 Nov 2015, 12:09 PM
Hello Leticia,

Thank you for reporting this exception. I can confirm that it is a bug on our side when using multiple UI threads. I have logged it in our system and rewarded you with some Telerik points.

You can follow the status of the issue in our Feedback Portal.

Regards,
Dilyan Traykov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
GridView
Asked by
Leticia
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Share this question
or