tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Fröber <joerg.froe...@indv.de>
Subject Re: ArrayIndexOutOfBoundsException at InternalOutputBuffer.write
Date Tue, 10 Jun 2008 10:17:25 GMT
Am 09.06.2008, 19:15 Uhr, schrieb Mark Thomas <markt@apache.org>:

>
> Jörg Fröber wrote:
>>  Hello,
>>  using Tomcat 6.0.12 on one jsp page sometimes the following error  
>> occurs:
>>  java.lang.ArrayIndexOutOfBoundsException: 8192
>
> That looks like a Tomcat bug. Do you see the same problem with the  
> latest 6.0.x source from subversion?
>
> Mark
>

I've build tomcat from  
http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk and there still  
occurs an error.
Here is the stacktrace:

java.lang.ArrayIndexOutOfBoundsException: 8192
	at  
org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:711)
	at  
org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:618)
	at  
org.apache.coyote.http11.InternalOutputBuffer.sendHeader(InternalOutputBuffer.java:491)
	at  
org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1600)
	at  
org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:935)
	at org.apache.coyote.Response.action(Response.java:181)
	at  
org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:563)
	at org.apache.coyote.Response.doWrite(Response.java:560)
	at  
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:353)
	at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:325)
	at  
org.apache.tomcat.util.buf.IntermediateOutputStream.write(C2BConverter.java:242)
	at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)
	at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)
	at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276)
	at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122)
	at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)
	at org.apache.tomcat.util.buf.WriteConvertor.flush(C2BConverter.java:191)
	at  
org.apache.tomcat.util.buf.C2BConverter.flushBuffer(C2BConverter.java:134)
	at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:439)
	at org.apache.catalina.connector.CoyoteWriter.write(CoyoteWriter.java:143)
	at  
org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:119)
	at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:326)
	at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:342)
	at org.apache.jsp.M30102_jsp._jspService(M30102_jsp.java:889)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at  
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
	at  
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at de.indv.logging.DefaultLogFilter.doFilter(DefaultLogFilter.java:98)
	at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at  
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at  
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:194)
	at  
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at  
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at  
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at  
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
	at  
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
	at  
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Thread.java:619)

-- 
Regards
JF

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message