You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2011/05/27 18:08:48 UTC

[jira] [Resolved] (ZOOKEEPER-996) ZkClient: stat on non-existing node causes NPE

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt resolved ZOOKEEPER-996.
------------------------------------

    Resolution: Duplicate

Dup of ZOOKEEPER-1059 which has been fixed.

> ZkClient: stat on non-existing node causes NPE
> ----------------------------------------------
>
>                 Key: ZOOKEEPER-996
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-996
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: java client
>    Affects Versions: 3.3.2
>         Environment: CentOS release 5.5 (Final)
>            Reporter: Alex
>            Priority: Trivial
>
> stat on non-existing node causes NPE. client quit
> stat /aa
> Exception in thread "main" java.lang.NullPointerException
>         at org.apache.zookeeper.ZooKeeperMain.printStat(ZooKeeperMain.java:130)
>         at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:722)
>         at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:581)
>         at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:353)
>         at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:311)
>         at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:270)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira