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

fix potential null pointer exception when deleting node

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.4.11
    • 3.5.4, 3.6.0, 3.4.12
    • java client
    • None
    • 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

              Unassigned Unassigned
              achimbab achimbab
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: