such as,
SciChartSurface didn’t render, because an exception was thrown:
Message: Object reference not set to an instance of an object.
Stack Trace: at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length)
at SciChart.Data.Model.Values1.qui(Int32 tht)
1 resampledXValues, Values
at jrj.ResampleInternal(Values1 resampledYValues, Vectori resampledIndices, Double[] xValues, Double[] yValues, ResamplingArgs args)
2.dlq(IList
at SciChart.Data.Numerics.PointResamplers.ExtremeResamplerBase1 hxl, IList
1 hxm, IPointSeries hxn, ResamplingArgs hxo, DoubleRange hxp)
at SciChart.Data.Numerics.PointResamplers.ExtremeResamplerBase2.Execute(IList
1 xColumn, IList1 yColumn, ResamplingParams resamplingParams, ResamplingMode resamplingMode, IPointSeries lastPointSeries)
2.ToPointSeriesInternal(ResamplingParams resamplingParams, ResamplingMode resamplingMode, IPointResamplerFactory factory, IPointSeries lastPointSeries)
at SciChart.Charting.Model.DataSeries.XyDataSeries
at SciChart.Charting.Model.DataSeries.DataSeries`2.ToPointSeries(ResamplingParams resamplingParams, ResamplingMode resamplingMode, IPointResamplerFactory factory, IPointSeries lastPointSeries)
at jfw.dxn(AxisCollection cax, IRenderableSeries cay, RenderPassInfo caz, IPointResamplerFactory cba, Boolean cbb, IDataSeries& cbc, IndexRange& cbd, IPointSeries& cbe, Int32& cbf)
at jfw.dxl(ISciChartSurface cat, Size cau, Boolean cav)
at jfw.RenderLoop(IRenderContext2D renderContext)
at SciChart.Charting.Visuals.SciChartSurface.DoDrawingLoop()
- YXJ YXJ asked 3 years ago
- You must login to post comments
The code is here,i can reproduce the issue.I hope you can solve it.
- YXJ YXJ answered 3 years ago
- You must login to post comments
Hi there,
Can you confirm a few things for us please?
- Does the problem occur in the latest release of SciChart WPF v6.3?
- Is there a specific set of code or configuration that causes this problem?
If you’re able to share with us code that reproduces the issue, even if intermittent, our team can investigate and provide a solution.
Thanks and best regards,
Andrew
- Andrew Burnett-Thompson answered 3 years ago
-
Hi,andrew. My reply is below. This problem has been bothering me for a week. I hope you can help me solve it. Thanks and best regards.
-
Hello,andrew. I have reproduced it when i modify xaxis numbers frequently. How can I fix this error?
- You must login to post comments
thanks, andrew.
I am sure it is the latest release of SciChart WPF V6.3. The special usage is to use multiple UI threads. However, when i test it in a new project,i can’t reproduce the issue. About code, i use the scichart in the most common way, each window has a timer to update the dataseries by dispatcher. Is it restricted to use on Multiple UI threads.
- YXJ YXJ answered 3 years ago
-
the detail :System.ExecutionEngineException:“Exception_WasThrown”
- You must login to post comments
Please login first to submit.