Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3170 Umbrella for eliminating ZooKeeper flaky tests
  3. ZOOKEEPER-2966

Flaky NullPointerException while closing client connection

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Critical
    • Resolution: Cannot Reproduce
    • 3.5.3
    • None
    • java client
    • None

    Description

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

      ZK client 3.5.3, stacktrace self-explains

      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)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              eolivelli Enrico Olivelli
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: