Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3590
Possibly a bug in XamDataChart 12.2?
posted

I recently upgraded my project to use 12.2 dll for my XamDataCharts and now I am getting crashes. Here is the stack trace:

Message :Collection was modified; enumeration operation may not execute.
Source :mscorlib
Stack Trace : at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at System.Collections.Generic.List`1.Enumerator.MoveNext()
at Infragistics.FastItemColumn.get_Maximum()
at Infragistics.Controls.Charts.LineSeries.RenderFrame(CategoryFrame frame, CategorySeriesView view)
at Infragistics.Controls.Charts.CategorySeries.RenderSeriesOverride(Boolean animate)
at Infragistics.Controls.Charts.Series.DoRenderSeries(Boolean animate)
at Infragistics.Controls.Charts.ContentInfo.DoRefresh()
at Infragistics.Controls.Charts.ChartContentManager.DoRefresh()
TargetSite :Void ThrowInvalidOperationException(System.ExceptionResource)

If I revert back to 12.1 I do not see this behavior. I am having difficulties digging into this much further. It could be the way I am updating the collections that the newer version is not allowing anymore. Can you help me figure out if this is a bug in the dll or a bug in the way I am using your dll?