Posted 27 March 2025, 9:33 am EST - Updated 27 March 2025, 9:54 am EST
Since upgrading from v11 to v18, I’m getting random NullReferenceExceptions in the “EndInit()” of the SectionReport.
. I’ve tried moving things around beforehand, changing the default GDI+ to CrossPlatform, but nothing has helped. It’s essentially unusable. HELP!!It also occurs sometimes in the Sections.Add(…) in the designer.
Here’s the end of the stack trace:
2025-03-27 07:53:47 System.NullReferenceException: Object reference not set to an instance of an object. (source: System) [ at System.ComponentModel.TypeDescriptor.GetPropertiesImpl(Object component, Attribute attributes, Boolean noCustomTypeDesc, Boolean noAttributes)
at GrapeCity.ActiveReports.SectionReportModel.ControlCollection.SetStyleSheet(StyleSheet value)
at GrapeCity.ActiveReports.SectionCollection.Insert(Int32 index, Section section)
at GrapeCity.ActiveReports.SectionCollection.OnReportInitializationCompleted(Object sender, e)
at GrapeCity.ActiveReports.SectionReport.System.ComponentModel.ISupportInitialize.EndInit()