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.
i don't think it's available to the public yet. you can find out directly from Infragistics Developer Support: http://infragistics.com/gethelp
Hi,
Since this post is a while ago, i am just wondering if the hotfix is already available
i think i found the cause of this while fixing another bug (BR35075). this issue was fixed on 7/31 and will be released in an upcoming hotfix. i haven't experienced the same null reference exception reported on this thread, but i think it will go away in the hotfix due to changes made to HistogramLineAppearance.
Hi, all
I have a similar issue on the ASP.NET website. Here is my stacktrace:
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 ASP.summary_pieresource_ascx.__BuildControlPieChart()
I'd like to note that this issue reproduces very rarely. I don't know exact steps to make it reproduce.
It reproduced once on Windows Server 2003, IE6 browser, IIS 6.0, Infragistics NetAdvantage 7.3.
Do you have any updates for this issue? May be you can help with some steps to reproduce it?
Note: I've got only one Infragistics chart on the page where this issue reproduced.
Thanks ahead