Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.10.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
- depends upon
-
SSHD-360 Rework CloseableUtils code
- Resolved