You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2013/12/11 15:57:08 UTC

[jira] [Resolved] (OAK-1277) PathUtils assertion failed error should also include invalid path

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

Chetan Mehrotra resolved OAK-1277.
----------------------------------

    Resolution: Fixed

Fixed in http://svn.apache.org/r1550162

> PathUtils assertion failed error should also include invalid path
> -----------------------------------------------------------------
>
>                 Key: OAK-1277
>                 URL: https://issues.apache.org/jira/browse/OAK-1277
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: commons
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 0.14
>
>
> With AssertionEnabled (-ea) PathUtils throws AssertionError for invalid paths. It would be helpful if it includes the invalid path details. Currently the error is
> {noformat}
> 2013-12-11 17:32:40,089 ERROR NA [MongoNodeStore background thread] o.a.s.e.t.internal.Activator - Uncaught exception in Thread Thread[MongoNodeStore background thread,5,main] 
> java.lang.AssertionError: null
>         at org.apache.jackrabbit.oak.commons.PathUtils.elements(PathUtils.java:216) ~[na:na]
>         at org.apache.jackrabbit.oak.plugins.mongomk.CacheInvalidator$HierarchicalInvalidator.constructTreeFromPaths(CacheInvalidator.java:264) ~[na:na]
>         at org.apache.jackrabbit.oak.plugins.mongomk.CacheInvalidator$HierarchicalInvalidator.invalidateCache(CacheInvalidator.java:164) ~[na:na]
>         at org.apache.jackrabbit.oak.plugins.mongomk.MongoDocumentStore.invalidateCache(MongoDocumentStore.java:135) ~[na:na]
>         at org.apache.jackrabbit.oak.plugins.mongomk.MongoNodeStore.backgroundRead(MongoNodeStore.java:1145) ~[na:na]
>         at org.apache.jackrabbit.oak.plugins.mongomk.MongoNodeStore.runBackgroundOperations(MongoNodeStore.java:1097) ~[na:na]
>         at org.apache.jackrabbit.oak.plugins.mongomk.MongoNodeStore$BackgroundOperation.run(MongoNodeStore.java:1320) ~[na:na]
>   
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)