Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-149

ChildData's path check prevents the initialization of PathChildrenCache class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.0
    • 2.7.0
    • Recipes
    • None

    Description

      PathChildrenCache has a static field:

      private static final ChildData NULL_CHILD_DATA = new ChildData(null, null, null);

      But this can't be created because of:

      Caused by: java.lang.IllegalArgumentException: Path cannot be null
      at org.apache.curator.utils.PathUtils.validatePath(PathUtils.java:48)
      at org.apache.curator.framework.recipes.cache.ChildData.<init>(ChildData.java:34)
      at org.apache.curator.framework.recipes.cache.PathChildrenCache.<clinit>(PathChildrenCache.java:90)
      ... 31 more

      Attachments

        Activity

          People

            Unassigned Unassigned
            bonifaido Nandor Kracser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: