You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Nandor Kracser (JIRA)" <ji...@apache.org> on 2014/09/18 20:30:33 UTC

[jira] [Created] (CURATOR-149) ChildData's path check prevents the initialization of PathChildrenCache class

Nandor Kracser created CURATOR-149:
--------------------------------------

             Summary: ChildData's path check prevents the initialization of PathChildrenCache class
                 Key: CURATOR-149
                 URL: https://issues.apache.org/jira/browse/CURATOR-149
             Project: Apache Curator
          Issue Type: Bug
          Components: Recipes
    Affects Versions: 2.7.0
            Reporter: Nandor Kracser
             Fix For: 2.7.0


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)