Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2978

fix potential null pointer exception when deleting node

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.4.11
    • Fix Version/s: 3.5.4, 3.6.0, 3.4.12
    • Component/s: java client
    • Labels:
      None
    • Flags:
      Patch

      Description

      At line 518, 'existWatches.remove(clientPath)' is null because watches for clientPath is already removed.

      https://github.com/apache/zookeeper/pull/461/commits/a6044af23ae1096a8c5305633320fa139cf730b2

       

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: