Page 1 of 1

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

Posted: Fri Jan 29, 2021 12:45 am
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 972 times
I've checked the code behind on what is on line 528
ErrorOnPrint2.PNG
ErrorOnPrint2.PNG (4.28 KiB) Viewed 972 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.

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

Posted: Fri Jan 29, 2021 9:46 am
by Lech Kulikowski
Hello,

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

Thank you.