Page 1 of 1

Occasionnally see Object reference not set to an instance of an object

Posted: Mon Apr 23, 2012 2:53 pm
by jay@bplogix.com
Every now and then (once every 5 days), a report throws an exception in what looks like the localization initialization for Stimulsoft. But then that same report report runs fine afterwards. This happens with all of my reports ... some are showing charts, some databands.

The screenshot shows the stack trace.

Any ideas?
thx

Occasionnally see Object reference not set to an instance of an object

Posted: Wed Apr 25, 2012 9:44 am
by Vladimir
Hello,

Please specify are you using Release 2012.1 or the latest prerelease build? What value is set for GlobalizationFile property of the WebViewer component? Also, we have added an exception handler when loading localization, update will be available in the next prerelease build.

Thank you.

Occasionnally see Object reference not set to an instance of an object

Posted: Thu Apr 26, 2012 9:35 pm
by jay@bplogix.com
this is the relased 2012.1. Here are the settings:
for the web viewer:
GlobalizationFile = "ReportLocalization/en.xml";
for the flash viewer:
Localization = "en";
LocalizationDirectory = "/ReportLocalization";

The reports work 95% of the time ... just occasionally return the error above.

Thanks

Occasionnally see Object reference not set to an instance of an object

Posted: Fri Apr 27, 2012 8:28 am
by Vladimir
Hello,

Does this error appear in both viewers or only in the HTML viewer? Please try to upgrade to the latest prerelease build from April 26, we have made some changes in this direction.

Thank you.