zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhallamudi Venkata Siva Kamesh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ZOOKEEPER-1059) stat command isses on non-existing node causes NPE
Date Wed, 04 May 2011 10:52:03 GMT
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
    Affects Versions: 3.4.0
            Reporter: Bhallamudi Venkata Siva Kamesh

*stat* command issues on non existing zookeeper node,causes NPE to the client.
[zk: localhost:2181(CONNECTED) 2] stat /amith
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)


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

View raw message