jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1903) DavResourceImpl.getParentElements() causes ItemNotFoundException
Date Fri, 05 Dec 2008 11:21:44 GMT
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

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

View raw message