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
490
Threading exception
posted

We get this exception  while calling [UpdateLayout]  on charts in multi UI threads

 

 

 at System.Windows.Threading.Dispatcher.VerifyAccess()

 

   at System.Windows.Threading.DispatcherObject.VerifyAccess()

   at System.Windows.FrameworkTemplate.Seal()

   at System.Windows.Controls.ContentPresenter.OnTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)

   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)

   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)

   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)

   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)

   at System.Windows.Controls.ContentPresenter.EnsureTemplate()

   at System.Windows.Controls.ContentPresenter.OnPreApplyTemplate()

   at System.Windows.FrameworkElement.ApplyTemplate()

   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)

   at System.Windows.UIElement.Measure(Size availableSize)

   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)

   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)

   at System.Windows.UIElement.Measure(Size availableSize)

   at System.Windows.Controls.Control.MeasureOverride(Size constraint)

   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)

   at System.Windows.UIElement.Measure(Size availableSize)

   at Infragistics.Controls.Charts.NumericMarkerManager.Render(IDictionary`2 markers)

   at Infragistics.Controls.Charts.ScatterBase.RenderFrame(ScatterFrame frame)

   at Infragistics.Controls.Charts.ScatterLineSeries.RenderFrame(ScatterFrame frame)

   at Infragistics.Controls.Charts.ScatterBase.RenderSeries(Boolean animate)

   at Infragistics.Controls.Charts.ScatterBase.PropertyUpdatedOverride(Object sender, String propertyName, Object oldValue, Object newValue)

   at Infragistics.Controls.Charts.ScatterLineSeries.PropertyUpdatedOverride(Object sender, String propertyName, Object oldValue, Object newValue)

   at Infragistics.Controls.Charts.Series.<.ctor>b__4(Object o, PropertyUpdatedEventArgs e)

   at Infragistics.Controls.Charts.Series.RaisePropertyChanged(String propertyName, Object oldValue, Object newValue)

   at Infragistics.Controls.Charts.ScatterBase.set_YColumn(IFastItemColumn`1 value)

   at Infragistics.Controls.Charts.ScatterBase.PropertyUpdatedOverride(Object sender, String propertyName, Object oldValue, Object newValue)

   at Infragistics.Controls.Charts.ScatterLineSeries.PropertyUpdatedOverride(Object sender, String propertyName, Object oldValue, Object newValue)

   at Infragistics.Controls.Charts.Series.<.ctor>b__4(Object o, PropertyUpdatedEventArgs e)

   at Infragistics.Controls.Charts.Series.RaisePropertyChanged(String propertyName, Object oldValue, Object newValue)

   at Infragistics.Controls.Charts.Series.<.cctor>b__4e(DependencyObject sender, DependencyPropertyChangedEventArgs e)

   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)

   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)

   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)

   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)

   at Infragistics.Controls.Charts.Series.set_FastItemsSource(FastItemsSource value)

   at Infragistics.Controls.Charts.Series.PropertyUpdatedOverride(Object sender, String propertyName, Object oldValue, Object newValue)

   at Infragistics.Controls.Charts.MarkerSeries.PropertyUpdatedOverride(Object sender, String propertyName, Object oldValue, Object newValue)

   at Infragistics.Controls.Charts.ScatterBase.PropertyUpdatedOverride(Object sender, String propertyName, Object oldValue, Object newValue)

   at Infragistics.Controls.Charts.ScatterLineSeries.PropertyUpdatedOverride(Object sender, String propertyName, Object oldValue, Object newValue)

   at Infragistics.Controls.Charts.Series.<.ctor>b__4(Object o, PropertyUpdatedEventArgs e)

   at Infragistics.Controls.Charts.Series.RaisePropertyChanged(String propertyName, Object oldValue, Object newValue)

   at Infragistics.Controls.Charts.Series.<.cctor>b__4d(DependencyObject sender, DependencyPropertyChangedEventArgs e)

   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)

   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)

   at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp)

   at System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange)

   at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)

   at System.Windows.Data.BindingExpression.Activate(Object item)

   at System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt)

   at System.Windows.Data.BindingExpression.MS.Internal.Data.IDataBindEngineClient.AttachToContext(Boolean lastChance)

   at MS.Internal.Data.DataBindEngine.Task.Run(Boolean lastChance)

   at MS.Internal.Data.DataBindEngine.Run(Object arg)

   at MS.Internal.Data.DataBindEngine.OnLayoutUpdated(Object sender, EventArgs e)

   at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()

   at System.Windows.ContextLayoutManager.UpdateLayout()

   at System.Windows.UIElement.UpdateLayout()

 

 

 

  • 7305
    posted

    This issue has been reported and logged in our issue tracking system. I will create a case and link to an existing issue, so when the service release is out you will be notified. The solution will also be posted here after the fix is released.

    You will receive an email notification shortly. Feel free to reply if you have any questions.

    Thank you,
    Sam