incatenato / comet4j

Automatically exported from code.google.com/p/comet4j
0 stars 0 forks source link

同时两个链接后台报错 #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
您好!
我按照demo 里面的HelloWorld 示例 
新建了一个相同的demo,同时有两个连接的时候,后台就会报�
��样的错误:
2012-9-15 17:44:19 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor run
严重: 
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 org.apache.tomcat.util.net.NioEndpoint.processSocket(NioEndpoint.java:1273)
    at org.apache.tomcat.util.net.NioEndpoint$Poller.cancelledKey(NioEndpoint.java:1539)
    at org.apache.tomcat.util.net.NioEndpoint$Poller.processKey(NioEndpoint.java:1658)
    at org.apache.tomcat.util.net.NioEndpoint$Poller.timeout(NioEndpoint.java:1832)
    at org.apache.tomcat.util.net.NioEndpoint$Poller.run(NioEndpoint.java:1576)
    at java.lang.Thread.run(Thread.java:619)

Original issue reported on code.google.com by huangpu...@gmail.com on 15 Sep 2012 at 9:50

GoogleCodeExporter commented 8 years ago
这个例子貌似只是用来演示的,只能用一个页连接测试,多��
�应该有错误。具体我没测试。

Original comment by hu...@126.com on 29 Dec 2013 at 10:21