curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cameron McKenzie (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CURATOR-149) ChildData's path check prevents the initialization of PathChildrenCache class
Date Tue, 14 Oct 2014 03:12:34 GMT

     [ https://issues.apache.org/jira/browse/CURATOR-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Cameron McKenzie closed CURATOR-149.
------------------------------------
    Resolution: Fixed

This has been fixed independently as part of CURATOR-136. Commit is 63444f6a2273bd910b33ecb10d1106cb2225e4fb

> 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