S
Simon Bieri
Hi
Tomcat 5.0.19
Winxp
Our web application (servlet) has some big forms. On one of those pages,
if we try filling the form and sending it, tomcat causes an
java.lang.ArrayIndexOutOfBoundsException: 4096.
Does anybody knows the reason?
The hole error message
2004-06-08 11:55:33 StandardContext[/max]TRACE: [an xml-string with
approx. 3800 bytes]
servlet max threw exception
java.lang.ArrayIndexOutOfBoundsException: 4096
at
org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:731)
at
org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:659)
at
org.apache.coyote.http11.InternalOutputBuffer.sendHeader(InternalOutputBuffer.java:539)
at
org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1560)
at
org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:926)
at org.apache.coyote.Response.action(Response.java:224)
at
org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:605)
at org.apache.coyote.Response.doWrite(Response.java:586)
at
org.apache.coyote.tomcat5.OutputBuffer.realWriteBytes(OutputBuffer.java:411)
at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:332)
at
org.apache.tomcat.util.buf.IntermediateOutputStream.write(C2BConverter.java:274)
at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
at
sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:404)
at sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:408)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:152)
at java.iutputStreamWriter.flush(OutputStreamWriter.java:213)
at org.apache.tomcat.util.buf.WriteConvertor.flush(C2BConverter.java:223)
at
org.apache.tomcat.util.buf.C2BConverter.flushBuffer(C2BConverter.java:166)
at
org.apache.coyote.tomcat5.OutputBuffer.realWriteChars(OutputBuffer.java:613)
at org.apache.tomcat.util.buf.CharChunk.flushBuffer(CharChunk.java:471)
at org.apache.tomcat.util.buf.CharChunk.append(CharChunk.java:402)
at org.apache.coyote.tomcat5.OutputBuffer.write(OutputBuffer.java:559)
at org.apache.coyote.tomcat5.CoyoteWriter.write(CoyoteWriter.java:184)
at org.apache.coyote.tomcat5.CoyoteWriter.write(CoyoteWriter.java:193)
at org.apache.coyote.tomcat5.CoyoteWriter.print(CoyoteWriter.java:243)
at com.sisclear.core.control.CoreServlet.doPost(CoreServlet.java:451)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
at java.lang.Thread.run(Thread.java:534)
Tomcat 5.0.19
Winxp
Our web application (servlet) has some big forms. On one of those pages,
if we try filling the form and sending it, tomcat causes an
java.lang.ArrayIndexOutOfBoundsException: 4096.
Does anybody knows the reason?
The hole error message
2004-06-08 11:55:33 StandardContext[/max]TRACE: [an xml-string with
approx. 3800 bytes]
servlet max threw exception
java.lang.ArrayIndexOutOfBoundsException: 4096
at
org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:731)
at
org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:659)
at
org.apache.coyote.http11.InternalOutputBuffer.sendHeader(InternalOutputBuffer.java:539)
at
org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1560)
at
org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:926)
at org.apache.coyote.Response.action(Response.java:224)
at
org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:605)
at org.apache.coyote.Response.doWrite(Response.java:586)
at
org.apache.coyote.tomcat5.OutputBuffer.realWriteBytes(OutputBuffer.java:411)
at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:332)
at
org.apache.tomcat.util.buf.IntermediateOutputStream.write(C2BConverter.java:274)
at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
at
sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:404)
at sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:408)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:152)
at java.iutputStreamWriter.flush(OutputStreamWriter.java:213)
at org.apache.tomcat.util.buf.WriteConvertor.flush(C2BConverter.java:223)
at
org.apache.tomcat.util.buf.C2BConverter.flushBuffer(C2BConverter.java:166)
at
org.apache.coyote.tomcat5.OutputBuffer.realWriteChars(OutputBuffer.java:613)
at org.apache.tomcat.util.buf.CharChunk.flushBuffer(CharChunk.java:471)
at org.apache.tomcat.util.buf.CharChunk.append(CharChunk.java:402)
at org.apache.coyote.tomcat5.OutputBuffer.write(OutputBuffer.java:559)
at org.apache.coyote.tomcat5.CoyoteWriter.write(CoyoteWriter.java:184)
at org.apache.coyote.tomcat5.CoyoteWriter.write(CoyoteWriter.java:193)
at org.apache.coyote.tomcat5.CoyoteWriter.print(CoyoteWriter.java:243)
at com.sisclear.core.control.CoreServlet.doPost(CoreServlet.java:451)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
at java.lang.Thread.run(Thread.java:534)