The line
UltraChart c = new UltraChart();
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
I’ve been trying this in standard ASP.NET page and there is no problem. As I’m seeing you are using the chart in SharePoint and the first error is:
Also, do you hit the same problem in a similar scenario where SharePoint is not involved? Developer Support currently has at least one support incident with a similar stack trace, but where SharePoint is not involved.We're not able to reproduce the behavior at current, so I suspect that your environment may have something to do with it. What can you tell us about your environment, including: server operating system, version of Internet Information Services, version of NetAdvantage for .NET in use (including build number), client operating system, and browser version? There may be other relevant environment information, but this covers It seems likely that we'll need to ask you to log a support request if we can't find an answer, since this may require some in-depth research. My signature includes more information about how to log support requests with Infragistics Developer Support. If you do submit a support request, providing a sample project that reproduces the error (with or without SharePoint) will likely be helpful.