Page 1 of 1

NullReferenceException while calling ShowWithWpf

Posted: Thu Dec 27, 2012 12:37 pm
by pxPTVWpf

Code: Select all

   at Stimulsoft.Report.Engine.StiRenderProviderV1.RenderFormsOnStart(StiReport report)
   at Stimulsoft.Report.Engine.StiRenderProviderV1.Render(StiReport report, StiRenderState state)
   at Stimulsoft.Report.Engine.StiReportV1Builder.RenderSingleReport(StiReport masterReport, StiRenderState renderState)
   at Stimulsoft.Report.StiReport.RenderReport(StiRenderState renderState)
   at Stimulsoft.Report.StiReport.Render(StiRenderState renderState, StiGuiMode guiMode)
   at Stimulsoft.Report.StiReport.RenderWithWpf(StiRenderState renderState)
   at Stimulsoft.Report.StiReport.RenderWithWpf(Boolean showProgress, Int32 fromPage, Int32 toPage)
   at Stimulsoft.Report.StiReport.RenderWithWpf(Boolean showProgress)
   at Stimulsoft.Report.StiReport.ShowWithWpf(Object ownerForm, Boolean dialogWindow)
Hello, in my .NET WPF application I try to use ShowWithWpf method and get NullReferenceException.

Code: Select all

  report.Load(reportPath);
  report.ShowWithWpf(MainWindow, true);
Version of library is 2012.3.1500.0.

Can you help me with this trouble?

Re: NullReferenceException while calling ShowWithWpf

Posted: Fri Dec 28, 2012 7:18 am
by HighAley
Hello.

Could you send us a sample project which reproduces the issue for analysis.

Thank you.