Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-698

NullPointerException in InternalNioOutputBuffer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • JWS 3.1.0 GA
    • JWS 3.0.0 GA
    • tomcat7
    • None

      +++ This bug was initially created as a clone of Bug #1436615 +++
      Description of problem:

      Hello we have a customer facing NullPointerException in InternalNioOutputBuffer issue, and there seems to be a community fix here

      https://bz.apache.org/bugzilla/show_bug.cgi?id=58646

      Could you please confirm if that fix made it in Tomcat8 ?

      Can we backport the fix on Tomcat7 ?

      Version-Release number of selected component (if applicable): Tomcat-7.0.59

      Mar 14, 2017 1:41:57 PM org.apache.coyote.http11.AbstractHttp11Processor process
      SEVERE: Error processing request
      java.lang.NullPointerException
      	at org.apache.tomcat.util.buf.MessageBytes.toBytes(Unknown Source)
      	at org.apache.catalina.connector.CoyoteAdapter.parsePathParameters(Unknown Source)
      	at org.apache.catalina.connector.CoyoteAdapter.postParseRequest(Unknown Source)
      	at org.apache.catalina.connector.CoyoteAdapter.service(Unknown Source)
      	at org.apache.coyote.http11.AbstractHttp11Processor.process(Unknown Source)
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(Unknown Source)
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(Unknown Source)
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1176)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(Unknown Source)
      	at java.lang.Thread.run(Thread.java:795)
      
      Mar 14, 2017 1:41:57 PM org.apache.coyote.http11.AbstractHttp11Processor endRequest
      SEVERE: Error finishing response
      java.lang.NullPointerException
      	at org.apache.coyote.http11.InternalNioOutputBuffer.addToBB(Unknown Source)
      	at org.apache.coyote.http11.InternalNioOutputBuffer.commit(Unknown Source)
      	at org.apache.coyote.http11.AbstractHttp11Processor.action(Unknown Source)
      	at org.apache.coyote.Response.action(Unknown Source)
      	at org.apache.coyote.http11.AbstractOutputBuffer.endRequest(Unknown Source)
      	at org.apache.coyote.http11.InternalNioOutputBuffer.endRequest(Unknown Source)
      	at org.apache.coyote.http11.AbstractHttp11Processor.endRequest(Unknown Source)
      	at org.apache.coyote.http11.AbstractHttp11Processor.process(Unknown Source)
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(Unknown Source)
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(Unknown Source)
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1176)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(Unknown Source)
      	at java.lang.Thread.run(Thread.java:795)
      
      Mar 14, 2017 1:42:01 PM org.apache.catalina.connector.CoyoteAdapter checkRecycled
      INFO: Encountered a non-recycled request and recycled it forcedly.
      org.apache.catalina.connector.CoyoteAdapter$RecycleRequiredException
      	at org.apache.catalina.connector.CoyoteAdapter.checkRecycled(Unknown Source)
      	at org.apache.coyote.http11.AbstractHttp11Processor.recycle(Unknown Source)
      	at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.release(Unknown Source)
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(Unknown Source)
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(Unknown Source)
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1176)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(Unknown Source)
      	at java.lang.Thread.run(Thread.java:795)
      
      Mar 14, 2017 1:42:04 PM org.apache.catalina.connector.CoyoteAdapter checkRecycled
      INFO: Encountered a non-recycled request and recycled it forcedly.
      org.apache.catalina.connector.CoyoteAdapter$RecycleRequiredException
      	at org.apache.catalina.connector.CoyoteAdapter.checkRecycled(Unknown Source)
      	at org.apache.coyote.http11.AbstractHttp11Processor.recycle(Unknown Source)
      	at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.release(Unknown Source)
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(Unknown Source)
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(Unknown Source)
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1176)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(Unknown Source)
      	at java.lang.Thread.run(Thread.java:795)
      

      Cheers

              rhn-support-csutherl Coty Sutherland
              pbajenez Patrick Bajeneza (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: