Every few weeks or days we run into a situation where the JCR (2.2.12, 
DerbyPersistenceManager) starts throwing PathNotFoundExceptions. It happens for 
various nodes (siblings), but it's always the same property that seems to be 
missing:
 
Caused by: javax.jcr.PathNotFoundException: timePeriod
at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2125) 
~[jackrabbit-core-2.2.12.jar:2.2.12]
at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2100) 
~[jackrabbit-core-2.2.12.jar:2.2.12]
at 
org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:200) 
~[jackrabbit-core-2.2.12.jar:2.2.12]
at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91) 
~[jackrabbit-core-2.2.12.jar:2.2.12]
at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2100) 
~[jackrabbit-core-2.2.12.jar:2.2.12]
 
One of our developers looked into the jackrabbit code and suggests that it 
might be related to ItemManager#getNode, lines 676 and following, where some 
parentId check is performed.
 
Note that we cannot reproduce the problem when stopping the server machine, 
copying the database and running it locally. Also, the server stop and restart 
fixes the problem for a while.
 
Cheers
Thomas

Reply via email to