Object Reference not set to an instance of an object upon Export

Stimulsoft Reports.WEB discussion
Post Reply
junixquiaoit
Posts: 38
Joined: Thu Jun 23, 2016 2:03 am

Object Reference not set to an instance of an object upon Export

Post by junixquiaoit »

Hi,

I'm using a web app that is deployed on Azure App Services using Stimulsoft Asp.Net MVC Version is 2019.2.1.0 - HTML5 Viewer.

and I am intermittently encountering this error when I'm trying to export on PDF, Word or Excel.
ErrorOnPrint.PNG
ErrorOnPrint.PNG (42.81 KiB) Viewed 973 times
I've checked the code behind on what is on line 528
ErrorOnPrint2.PNG
ErrorOnPrint2.PNG (4.28 KiB) Viewed 973 times
I'm currently analyzing what is the effect of StiMvcViewer.GetReportObject(). I've tried setting StiReport report to null. It causes an error, but it is not the same error on the first picture.

Hoping that I may able to pinpoint what the cause is or where/what property I can use.

Thank you.
Lech Kulikowski
Posts: 7334
Joined: Tue Mar 20, 2018 5:34 am

Re: Object Reference not set to an instance of an object upon Export

Post by Lech Kulikowski »

Hello,

Please send us a sample project that reproduces the issue for analysis.

Thank you.
Post Reply