https://issues.apache.org/bugzilla/show_bug.cgi?id=50405

           Summary: Null Pointer Exception at Coyote Adapter
           Product: Tomcat 7
           Version: 7.0.5
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: eduardovilc...@yahoo.com


I am using Tomcat 7.0.5 on Windows 7 and Fedora (this issue happens in both),
using the Http11NioProtocol for a SSL connection with a self-signed
certificate.
Session persistence is disabled, and Comet connection tracking is enabled, in
context.xml.

I have a servlet that implements CometProcessor. It seems to runs fine.
However, at the first time-out event, the following error gets logged:

SEVERE: An exception or error occurred in the container during the request
processing
java.lang.NullPointerException
    at
org.apache.catalina.connector.CoyoteAdapter.asyncDispatch(CoyoteAdapter.java:270)
    at
org.apache.coyote.http11.Http11NioProcessor.asyncDispatch(Http11NioProcessor.java:233)
    at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.event(Http11NioProtocol.java:305)
    at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1526)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)

It doesn't seem to happen again after subsequent time-outs from the same
session. If one logs in again under another session, the exception happens
again after the first time out.
I haven't observed any adverse practical implications. However, I am running
this on a machine with very few users and have not tested yet on a full scale.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

Reply via email to