Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
"Object reference not set to an instance of an object" in chart constructor
posted

The line

 UltraChart c = new UltraChart();

is throwing the following exception when the aspx page i'm load testing comes under heavy load.

System.NullReferenceException: Object reference not set to an instance of an object.

at Infragistics.WebUI.UltraWebChart.UltraChart.Infragistics.UltraChart.Resources.IChartComponent.Invalidate(CacheLevel cacheLevel)

at Infragistics.UltraChart.Resources.Appearance.AppearanceHelper.UpdateParentProperty()

at Infragistics.UltraChart.Resources.Appearance.PaintElement.set_StrokeWidth(Int32 value)

at Infragistics.UltraChart.Resources.Appearance.HistogramLineAppearance..ctor(IChartComponent component)

at Infragistics.UltraChart.Resources.Appearance.HistogramChartAppearance..ctor(IChartComponent component)

at Infragistics.WebUI.UltraWebChart.UltraChart.CreateAppearanceObjects()

at Infragistics.WebUI.UltraWebChart.UltraChart.CreateChart()

at Infragistics.WebUI.UltraWebChart.UltraChart..ctor()

at mPrism.Sharepoint.WebParts.ExceptionPieChart.ExceptionPieChart.OnPreRender(EventArgs e)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

 

Please help!

Thanks

 Todd Wilder