You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Anders Wallgren (JIRA)" <ji...@apache.org> on 2007/03/09 22:39:09 UTC
[jira] Created: (HTTPCORE-56) Worker thread exits with
CancelledKeyException
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: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
[jira] Updated: (HTTPCORE-56) Worker thread exits with
CancelledKeyException
Posted by "Anders Wallgren (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCORE-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anders Wallgren updated HTTPCORE-56:
------------------------------------
Fix Version/s: (was: 4.0-alpha4)
4.0-alpha5
> 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
> Assigned To: Oleg Kalnichevski
> Fix For: 4.0-alpha5
>
>
> 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: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
[jira] Commented: (HTTPCORE-56) Worker thread exits with
CancelledKeyException
Posted by "Anders Wallgren (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCORE-56?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485660 ]
Anders Wallgren commented on HTTPCORE-56:
-----------------------------------------
FYI, this is during a test that attempts to cancel a request before the SessionRequest completes, in case that provides any clues.
> 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
> Assigned To: Oleg Kalnichevski
> Fix For: 4.0-alpha5
>
>
> 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: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
[jira] Resolved: (HTTPCORE-56) Worker thread exits with
CancelledKeyException
Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCORE-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski resolved HTTPCORE-56.
---------------------------------------
Resolution: Fixed
I checked in a fix for this issue. Please review
Oleg
> 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
> Assigned To: Oleg Kalnichevski
> Fix For: 4.0-alpha4
>
>
> 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: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
[jira] Updated: (HTTPCORE-56) Worker thread exits with
CancelledKeyException
Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCORE-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski updated HTTPCORE-56:
--------------------------------------
Fix Version/s: 4.0-alpha4
Assignee: Oleg Kalnichevski
> 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
> Assigned To: Oleg Kalnichevski
> Fix For: 4.0-alpha4
>
>
> 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: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
[jira] Commented: (HTTPCORE-56) Worker thread exits with
CancelledKeyException
Posted by "Anders Wallgren (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCORE-56?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485666 ]
Anders Wallgren commented on HTTPCORE-56:
-----------------------------------------
I suppose this could be considered a new bugs, since it's not a worker thread that exits, but the main thread itself.
> 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
> Assigned To: Oleg Kalnichevski
> Fix For: 4.0-alpha5
>
>
> 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: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
[jira] Reopened: (HTTPCORE-56) Worker thread exits with
CancelledKeyException
Posted by "Anders Wallgren (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCORE-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anders Wallgren reopened HTTPCORE-56:
-------------------------------------
Still seeing this in my tests:
2007-03-30T14:54:45.312 | ERROR | AgentManager | | FailsafeRunnable | Uncaught exception: 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:64)
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processSessionRequests(DefaultConnectingIOReactor.java:276)
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.execute(DefaultConnectingIOReactor.java:121)
at com.electriccloud.commander.agent.AgentManager.innerRun(AgentManager.java:203)
at com.electriccloud.util.FailsafeRunnable.run(FailsafeRunnable.java:115)
at java.lang.Thread.run(Thread.java:619)
> 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
> Assigned To: Oleg Kalnichevski
> Fix For: 4.0-alpha5
>
>
> 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: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
[jira] Commented: (HTTPCORE-56) Worker thread exits with
CancelledKeyException
Posted by "Anders Wallgren (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCORE-56?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12479727 ]
Anders Wallgren commented on HTTPCORE-56:
-----------------------------------------
FYI, in my unit test, I create a request, wait for the connection to be establish, then immediately issue a cancel.
> 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: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
[jira] Resolved: (HTTPCORE-56) Worker thread exits with
CancelledKeyException
Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCORE-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski resolved HTTPCORE-56.
---------------------------------------
Resolution: Fixed
Fixed applied. Please review.
Oleg
> 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
> Assigned To: Oleg Kalnichevski
> Fix For: 4.0-alpha5
>
>
> 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: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org