You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Benjamin Muschko (JIRA)" <ji...@apache.org> on 2014/04/15 15:00:16 UTC
[jira] [Updated] (SSHD-311) NullPointerException on closing
ClientSession
[ https://issues.apache.org/jira/browse/SSHD-311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Muschko updated SSHD-311:
----------------------------------
Description:
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}
was:
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}
> 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)