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

[ASF BZ 60683] Tomcat throws NPE after startup with sec. manager on IBM JDK17

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JWS 5.0_RHEL DR1
    • JWS 3.1.0 CR6
    • tomcat
    • None
    • Release Notes
    • Not Required
    • Hide

      1. Start Tomcat on IBM JDK17

      JAVA_HOME=... /ibm-java-70 ./catalina.sh start -security
      

      2. visit homepage

      curl -I http://BIND_ADDRESS:8080/
      

      3. HTTP status code is 500 and log catalina out contains NPE:

      java.lang.NullPointerException
      	at org.apache.catalina.connector.OutputBuffer.realWriteChars(OutputBuffer.java:464)
      	at org.apache.tomcat.util.buf.CharChunk.flushBuffer(CharChunk.java:393)
      	at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:279)
      	at org.apache.catalina.connector.Response.finishResponse(Response.java:439)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:573)
      	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1100)
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:687)
      	at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2445)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:627)
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      	at java.lang.Thread.run(Thread.java:798)
      
      Show
      1. Start Tomcat on IBM JDK17 JAVA_HOME=... /ibm-java-70 ./catalina.sh start -security 2. visit homepage curl -I http: //BIND_ADDRESS:8080/ 3. HTTP status code is 500 and log catalina out contains NPE: java.lang.NullPointerException at org.apache.catalina.connector.OutputBuffer.realWriteChars(OutputBuffer.java:464) at org.apache.tomcat.util.buf.CharChunk.flushBuffer(CharChunk.java:393) at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:279) at org.apache.catalina.connector.Response.finishResponse(Response.java:439) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:573) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1100) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:687) at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2445) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:627) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang. Thread .run( Thread .java:798)

      Tomcat throws NPE for 1st request after startup with sec. manager on IBM JDK17. The responces from server is 500/Internal Server Error, request is not finished.

      This is not a regression, the problem exists in 3.0.3 as well.

            rhn-support-csutherl Coty Sutherland
            jstefl@redhat.com Jan Štefl
            Jan Štefl Jan Štefl
            Tyler Kelly Tyler Kelly (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: