[#4392] - Visualize.js not loading with MIME type application/javascript

Category:
Bug report
Priority:
High
Status:
Feedback Requested
Project: Severity:
Major
Resolution:
Open
Component: Reproducibility:
N/A
Assigned to:

Visualize.jsp crashes, when the MIME type of Javscript files is set to application/javascript.

Application Server: Tomcat 6.0.41 - OpenJDK 1.7.0_51

Caused by: java.lang.IllegalStateException
at org.apache.jasper.runtime.ServletResponseWrapperInclude.getOutputStream(ServletResponseWrapperInclude.java:63)
at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:884)
at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:422)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
at org.apache.jsp.WEB_002dINF.jsp.modules.visualize_jsp._jspx_meth_c_005fwhen_005f0(visualize_jsp.java:159)
at org.apache.jsp.WEB_002dINF.jsp.modules.visualize_jsp._jspx_meth_c_005fchoose_005f0(visualize_jsp.java:121)
at org.apache.jsp.WEB_002dINF.jsp.modules.visualize_jsp._jspService(visualize_jsp.java:76)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
... 114 more

Areport's picture
118
Joined: Aug 2 2011 - 6:41am
Last seen: 3 years 1 month ago

3 Comments:

#1

Visualize.js is a feature of the Pro version of JasperReports Server and support for it should be requested through the official channel/customer support.
Anyway, why would you want to set the mime type for javascript files?

#2
  • Status:New» Feedback Requested
  • Assigned:nobody» teodord

Hi,

Anything new on this one?

Thanks,
Teodor

#3

Hi,

Because the JSP module crashes otherwise .

Feedback
randomness