You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2016/12/01 08:42:19 UTC

[Bug 60436] New: AbstractProcessor.doTimeoutAsync(AbstractProcessor.java:528) NPE

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

            Bug ID: 60436
           Summary: AbstractProcessor.doTimeoutAsync(AbstractProcessor.jav
                    a:528) NPE
           Product: Tomcat 8
           Version: 8.5.8
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors
          Assignee: dev@tomcat.apache.org
          Reporter: w.hongjiang@gmail.com
  Target Milestone: ----

I use async servlet, It is easy to reproduce. 
tomcat 8.5.8, jdk 1.8.0_65-b17,  linux 2.6.32-573.22.1.el6.x86_64


Exception in thread "http-nio-8080-AsyncTimeout" java.lang.NullPointerException
        at
org.apache.coyote.AbstractProcessor.doTimeoutAsync(AbstractProcessor.java:528)
        at
org.apache.coyote.AbstractProcessor.timeoutAsync(AbstractProcessor.java:518)
        at
org.apache.coyote.AbstractProtocol$AsyncTimeout.run(AbstractProtocol.java:1130)
        at java.lang.Thread.run(Thread.java:745)

-- 
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


[Bug 60436] AbstractProcessor.doTimeoutAsync(AbstractProcessor.java:528) NPE

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60436

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Mark Thomas <ma...@apache.org> ---
Fixed in:
- trunk for 9.0.0.M14 onwards
- 8.5.x for 8.5.9 onwards

8.0.x and earlier are not affected

-- 
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


[Bug 60436] AbstractProcessor.doTimeoutAsync(AbstractProcessor.java:528) NPE

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60436

--- Comment #2 from hongjiang <w....@gmail.com> ---
No,I didn't use http2.0,my connector config:

    <Connector port="8080"
protocol="org.apache.coyote.http11.Http11NioProtocol"
               connectionTimeout="20000" redirectPort="8443"
maxParameterCount="2000" maxKeepAliveRequests="-1"
               maxThreads="200" maxPostSize="20971520" acceptCount="1024"
useBodyEncodingForURI="true"
            URIEncoding="UTF-8"/>

It's happened in pressure test (high concurrency), 
one nginx reverse proxy to 4 tomcat server,
All 4 tomcat server occurred that NPE。

-- 
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


[Bug 60436] AbstractProcessor.doTimeoutAsync(AbstractProcessor.java:528) NPE

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60436

Remy Maucherat <re...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Remy Maucherat <re...@apache.org> ---
Let's pretend it is more difficult to reproduce than you think, then. Are you
using HTTP/2 ?

-- 
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