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

Stimulsoft Reports.JS discussion
Post Reply
csrt
Posts: 49
Joined: Thu Jan 17, 2019 12:38 pm

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

Post 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.
Attachments
error_stimul.png
error_stimul.png (175.77 KiB) Viewed 2602 times
Lech Kulikowski
Posts: 6237
Joined: Tue Mar 20, 2018 5:34 am

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

Post by Lech Kulikowski »

Hello,

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

Thank you.
csrt
Posts: 49
Joined: Thu Jan 17, 2019 12:38 pm

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

Post 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
Attachments
error_stimul.png
error_stimul.png (175.77 KiB) Viewed 2584 times
Report (1).csv
(258.7 KiB) Downloaded 110 times
1511.json.mrt
(58.57 KiB) Downloaded 105 times
csrt
Posts: 49
Joined: Thu Jan 17, 2019 12:38 pm

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

Post 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.
Attachments
Report (1).csv
(258.7 KiB) Downloaded 123 times
1511.json.mrt
(58.57 KiB) Downloaded 141 times
Lech Kulikowski
Posts: 6237
Joined: Tue Mar 20, 2018 5:34 am

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

Post 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.
Post Reply