curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nandor Kracser (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CURATOR-149) ChildData's path check prevents the initialization of PathChildrenCache class
Date Thu, 18 Sep 2014 18:30:33 GMT
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)

Mime
View raw message