Hi all,

We have started seeing an unexpected error in our application.

javax.jcr.ItemNotFoundException: failed to build path of
b91e0f2a-844e-4c7e-97d9-1efa03878956: cafebabe-cafe-babe-cafe-babecafebabe
has no child entry for b91e0f2a-844e-4c7e-97d9-1efa03878956
        at
org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:289)
        at
org.apache.jackrabbit.core.CachingHierarchyManager.buildPath(CachingHierarchyManager.java:195)
        at
org.apache.jackrabbit.core.HierarchyManagerImpl.getPath(HierarchyManagerImpl.java:393)
        at
org.apache.jackrabbit.core.CachingHierarchyManager.getPath(CachingHierarchyManager.java:229)
        at
org.apache.jackrabbit.core.ItemImpl.getPrimaryPath(ItemImpl.java:213)
        at
org.apache.jackrabbit.core.NodeImpl.getPrimaryPath(NodeImpl.java:3240)

JR version 1.5.5 (cluster deployment, 2 nodes)
MySQL persistence
java version 1.6.0_06 (64 bit)

We tried restarting the application, deleting indexes. But the exception is
seen every time. Sessions are not shared, i.e. a new session is created for
every read or write. The tree has very few nodes, and we were adding 4 nodes
sequentially in the same session.

We are not able to reproduce this issue on a fresh setup.

Please see if you could answer the following questions:
1. How do we recover from this state?
2. How do we prevent this situation in future?


Regards
aasoj

Reply via email to