tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56336] New: IndexOutOfBoundsException in the AjpNio2Processor.output() method
Date Tue, 01 Apr 2014 19:32:35 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56336

            Bug ID: 56336
           Summary: IndexOutOfBoundsException in the
                    AjpNio2Processor.output() method
           Product: Tomcat 8
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors
          Assignee: dev@tomcat.apache.org
          Reporter: bdevaney@docfinity.com

Generated with the NIO2 protocol in the connector.  The same code using tomcat
with HTTP/1.1 and AJP/1.3 in the connector worked correctly.  

java.lang.IndexOutOfBoundsException
    at java.nio.Buffer.checkBounds(Buffer.java:559)
    at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:181)
    at org.apache.coyote.ajp.AjpNio2Processor.output(AjpNio2Processor.java:158)
    at
org.apache.coyote.ajp.AbstractAjpProcessor.writeResponseMessage(AbstractAjpProcessor.java:1658)
    at
org.apache.coyote.ajp.AbstractAjpProcessor.writeData(AbstractAjpProcessor.java:1577)
    at
org.apache.coyote.ajp.AbstractAjpProcessor.access$200(AbstractAjpProcessor.java:62)
    at
org.apache.coyote.ajp.AbstractAjpProcessor$SocketOutputBuffer.doWrite(AbstractAjpProcessor.java:1725)
    at org.apache.coyote.Response.doWrite(Response.java:523)
    at
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:391)
    at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:344)
    at
org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:421)
    at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:409)
    at
org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:97)
    at java.io.DataOutputStream.write(DataOutputStream.java:107)
    at java.io.FilterOutputStream.write(FilterOutputStream.java:97)

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


Mime
View raw message