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

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

the jsp include of visualize.jsp fails, when the mime type of Javascript files is application/javascript.
If the Mime type is switched to text/javascript everything works.

Used application Server: Tomcat 6.0.41 OpenJDK 1.7.0_51

Trace:
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

v6.0.1
Areport's picture
78
Joined: Aug 2 2011 - 6:41am
Last seen: 2 weeks 2 days ago
Feedback
randomness