JavaScript error in visualize.js on AWS

0

After the default instance setup on EC2 (V6.4.0), a simple sample visualize.js example with an exisiting ad-hoc report failed  (also on jsfiddle).

Caused by a javascript "TypeError: t is null" visualize.js:52:24553 . Actually it should work out of the box, or?

 

dribbusch's picture
Joined: Nov 15 2012 - 4:02am
Last seen: 6 months 1 week ago

OK, ad-hoc reports are currently not supported. But with basic reports the problem remains. It turns out, that the exception occurs if the code is embedded in an HTML file. In jsfiddle it works as expected.

dribbusch - 1 year 8 months ago

I found the answer here https://community.jaspersoft.com/documentation/tibco-jasperreports-serve...

In section "Testing your JavaScript" is mentioned, "... HTML page containing your Javascript must be accessed through a web server. Opening a static file with a web browser does not properly load the iFrames needed by the script " .

 

 

dribbusch - 1 year 8 months ago

0 Answers:

No answers yet
Feedback