Worker thread exits with CancelledKeyException
----------------------------------------------

                 Key: HTTPCORE-56
                 URL: https://issues.apache.org/jira/browse/HTTPCORE-56
             Project: HttpComponents Core
          Issue Type: Bug
          Components: HttpCore NIO
         Environment: Windows Vista
            Reporter: Anders Wallgren


Seeing this during unit testing:

2007-03-09T13:33:34.326 | ERROR | Agent-1       |                               
                | CommanderThread                | Uncaught exception in 
Thread[Agent-1,5,main]: java.nio.channels.CancelledKeyException
java.nio.channels.CancelledKeyException
        at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55)
        at sun.nio.ch.SelectionKeyImpl.interestOps(SelectionKeyImpl.java:59)
        at 
org.apache.http.impl.nio.reactor.IOSessionImpl.setEvent(IOSessionImpl.java:110)
        at 
org.apache.http.impl.nio.DefaultNHttpClientConnection.submitRequest(DefaultNHttpClientConnection.java:191)
        at 
org.apache.http.nio.protocol.BufferingHttpClientHandler.submitRequest(BufferingHttpClientHandler.java:351)
        at 
org.apache.http.nio.protocol.BufferingHttpClientHandler.requestReady(BufferingHttpClientHandler.java:178)
        at 
org.apache.http.nio.protocol.BufferingHttpClientHandler.connected(BufferingHttpClientHandler.java:144)
        at 
org.apache.http.impl.nio.DefaultClientIOEventDispatch.connected(DefaultClientIOEventDispatch.java:67)
        at 
org.apache.http.impl.nio.reactor.AbstractIOReactor.processNewChannels(AbstractIOReactor.java:210)
        at 
org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:124)
        at 
org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:153)
        at java.lang.Thread.run(Thread.java:619)
        at 
com.electriccloud.util.queue.CommanderThread.run(CommanderThread.java:78)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to