You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
causes Glassfish (org.apache.jasper) to crash with HTTP 500
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(String.java:658)
at org.apache.jasper.compiler.JspUtil.makeJavaIdentifier(JspUtil.java:1032)
at org.apache.jasper.JspCompilationContext.getServletClassName(JspCompilationContext.java:403)
at org.apache.jasper.JspCompilationContext.getClassFileName(JspCompilationContext.java:550)
at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:521)
at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:488)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:623)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
...
Testing shows this isn't an issue with the upstream Apache Tomcat JSP implementation in any current version. I'm leaving this open as it may be an issue in Glassfish but I suspect it is Jetty specific given https://bugs.eclipse.org/bugs/show_bug.cgi?id=401531#c4
Hi Glassfish developers!
Specifying URL pattern "/*" for in web.xml:
causes Glassfish (org.apache.jasper) to crash with HTTP 500
Originally I found this bug when using Jetty but Jetty just include Glassfish's JSP implementation therefore reporting here. Related Jetty bugzilla issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=401531
You may will find useful a bug demonstration "hello world" program here https://bugs.eclipse.org/bugs/attachment.cgi?id=227465.
The text was updated successfully, but these errors were encountered: