You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Alex (JIRA)" <ji...@apache.org> on 2011/02/21 20:03:38 UTC

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

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

        

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

Posted by "Edward Ribeiro (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040280#comment-13040280 ] 

Edward Ribeiro commented on ZOOKEEPER-996:
------------------------------------------

This issue is duplicated on [ZOOKEEPER-1059], isn't it? 

> 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

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

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
     [ 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