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