This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
We are using Aug 7, 2013 5.0 nightly build. We have a chart that update the plots very often(in real time), now and then we have following exceptions (it may happen when it is updating, you click on the chart) During the process, we did set the min and max values, but they are all normal values. System.OverflowException: Negating the minimum value of a twos complement number is invalid. at System.Math.Abs(Int32 value) at Mindscape.WpfElements.Charting.ChartAxis.#Asc() at Mindscape.WpfElements.Charting.ChartAxis.#wsc(Boolean raiseEvent) at Mindscape.WpfElements.Charting.ChartAxis.#nlb(Double value) at Mindscape.WpfElements.Charting.Chart.#Gvc() at Mindscape.WpfElements.Charting.Chart.#7T() at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) and the following: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.OverflowException: Negating the minimum value of a twos complement number is invalid. at System.Math.Abs(Int32 value) at Mindscape.WpfElements.Charting.ChartAxis.#Asc() at Mindscape.WpfElements.Charting.ChartAxis.#wsc(Boolean raiseEvent) --- End of inner exception stack trace --- at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Delegate.DynamicInvokeImpl(Object[] args) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) I thought this build is our final builds, but it seems not working well.... Please fix it asap. Gordon |
|
|
Hello Gordon Thanks for the stack traces, I've put checks in these 2 points of code to prevent this from happening. This fix will be available in the next nightly build. Jason Fauchelle |
|