tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23805] - Possible error in response wrapper implementation
Date Wed, 15 Oct 2003 09:27:06 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23805>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23805

Possible error in response wrapper implementation





------- Additional Comments From rjimenez@tissat.es  2003-10-15 09:27 -------
Yes, Jasper calls my output stream with bad parameters, it calls the
write(byte[] b, int offset, int len) method with an array width 8192 bytes and
an offset=8192.

A stacktrace:
java.lang.StringIndexOutOfBoundsException: String index out of range: 8192
	at java.lang.String.getChars(String.java:484)
	at java.io.CharArrayWriter.write(CharArrayWriter.java:107)
	at com.tissat.isum.presentation.ISUMServletOutputStream.write(Unknown Source)
	at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
	at sun.nio.cs.StreamEncoder$CharsetSE.implWrite(StreamEncoder.java:395)
	at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:136)
	at java.io.OutputStreamWriter.write(OutputStreamWriter.java:191)
	at java.io.BufferedWriter.write(BufferedWriter.java:170)
	at java.io.PrintWriter.write(PrintWriter.java:200)
	at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:306)
	at java.io.PrintWriter.write(PrintWriter.java:200)
	at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:159)
	at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:355)
	at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:366)
	at org.apache.jasper.runtime.JspWriterImpl.print(JspWriterImpl.java:491)
	at com.tissat.isum.presentation.taglib.ChildrenServicesTag.m1(Unknown Source)
	at com.tissat.isum.presentation.taglib.ChildrenServicesTag.doAfterBody(Unknown
Source)
	at org.apache.jsp.interfaces.inttissat.LeftG_jsp._jspService(LeftG_jsp.java:302)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
...
...
...

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message