On 11/8/11 3:08 PM, Doron Fediuck wrote:
Hi Guys,
I'm hitting (hard) a NPE coming from mina-core;

java.lang.NullPointerException
         at
org.apache.mina.core.service.SimpleIoProcessorPool.dispose(SimpleIoProcessorPool.java:289)
         at
org.apache.mina.core.service.SimpleIoProcessorPool.<init>(SimpleIoProcessorPool.java:229)
         at
org.apache.mina.core.service.SimpleIoProcessorPool.<init>(SimpleIoProcessorPool.java:123)
         at
org.apache.mina.core.polling.AbstractPollingIoConnector.<init>(AbstractPollingIoConnector.java:110)
         at
org.apache.mina.transport.socket.nio.NioSocketConnector.<init>(NioSocketConnector.java:66)
         at org.apache.sshd.SshClient.createAcceptor(SshClient.java:160)
         at org.apache.sshd.SshClient.start(SshClient.java:150)

This is happening in sshd version 0.6.0, mina-core 2.0.2.
I saw a post on how this should be fixed: 
http://osdir.com/ml/users/2011-01/msg06376.html
And it looks like mina-core fixed it in 2.0.4.
Is it possible for you to change the dependency to 2.0.4?

Thanks!
Doron

Ok, seems we have to upgrade to MINA 2.0.4 *and* to SLF4J 1.6.4, otherwise the tests aren't passing.

Guillaume, I have committed that in revision 1199261. Feel free to rollback if it breaks something !

--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Reply via email to