Object Refrence not Found error using Data Relation
Posted: Tue Apr 12, 2011 4:07 pm
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
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