chart contol crash and red x appearces

Sometimes the chart crashes and the system.nullreference exeption:

 object reference does not set to an instance of object. at syncfusion.window.forms.chart.chartSeriesRanderer.prepearePoints ()....

it append when I do some updates in chart

I don't recognize specific scenario

my syncfusion version :16.1460.0.37

I attached my chart code

how can I avoid this exeption???

tanks

 

 

 

 

 

 


Attachment: chart_16eb4de7.zip

3 Replies 1 reply marked as answer

YP Yuvaraj Palanisamy Syncfusion Team January 6, 2021 01:43 PM UTC

   
Greetings form Syncfusion.  
  
We have analyzed your reported problem and provided code snippet doesn’t make us to run the sample without fail. Hence, we have decided to validate this issue based on the provided stack trace, for that we need time. So, we will update the complete details on or before January 8, 20221.  
  
Meanwhile, could you please ensure us by testing with the latest version of Chart NuGet and if possible, could you please share the runnable sample to ensure at our end?  
 
Regards, 
Yuvaraj. 



EM ester munk January 7, 2021 07:24 AM UTC

hello,

I attach runable code and also the dll i used

tanks for the help!

Attachment: chartsupport_3e29d526.7z


SM Saravanan Madheswaran Syncfusion Team January 8, 2021 12:24 PM UTC

Hi Ester Munk,  
 
Thanks for your update.  
 
We have checked your attachment and your provided user control files are not enough to understand your use case scenario and to replicate this issue since it requires more dependent file to make it runnable. Hence, we have prepared a simple sample with chart related code snippet and tested the reported crash issue, but we were unable to replicate it on our end.  
 
Please find the tested sample  
 
 
We can fix the reported issue based on the stack trace but without knowing the proper replicating steps, fixing the issue may fail with any other scenarios. To provide a more accurate fix, could you please modify the provided sample and make that as replicating issue, which will be more helpful for us.  
 
As per our SLA, we can’t provide fixes in older versions. Hence could you please upgrade chart NuGet version to the latest version? Based on this upgrade confirmation only, we can check the development team for sharing the possible fix based on the provided stack trace in case of facing difficulties on modifying the provided sample to issue reproducing sample at your end.  
 
Regards, 
Saravanan. 


Marked as answer
Loader.
Up arrow icon