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

angela resolved JCR-1903.
-------------------------

    Resolution: Duplicate

duplicate of JCR-1902

> DavResourceImpl.getParentElements() causes ItemNotFoundException
> ----------------------------------------------------------------
>
>                 Key: JCR-1903
>                 URL: https://issues.apache.org/jira/browse/JCR-1903
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-jcr-server
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.5.0
>
>
> When requesting the root node the method DavResourceImpl.getParentElements() 
> causes an ItemNotFoundException because the root node does not have a parent:
> 05.12.2008 12:11:44 *WARN * DavResourceImpl: unable to calculate parent set 
> (DavResourceImpl.java, line 955)
> javax.jcr.ItemNotFoundException: root node doesn't have a parent
>         at org.apache.jackrabbit.core.NodeImpl.getParent(NodeImpl.java:2078)
>         at 
> org.apache.jackrabbit.webdav.simple.DavResourceImpl.getParentElements(DavResourceImpl.java:949)
>         at 
> org.apache.jackrabbit.webdav.simple.DavResourceImpl.initProperties(DavResourceImpl.java:393)
>         at 
> org.apache.jackrabbit.webdav.simple.DeltaVResourceImpl.initProperties(DeltaVResourceImpl.java:248)
>         at 
> org.apache.jackrabbit.webdav.simple.VersionControlledResourceImpl.initProperties(VersionControlledResourceImpl.java:320)
> [...]
> Only a WARN message is logged, the simple WebDAV server is still able to 
> generate a valid response.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to