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 2014/01/02 11:20:49 UTC
[Bug 55947] New: cometD longpolling results in Nullpointer using NIO
https://issues.apache.org/bugzilla/show_bug.cgi?id=55947
Bug ID: 55947
Summary: cometD longpolling results in Nullpointer using NIO
Product: Tomcat 7
Version: 7.0.47
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Connectors
Assignee: dev@tomcat.apache.org
Reporter: ckellner@timocom.com
We use cometD 2.7.0 which connects to a Tomcat 7.0.47 via Longpolling. This
works as long as we use the BIO Protocol. If we switch to NIO, after an amount
of time we'll get this exception:
Jan 02, 2014 10:23:43 AM org.apache.tomcat.util.net.NioEndpoint$SocketProcessor
doRun
Schwerwiegend:
java.lang.NullPointerException at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:560)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
--
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 55947] cometD longpolling results in Nullpointer using NIO
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55947
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
OS| |All
--- Comment #1 from Mark Thomas <ma...@apache.org> ---
This is fixed in 7.0.50 which is just completing the release process. The NPE
can occur in some circumstances when the socket has been closed.
--
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