HashedWheelTimer newTimout Exception (bug?)
Dave Siracusa
dave.siracusa at yellowbook.com
Tue Feb 10 11:55:44 EST 2009
I'm testing read/write timeout handling.
I rec'd the exception (below).
I believe we need synchronization around:
if (!workerThread.isAlive()) {
start();
}
--Dave
WARNING: HttpRequestHandler.Unexpected exception from downstream.
java.lang.IllegalThreadStateException
at java.lang.Thread.start(Unknown Source)
at
org.jboss.netty.handler.timeout.HashedWheelTimer.start(HashedWheelTimer.java:160)
at
org.jboss.netty.handler.timeout.HashedWheelTimer.newTimeout(HashedWheelTimer.java:202)
at
org.jboss.netty.handler.timeout.ReadTimeoutHandler.initialize(ReadTimeoutHandler.java:113)
at
org.jboss.netty.handler.timeout.ReadTimeoutHandler.channelOpen(ReadTimeoutHandler.java:92)
at
org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:103)
at
org.jboss.netty.channel.Channels.fireChannelOpen(Channels.java:191)
at
org.jboss.netty.channel.socket.nio.NioWorker$RegisterTask.run(NioWorker.java:661)
at
org.jboss.netty.channel.socket.nio.NioWorker.processRegisterTaskQueue(NioWorker.java:227)
at
org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:166)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
--
View this message in context: http://n2.nabble.com/HashedWheelTimer-newTimout-Exception-%28bug-%29-tp2303551p2303551.html
Sent from the Netty User Group mailing list archive at Nabble.com.
More information about the netty-users
mailing list