Visualize.js not working in Jaspersoft 6.0.1?

Hello,

when i try to load Visualize.js (https://host:8443/jasperserver-pro/client/visualize.js) I get an error page  : 

 ERROR SystemErrorController,http-8443-2:81 - Internal server error
org.apache.jasper.JasperException: An exception occurred processing JSP page /WEB-INF/jsp/modules/visualize.jsp at line 19
 
16:
17: <c:choose>
18:     <c:when test="${optimizeJavascript == true}">
19:         <jsp:include page="${scriptsFolderInternal}/bower_components/visualize-js/build/visualize.js" />
20:         <%-- Workaround to fix jquery.ui.datepicker in case if optimization is enabled. In this case __jrsConfigs__ will not be global --%>
21:         visualize.__jrsConfigs__["userLocale"] = "${userLocale}";
22:         visualize.__jrsConfigs__["avaliableLocales"] = ["de", "en", "es", "fr", "it", "ja", "ro", "zh_TW", "zh_CN"];
 
The file /bower_components/visualize-js/build/visualize.js exists.
Is there something wrong with visualize.js in Jaspersoft 6.0.1?
 
Best regards
Areport's picture
106
Joined: Aug 2 2011 - 6:41am
Last seen: 3 years 10 months ago

2 Answers:

Can you try to  use regular < script > tags instead of jsp include?

ernestoo's picture
18048
Joined: Nov 29 2010 - 11:59am
Last seen: 5 years 5 months ago

Sorry, but I don't get you. What should I do?

Areport's picture
106
Joined: Aug 2 2011 - 6:41am
Last seen: 3 years 10 months ago
Feedback