You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Norbert Kalmar (JIRA)" <ji...@apache.org> on 2019/02/28 13:11:00 UTC

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

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-2966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16780490#comment-16780490 ] 

Norbert Kalmar edited comment on ZOOKEEPER-2966 at 2/28/19 1:10 PM:
--------------------------------------------------------------------

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] ?

Edit: Actually it has been backported, 3.5.5 stable will have the netty 4 backport! It should fix this issue.


was (Author: nkalmar):
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)