Benjamin Muschko created SSHD-311:
-------------------------------------

             Summary: NullPointerException on closing ClientSession
                 Key: SSHD-311
                 URL: https://issues.apache.org/jira/browse/SSHD-311
             Project: MINA SSHD
          Issue Type: Bug
    Affects Versions: 0.10.0
         Environment: IBM JDK 1.6, Windows JDK 1.7
            Reporter: Benjamin Muschko


we occasionally see the following stack trace triggered by the method call(s) 
{{ClientSession.close(false).awaitUninterruptibly();}}:

{code}
java.lang.NullPointerException
    at 
org.apache.sshd.common.util.CloseableUtils$4$1.operationComplete(CloseableUtils.java:125)
    at 
org.apache.sshd.common.util.CloseableUtils$4$1.operationComplete(CloseableUtils.java:121)
    at 
org.apache.sshd.common.future.DefaultSshFuture.notifyListener(DefaultSshFuture.java:261)
    at 
org.apache.sshd.common.future.DefaultSshFuture.addListener(DefaultSshFuture.java:212)
    at 
org.apache.sshd.common.util.CloseableUtils$4$1.operationComplete(CloseableUtils.java:126)
    at 
org.apache.sshd.common.util.CloseableUtils$4$1.operationComplete(CloseableUtils.java:121)
    at 
org.apache.sshd.common.future.DefaultSshFuture.notifyListener(DefaultSshFuture.java:261)
    at 
org.apache.sshd.common.future.DefaultSshFuture.addListener(DefaultSshFuture.java:212)
    at 
org.apache.sshd.common.util.CloseableUtils$4$1.operationComplete(CloseableUtils.java:126)
    at 
org.apache.sshd.common.util.CloseableUtils$4$1.operationComplete(CloseableUtils.java:121)
    at 
org.apache.sshd.common.future.DefaultSshFuture.notifyListener(DefaultSshFuture.java:261)
    at 
org.apache.sshd.common.future.DefaultSshFuture.addListener(DefaultSshFuture.java:212)
    at 
org.apache.sshd.common.util.CloseableUtils$4$1.operationComplete(CloseableUtils.java:126)
    at 
org.apache.sshd.common.util.CloseableUtils$4$1.operationComplete(CloseableUtils.java:121)
    at 
org.apache.sshd.common.util.CloseableUtils$4.close(CloseableUtils.java:132)
    at 
org.apache.sshd.common.util.CloseableUtils$AbstractInnerCloseable.doCloseGracefully(CloseableUtils.java:232)
    at 
org.apache.sshd.common.util.CloseableUtils$AbstractCloseable.close(CloseableUtils.java:190)
    at 
org.apache.sshd.common.util.CloseableUtils$4$1.operationComplete(CloseableUtils.java:125)
    at 
org.apache.sshd.common.util.CloseableUtils$4$1.operationComplete(CloseableUtils.java:121)
    at 
org.apache.sshd.common.util.CloseableUtils$4.close(CloseableUtils.java:132)
    at 
org.apache.sshd.common.util.CloseableUtils$AbstractInnerCloseable.doCloseGracefully(CloseableUtils.java:232)
    at 
org.apache.sshd.common.util.CloseableUtils$AbstractCloseable.close(CloseableUtils.java:190)
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to