Object Refrence not Found error using Data Relation

Stimulsoft Reports.NET discussion
Post Reply
fuhrj
Posts: 120
Joined: Wed Jun 11, 2008 12:51 pm
Location: Lancaster, Ohio

Object Refrence not Found error using Data Relation

Post by fuhrj »

I have a report that contains a data relation and it worked fine using version 2010.3.803.

When I open the report in version 2011.1.903, the designer throws this error when I go to Preview the report:

----------------------------
[General Info]

Application: Stimulsoft Reports.Net
Framework: v2.0.50727
Version: Version: 2011.1.903 from 22 December 2010
MachineName: FSI_DEV007
OSVersion: Microsoft Windows NT 6.1.7600.0
UserName: fuhrj

----------------------------
[Exception Info]
Message: Object reference not set to an instance of an object.

Source: Stimulsoft.Report

StackTrace:
at Stimulsoft.Report.Dictionary.StiDataSource.SetSort(Object[,,] conditions, String[] sortColumns, StiComponent component, StiDataBand databand, StiComponentsCollection groupHeaders)
at Stimulsoft.Report.Dictionary.StiVirtualSource.ConnectToData()
at Stimulsoft.Report.Dictionary.StiDictionary.ConnectVirtualDataSources()
at Stimulsoft.Report.Engine.StiRenderProviderV2.ConnectToData(StiReport report)
at Stimulsoft.Report.Engine.StiRenderProviderV2.Render(StiReport report, StiRenderState state)
at Stimulsoft.Report.Engine.StiReportV2Builder.RenderSingleReport(StiReport masterReport, StiRenderState renderState)
at Stimulsoft.Report.StiReport.RenderReport(StiRenderState renderState)
at Stimulsoft.Report.StiReport.Render(StiRenderState renderState, StiGuiMode guiMode)
at Stimulsoft.Report.Design.Controls.StiDesignerPreviewControl.btRefresh_Click(Object sender, EventArgs e)

----------------------------
[Assemblies]
mscorlib, Version = 2.0.0.0
Stimulsoft.Base, Version = 2011.1.903.0
Stimulsoft.Report, Version = 2011.1.903.0
Stimulsoft.Report.Design, Version = 2011.1.903.0
System.Windows.Forms, Version = 2.0.0.0
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Object Refrence not Found error using Data Relation

Post by Alex K. »

Hello,

Please check the latest prerelease build.

Thank you.
fuhrj
Posts: 120
Joined: Wed Jun 11, 2008 12:51 pm
Location: Lancaster, Ohio

Object Refrence not Found error using Data Relation

Post by fuhrj »

Thanks. Pre-release build works.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Object Refrence not Found error using Data Relation

Post by Andrew »

Great!
Post Reply