Null Reference exception after in Chart control after updgrade to 15.2


Null Reference exception after in Chart control after updgrade to 15.2...
Author
Message
Niranjan Singh
Niranjan Singh
Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)
Group: Forum Members
Posts: 49, Visits: 179
Hi,
After unloading the current control which contains the Chart controls in user controls we are getting an exception which states that there was some callback which found some object null. The big issue is that this exception was not handled with at the control causing application to crash.

See below screen shot that may help to identity the issue.  https://www.nevron.com/forum/uploads/images/d1ccfb4f-d21a-4bdc-99dc-495a.png

Thanks,
Niranjan


Tags
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hi Niranjan,

The form also contains the chart command bars - you need to disconnect the NChartCommandBarsManager from the chart control before unloading it:
NChartCommandBarsManager1.ChartControl = null;



Best Regards,
Nevron Support Team


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search