We are using SemibindableCharting, version 7.2.6.4001.
We have a 3D chart and drawing a PointLineSeries3D with PointsCompact bound to a SeriesPointCompact3D[] array.
When we dispose the chart, we get the error below - it seems the wpf is setting PointsCompact to null and the chart doesn't like that?
Code: Select all
System.NullReferenceException occurred
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=Arction.Wpf.SemibindableCharting.LightningChartUltimate
StackTrace:
at Arction.Wpf.SemibindableCharting.Series3D.PointLineSeries3D.PointsCompactChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) in f:\dd\wpf\src\Base\System\Windows\DependencyObject.cs:line 2082
at System.Windows.Freezable.OnPropertyChanged(DependencyPropertyChangedEventArgs e) in f:\dd\wpf\src\Base\System\Windows\Freezable.cs:line 310
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) in f:\dd\wpf\src\Base\System\Windows\DependencyObject.cs:line 1756
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType) in f:\dd\wpf\src\Base\System\Windows\DependencyObject.cs:line 1570
at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue) in f:\dd\wpf\src\Base\System\Windows\DependencyObject.cs:line 1234
at System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange) in f:\dd\wpf\src\Framework\System\Windows\Data\BindingExpressionBase.cs:line 1519
at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange) in f:\dd\wpf\src\Framework\System\Windows\Data\BindingExpression.cs:line 1494
at System.Windows.Data.BindingExpression.Activate(Object item) in f:\dd\wpf\src\Framework\System\Windows\Data\BindingExpression.cs:line 1024
at System.Windows.Data.BindingExpression.OnDataContextChanged(DependencyObject contextElement) in f:\dd\wpf\src\Framework\System\Windows\Data\BindingExpression.cs:line 2417
at System.Windows.Data.BindingExpression.HandlePropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args) in f:\dd\wpf\src\Framework\System\Windows\Data\BindingExpression.cs:line 2644
at System.Windows.Data.BindingExpressionBase.OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args) in f:\dd\wpf\src\Framework\System\Windows\Data\BindingExpressionBase.cs:line 449
at System.Windows.Data.BindingExpression.OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args) in f:\dd\wpf\src\Framework\System\Windows\Data\BindingExpression.cs:line 255
at System.Windows.DependentList.InvalidateDependents(DependencyObject source, DependencyPropertyChangedEventArgs sourceArgs) in f:\dd\wpf\src\Base\System\Windows\DependentList.cs:line 63
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) in f:\dd\wpf\src\Base\System\Windows\DependencyObject.cs:line 1777
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType) in f:\dd\wpf\src\Base\System\Windows\DependencyObject.cs:line 1570
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal) in f:\dd\wpf\src\Base\System\Windows\DependencyObject.cs:line 839
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value) in f:\dd\wpf\src\Base\System\Windows\DependencyObject.cs:line 428
at Arction.Wpf.SemibindableCharting.LightningChartUltimate.KYB(Boolean A)
at Arction.Wpf.SemibindableCharting.LightningChartUltimate.Dispose()
Code: Select all
System.NullReferenceException occurred
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=Arction.Wpf.SemibindableCharting.LightningChartUltimate
StackTrace:
at Arction.Wpf.SemibindableCharting.Series3D.PointLineSeries3D.PointsChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) in f:\dd\wpf\src\Base\System\Windows\DependencyObject.cs:line 2082
at System.Windows.Freezable.OnPropertyChanged(DependencyPropertyChangedEventArgs e) in f:\dd\wpf\src\Base\System\Windows\Freezable.cs:line 310
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) in f:\dd\wpf\src\Base\System\Windows\DependencyObject.cs:line 1756
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType) in f:\dd\wpf\src\Base\System\Windows\DependencyObject.cs:line 1570
at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue) in f:\dd\wpf\src\Base\System\Windows\DependencyObject.cs:line 1234
at System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange) in f:\dd\wpf\src\Framework\System\Windows\Data\BindingExpressionBase.cs:line 1519
at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange) in f:\dd\wpf\src\Framework\System\Windows\Data\BindingExpression.cs:line 1494
at System.Windows.Data.BindingExpression.Activate(Object item) in f:\dd\wpf\src\Framework\System\Windows\Data\BindingExpression.cs:line 1024
at System.Windows.Data.BindingExpression.OnDataContextChanged(DependencyObject contextElement) in f:\dd\wpf\src\Framework\System\Windows\Data\BindingExpression.cs:line 2417
at System.Windows.Data.BindingExpression.HandlePropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args) in f:\dd\wpf\src\Framework\System\Windows\Data\BindingExpression.cs:line 2644
at System.Windows.Data.BindingExpressionBase.OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args) in f:\dd\wpf\src\Framework\System\Windows\Data\BindingExpressionBase.cs:line 449
at System.Windows.Data.BindingExpression.OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args) in f:\dd\wpf\src\Framework\System\Windows\Data\BindingExpression.cs:line 255
at System.Windows.DependentList.InvalidateDependents(DependencyObject source, DependencyPropertyChangedEventArgs sourceArgs) in f:\dd\wpf\src\Base\System\Windows\DependentList.cs:line 63
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) in f:\dd\wpf\src\Base\System\Windows\DependencyObject.cs:line 1777
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType) in f:\dd\wpf\src\Base\System\Windows\DependencyObject.cs:line 1570
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal) in f:\dd\wpf\src\Base\System\Windows\DependencyObject.cs:line 839
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value) in f:\dd\wpf\src\Base\System\Windows\DependencyObject.cs:line 428
at Arction.Wpf.SemibindableCharting.LightningChartUltimate.KYB(Boolean A)
at Arction.Wpf.SemibindableCharting.LightningChartUltimate.Dispose()
...