NullReferenceException while calling ShowWithWpf

Stimulsoft Reports.WPF discussion
Post Reply
pxPTVWpf
Posts: 1
Joined: Thu Dec 27, 2012 12:33 pm

NullReferenceException while calling ShowWithWpf

Post 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?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: NullReferenceException while calling ShowWithWpf

Post by HighAley »

Hello.

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

Thank you.
Post Reply