Page 1 of 1

2019.3.6 Cannot read property 'sti' of null

Posted: Thu Oct 03, 2019 10:06 am
by terje.pedersen
Anyone seen this error "Cannot read property 'sti' of null" and know how to solve it?
After upgrading to 2019.3.6 two of our reports doesn't render at all in the viewer and only showing this error.
2019.3.6-sti-of-null.png
2019.3.6-sti-of-null.png (13.18 KiB) Viewed 3541 times

Re: 2019.3.6 Cannot read property 'sti' of null

Posted: Thu Oct 03, 2019 10:46 am
by Andrew
Hello,

Please send us these two problem report to support@stimulsoft.com. We will check them and let you know what can be a reason.

Thank you.

Re: 2019.3.6 Cannot read property 'sti' of null

Posted: Thu Oct 03, 2019 1:31 pm
by terje.pedersen
I have found a solution for this problem. I had to add an empty space as default value for this string variable below. Seems like the JS version of 2019.3.6 doens't like empty string as default value anymore.
2019.3.6-sti-of-null-needs-value.png
2019.3.6-sti-of-null-needs-value.png (14.12 KiB) Viewed 3533 times

Re: 2019.3.6 Cannot read property 'sti' of null

Posted: Fri Oct 04, 2019 3:19 pm
by Lech Kulikowski
Hello,

We couldn't reproduce the issue.
Please send us a sample report with test data that reproduces the issue for analysis.

Thank you.

Re: 2019.3.6 Cannot read property 'sti' of null

Posted: Wed Oct 16, 2019 11:51 am
by terje.pedersen
Attached simple report.
With JS 2019.3.6 it show both in the viewer and in the console
Cannot read property 'sti' of null
The data sent to the report, most likely not needed at all since I'm not showing anything in report other than a textbox.

Code: Select all

{"CustomValues":{},"CompanyName":"Førtitoåringen Dev","Deleted":false,"ID":1}

Re: 2019.3.6 Cannot read property 'sti' of null

Posted: Thu Oct 17, 2019 9:29 am
by Lech Kulikowski
Hello,

The issue is fixed. The fix will be available in the next release build.

Thank you.