SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components

0
0

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)
at jrj.ResampleInternal(Values
1 resampledXValues, Values1 resampledYValues, Vectori resampledIndices, Double[] xValues, Double[] yValues, ResamplingArgs args)
at SciChart.Data.Numerics.PointResamplers.ExtremeResamplerBase
2.dlq(IList1 hxl, IList1 hxm, IPointSeries hxn, ResamplingArgs hxo, DoubleRange hxp)
at SciChart.Data.Numerics.PointResamplers.ExtremeResamplerBase2.Execute(IList1 xColumn, IList1 yColumn, ResamplingParams resamplingParams, ResamplingMode resamplingMode, IPointSeries lastPointSeries)
at SciChart.Charting.Model.DataSeries.XyDataSeries
2.ToPointSeriesInternal(ResamplingParams resamplingParams, ResamplingMode resamplingMode, IPointResamplerFactory factory, IPointSeries lastPointSeries)
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()

Version
6.1
  • You must to post comments
0
0

Hi there,

Can you confirm a few things for us please?

  1. Does the problem occur in the latest release of SciChart WPF v6.3?
  2. 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

  • YXJ YXJ
    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.
  • YXJ YXJ
    Hello,andrew. I have reproduced it when i modify xaxis numbers frequently. How can I fix this error?
  • You must to post comments
0
0

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.

Images
  • YXJ YXJ
    the detail :System.ExecutionEngineException:“Exception_WasThrown”
  • You must to post comments
0
0

The code is here,i can reproduce the issue.I hope you can solve it.

Attachments
  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.