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] [Commented] (SSHD-311) NullPointerException on closing
ClientSession
[ https://issues.apache.org/jira/browse/SSHD-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14175160#comment-14175160 ]
Guillaume Nodet commented on SSHD-311:
--------------------------------------
The new code checks for nulls.
> 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
> 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)