[
https://issues.apache.org/jira/browse/ZOOKEEPER-1059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13034703#comment-13034703
]
Hudson commented on ZOOKEEPER-1059:
-----------------------------------
Integrated in ZooKeeper-trunk #1185 (See
[https://builds.apache.org/hudson/job/ZooKeeper-trunk/1185/])
ZOOKEEPER-1059. stat command isses on non-existing node causes NPE.
(Bhallamudi Kamesh via mahadev)
> stat command isses on non-existing node causes NPE
> ---------------------------------------------------
>
> Key: ZOOKEEPER-1059
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1059
> Project: ZooKeeper
> Issue Type: Bug
> Components: java client
> Reporter: Bhallamudi Venkata Siva Kamesh
> Assignee: Bhallamudi Venkata Siva Kamesh
> Fix For: 3.4.0
>
> Attachments: ZOOKEEPER-1059.patch
>
>
> *stat* command issues on non existing zookeeper node,causes NPE to the client.
> {noformat}
> [zk: localhost:2181(CONNECTED) 2] stat /invalidPath
> Exception in thread "main" java.lang.NullPointerException
> at
> org.apache.zookeeper.ZooKeeperMain.printStat(ZooKeeperMain.java:131)
> at
> org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:723)
> at
> org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:582)
> at
> org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:354)
> at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:312)
> at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:271)
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira