ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-996

ZkClient: stat on non-existing node causes NPE

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Duplicate
    • Affects Version/s: 3.3.2
    • Fix Version/s: None
    • Component/s: java client
    • Labels:
      None
    • Environment:

      CentOS release 5.5 (Final)

      Description

      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)

        Activity

        Hide
        Edward Ribeiro added a comment -

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

        Show
        Edward Ribeiro added a comment - This issue is duplicated on ZOOKEEPER-1059 , isn't it?
        Hide
        Patrick Hunt added a comment -

        Dup of ZOOKEEPER-1059 which has been fixed.

        Show
        Patrick Hunt added a comment - Dup of ZOOKEEPER-1059 which has been fixed.

          People

          • Assignee:
            Unassigned
            Reporter:
            Alex
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development