You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Enrico Olivelli (JIRA)" <ji...@apache.org> on 2018/01/17 08:05:00 UTC

[jira] [Created] (ZOOKEEPER-2966) Flaky NullPointerException while closing client connection

Enrico Olivelli created ZOOKEEPER-2966:
------------------------------------------

             Summary: Flaky NullPointerException while closing client connection
                 Key: ZOOKEEPER-2966
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2966
             Project: ZooKeeper
          Issue Type: Bug
          Components: java client
    Affects Versions: 3.5.3
            Reporter: Enrico Olivelli


It is not always reproducible, I get this in system tests of client applications.

ZK client 3.5.3, stacktrace self-explains
{code:java}
java.lang.NullPointerException
    at org.apache.zookeeper.ClientCnxnSocketNetty.onClosing(ClientCnxnSocketNetty.java:206)
    at org.apache.zookeeper.ClientCnxn$SendThread.close(ClientCnxn.java:1395)
    at org.apache.zookeeper.ClientCnxn.disconnect(ClientCnxn.java:1440)
    at org.apache.zookeeper.ClientCnxn.close(ClientCnxn.java:1467)
    at org.apache.zookeeper.ZooKeeper.close(ZooKeeper.java:1319){code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)