[
https://jira.jboss.org/jira/browse/JBWEB-136?page=com.atlassian.jira.plug...
]
Mike Millson updated JBWEB-136:
-------------------------------
Fix Version/s: JBossWeb-2.0.0.GA_CP10
LIMIT_BUFFER=true ArrayIndexOutOfBoundsException
------------------------------------------------
Key: JBWEB-136
URL:
https://jira.jboss.org/jira/browse/JBWEB-136
Project: JBoss Web
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: JBossWeb-2.0.0.GA_CP09
Reporter: Mike Millson
Assignee: Mike Millson
Fix For: JBossWeb-2.0.0.GA_CP10
Attachments: bug46354.war
This issue was reported in Tomcat Bugzilla #46354[1]. Setting
-Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true results in a 500 error with
the following stack trace for some JSP pages:
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:518)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:429)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause
java.lang.ArrayIndexOutOfBoundsException
java.lang.String.getChars(String.java:855)
org.apache.jasper.runtime.BodyContentImpl.write(BodyContentImpl.java:146)
org.apache.jasper.runtime.BodyContentImpl.write(BodyContentImpl.java:159)
org.apache.jasper.runtime.BodyContentImpl.print(BodyContentImpl.java:319)
org.apache.jasper.runtime.BodyContentImpl.println(BodyContentImpl.java:445)
org.apache.jsp.bug46354.index_jsp._jspService(index_jsp.java:66)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
Notes:
1) Also affects JBossAS 4.0.x.
2) Fixed already in the JBossWeb 2.1 for EAP 5.
References:
[
1]https://issues.apache.org/bugzilla/show_bug.cgi?id=46354
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira