NullPointerException in InternalNioOutputBuffer.flushBuffer

Solution Unverified - Updated -

Issue

  • We see the following NullPointerException on JWS 3.0's Tomcat 8:
ERROR org.apache.coyote.http11.Http11NioProcessor- Error finishing response
java.lang.NullPointerException

Caused by: java.lang.NullPointerException
    at org.apache.coyote.http11.InternalNioOutputBuffer.flushBuffer(InternalNioOutputBuffer.java:234)
    at org.apache.coyote.http11.InternalNioOutputBuffer.addToBB(InternalNioOutputBuffer.java:189)
    at org.apache.coyote.http11.InternalNioOutputBuffer.access$000(InternalNioOutputBuffer.java:41)
    at org.apache.coyote.http11.InternalNioOutputBuffer$SocketOutputBuffer.doWrite(InternalNioOutputBuffer.java:320)
    at org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:93)

Environment

  • JBoss Enterprise Web Server (JWS) 3.0.x
    • Tomcat 8.0.18

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In