[ https://issues.apache.org/jira/browse/ZOOKEEPER-2966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16780490#comment-16780490 ]
Norbert Kalmar commented on ZOOKEEPER-2966: ------------------------------------------- I think this was fixed by the netty 4 update. Unfortunately not backported to 3.5 https://issues.apache.org/jira/browse/ZOOKEEPER-3152 [~anmolnar] ? > Flaky NullPointerException while closing client connection > ---------------------------------------------------------- > > Key: ZOOKEEPER-2966 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2966 > Project: ZooKeeper > Issue Type: Sub-task > Components: java client > Affects Versions: 3.5.3 > Reporter: Enrico Olivelli > Priority: Critical > > 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)