[ 
https://issues.apache.org/jira/browse/HTTPCORE-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oleg Kalnichevski updated HTTPCORE-54:
--------------------------------------

    Fix Version/s: 4.0-alpha4

Anders,

I think what happens here is that the I/O reactor gets shut down before all of 
its worker threads and I/O dispatchers are fully initialized. This is a 
legitimate scenario, so we have to make AbstractMultiworkerIOReactor capable of 
shutting itself down even in a partially initialized state.

Oleg

> NPE during DefaultConnectingIOReactor.shutdown
> ----------------------------------------------
>
>                 Key: HTTPCORE-54
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-54
>             Project: HttpComponents Core
>          Issue Type: Bug
>          Components: HttpCore NIO
>            Reporter: Anders Wallgren
>             Fix For: 4.0-alpha4
>
>
> java.lang.NullPointerException 
> at 
> org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.stopWorkers(AbstractMultiworkerIOReactor.java:91)
> at 
> org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.shutdown(DefaultConnectingIOReactor.java:279)
> at 
> com.electriccloud.commander.agent.AgentManager.onStop(AgentManager.java:203)
> at com.electriccloud.util.FailsafeRunnable.stop(FailsafeRunnable.java:154)
> at 
> com.electriccloud.commander.agent.AgentManagerTest.tearDown(AgentManagerTest.java:329)
> It's possible that shutdown was called twice.

-- 
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