You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2014/10/17 17:37:34 UTC

[jira] [Resolved] (SSHD-311) NullPointerException on closing ClientSession

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

Guillaume Nodet resolved SSHD-311.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 0.13.0
         Assignee: Guillaume Nodet

> 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
>            Assignee: Guillaume Nodet
>             Fix For: 0.13.0
>
>
> 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.3.4#6332)