You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Shaun Barriball <sb...@yahoo.co.uk> on 2006/12/04 15:22:57 UTC

"Unable to get path of X" Warnings when using Workspace.copy()

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?
 
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)

 

Re: "Unable to get path of X" Warnings when using Workspace.copy()

Posted by Joshua Levy <le...@csl.sri.com>.
Hi all,
I've just run into the exact same warnings mentioned earlier:


sbarriba wrote:
> 
> When using Workspace.copy() to copy a simple node structure we're seeing
> WARNINGS & stack traces being generated by the Caching tier. 
> ...
> 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(HierarchyManagerImpl.java:309)
> at
> org.apache.jackrabbit.core.CachingHierarchyManager.buildPath(CachingHierarchyManager.java:160)
> at
> org.apache.jackrabbit.core.HierarchyManagerImpl.getPath(HierarchyManagerImpl.java:358) 
> ...
> 

Is it at all obvious whether this is likely a Jackrabbit issue or an
error in client code?  (In Jira, the only possibly related issue
I found is JCR-607.)  This is with JR 1.1.1.

Many thanks!

Regards,
Joshua
-- 
View this message in context: http://www.nabble.com/%22Unable-to-get-path-of-X%22--Warnings-when-using-Workspace.copy%28%29-tf2753350.html#a8310088
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Re: "Unable to get path of X" Warnings when using Workspace.copy()

Posted by Stefan Guggisberg <st...@gmail.com>.
hi shaun,

On 12/4/06, Shaun Barriball <sb...@yahoo.co.uk> 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)
>
>
>
>