Page 1 of 1

Unhandled rejection TypeError: Cannot read property 'stimulsoft' of null

Posted: Mon Nov 11, 2019 11:09 am
by csrt
Hello. I am facing the following issue when running the render.report twice:
stimulsoft.reports.js:69: Unhandled rejection TypeError: Cannot read property 'stimulsoft' of null. at Function.w.getArgumentsFromArgumentDataColumn
At first run the report renders, although it throws the same warning:
stimulsoft.reports.js:74: Cannot read property 'stimulsoft' of null
- but the report renders. The next run leads to a crash.
I am using the latest version of Stimulsoft.JS: Stimulsoft.Reports.JS
Version: 2019.4.1
Build date: 2019.10.21

Also, in the number fields, when data is null, the report displays NaN - the older used version (Version: 2019.1.1 Build date: 2018.12.17) did not have any of this behaviors.
Attaching a screenshot.

Re: Unhandled rejection TypeError: Cannot read property 'stimulsoft' of null

Posted: Tue Nov 12, 2019 8:29 am
by Lech Kulikowski
Hello,

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

Thank you.

Re: Unhandled rejection TypeError: Cannot read property 'stimulsoft' of null

Posted: Tue Nov 12, 2019 10:48 am
by csrt
Hello. I've attached the report + data file in CSV. I want to stress that the error appears on the second run of report.render/report.renderAsync, which ultimately leads to crash of the library

Re: Unhandled rejection TypeError: Cannot read property 'stimulsoft' of null

Posted: Thu Nov 14, 2019 1:06 pm
by csrt
Hello. I've attached the report and data file, please take a look and guide me what seems to be the cause of described problem. Thank you in advance.

Re: Unhandled rejection TypeError: Cannot read property 'stimulsoft' of null

Posted: Sun Nov 17, 2019 9:28 pm
by Lech Kulikowski
Hello,

We couldn't run your report with the sent data. Please correct your report with csv data that can be run and reproduce the issue.

Thank you.