mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Muschko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SSHD-311) NullPointerException on closing ClientSession
Date Tue, 15 Apr 2014 13:00:16 GMT

     [ 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)

Mime
View raw message