InvalidOperationException when closing app
Posted: Wed Sep 14, 2016 11:47 am
Hello,
when a chart is displayed on screen and I close the application, I get InvalidOperationException. This was not happening on v6.
when a chart is displayed on screen and I close the application, I get InvalidOperationException. This was not happening on v6.
Code: Select all
System.Transactions Critical: 0 : <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Critical"><TraceIdentifier>http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/Unhandled</TraceIdentifier><Description>Unhandled exception</Description><AppDomain>---.exe</AppDomain><Exception><ExceptionType>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The calling thread cannot access this object because a different thread owns it.</Message><StackTrace> at System.Windows.Threading.Dispatcher.VerifyAccess()
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at Arction.Wpf.Charting.LightningChartUltimate.OXB(Boolean A)
at Arction.Wpf.Charting.LightningChartUltimate.Finalize()</StackTrace><ExceptionString>System.InvalidOperationException: The calling thread cannot access this object because a different thread owns it.
at System.Windows.Threading.Dispatcher.VerifyAccess()
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at Arction.Wpf.Charting.LightningChartUltimate.OXB(Boolean A)
at Arction.Wpf.Charting.LightningChartUltimate.Finalize()</ExceptionString></Exception></TraceRecord>