hi shaun, On 12/4/06, Shaun Barriball <[EMAIL PROTECTED]> wrote:
Hi all, When using Workspace.copy() to copy a simple node structure we're seeing WARNINGS & stack traces being generated by the Caching tier. It is not obvious from this whether there is therefore something wrong with our client code. Stack included below. Can this WARNING be avoided?
nothing's wrong with your client code. the warnings are harmless and you can safely ignore them. however i agree that they're annoying and misleading. dominique fixed this (ItemNotFoundException logged as warning) 2 months ago in the trunk (svn r475276). cheers stefan
All help appreciated. Regards, Shaun. Unable to get path of 0f371d5e-2965-4401-a38e-65fdbeaa18d3 javax.jcr.ItemNotFoundException: failed to build path of 0f371d5e-2965-4401-a38e-65fdbeaa18d3: ec5c8e32-daf8-4c97-b00c-3ca0dca2e131 has no child entry for 0f371d5e-2965-4401-a38e-65fdbeaa18d3 at org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerIm pl.java:309) at org.apache.jackrabbit.core.CachingHierarchyManager.buildPath(CachingHierarch yManager.java:160) at org.apache.jackrabbit.core.HierarchyManagerImpl.getPath(HierarchyManagerImpl .java:358) at org.apache.jackrabbit.core.CachingHierarchyManager.getPath(CachingHierarchyM anager.java:222) at org.apache.jackrabbit.core.CachingHierarchyManager.nodeAdded(CachingHierarch yManager.java:351) at org.apache.jackrabbit.core.state.StateChangeDispatcher.notifyNodeAdded(State ChangeDispatcher.java:152) at org.apache.jackrabbit.core.state.LocalItemStateManager.nodeAdded(LocalItemSt ateManager.java:479) at org.apache.jackrabbit.core.state.NodeState.notifyNodeAdded(NodeState.java:78 8) at org.apache.jackrabbit.core.state.NodeState.addChildNodeEntry(NodeState.java: 377) at org.apache.jackrabbit.core.BatchedItemOperations.copyNodeState(BatchedItemOp erations.java:1674) at org.apache.jackrabbit.core.BatchedItemOperations.copy(BatchedItemOperations. java:311) at org.apache.jackrabbit.core.WorkspaceImpl.internalCopy(WorkspaceImpl.java:296 ) at org.apache.jackrabbit.core.WorkspaceImpl.copy(WorkspaceImpl.java:424)
