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

--- Comment #5 from p...@mfglobal.com 2011-01-25 17:02:59 EST ---
I was testing the sample code from
http://www.ibm.com/developerworks/web/library/wa-cometjava/. 
Each time when the connection was closed, two END Comet events were received.
The second one seems causing the NPE error. 

Jan 25, 2011 3:31:28 PM org.apache.catalina.core.ApplicationContext log
INFO: WeatherServlet: Begin for session: CF345C44A1C1040EC6C112B494A7E00C
Jan 25, 2011 3:31:28 PM org.apache.catalina.core.ApplicationContext log
INFO: WeatherServlet: Message added #messages=1
Jan 25, 2011 3:31:28 PM org.apache.catalina.core.ApplicationContext log
INFO: WeatherServlet: Closing connection
Jan 25, 2011 3:31:28 PM org.apache.catalina.core.ApplicationContext log
INFO: WeatherServlet: End for session: CF345C44A1C1040EC6C112B494A7E00C
Jan 25, 2011 3:31:28 PM org.apache.catalina.core.ApplicationContext log
INFO: WeatherServlet: End for session: CF345C44A1C1040EC6C112B494A7E00C
Jan 25, 2011 3:31:28 PM org.apache.tomcat.util.net.NioEndpoint$SocketProcessor
run
SEVERE:
java.lang.NullPointerException
        at
org.apache.coyote.http11.InternalNioOutputBuffer.recycle(InternalNioOutputBuffer.java:351)
        at
org.apache.coyote.http11.Http11NioProcessor.recycle(Http11NioProcessor.java:1007)
        at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.release(Http11NioProtocol.java:643)
        at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.event(Http11NioProtocol.java:679)
        at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2262)
        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:619)

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