You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Hartmut Lang (Assigned) (JIRA)" <ji...@apache.org> on 2012/03/27 02:25:28 UTC
[jira] [Assigned] (ZOOKEEPER-1434) zkCli crashes with NPE on stat
of non-existent path
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hartmut Lang reassigned ZOOKEEPER-1434:
---------------------------------------
Assignee: Hartmut Lang
> zkCli crashes with NPE on stat of non-existent path
> ---------------------------------------------------
>
> Key: ZOOKEEPER-1434
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1434
> Project: ZooKeeper
> Issue Type: Bug
> Components: java client
> Affects Versions: 3.3.5
> Reporter: Wing Yew Poon
> Assignee: Hartmut Lang
>
> In the command line client (zkCli.sh), when I do
> {noformat}
> stat /non-existent
> {noformat}
> the client crashes with
> {noformat}
> 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)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira