Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-311

NullPointerException on closing ClientSession

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.13.0
    • None
    • IBM JDK 1.6, Windows JDK 1.7

    Description

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

      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)
      

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              bmuschko Benjamin Muschko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: