jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gustavo Orair (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-3197) ItemNotFoundException while adding a NT_FOLDER node inside rootNode
Date Mon, 02 Jan 2012 17:52:31 GMT
ItemNotFoundException while adding a NT_FOLDER node inside rootNode
-------------------------------------------------------------------

                 Key: JCR-3197
                 URL: https://issues.apache.org/jira/browse/JCR-3197
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-core
    Affects Versions: 2.3.3
         Environment: Linux Ubuntu, Glassfish 3.1.1, JackRabbitJCA 2.3.3.
            Reporter: Gustavo Orair
            Priority: Critical


I got an Strange ItemNotFoundException exception while adding a NT_FOLDER to the root node.

The code just calls:
	session.getRootNode().addNode(folderName, NodeType.NT_FOLDER);

The addNode method failed with ItemNotFoundException.

Relevant Stack trace:
Caused by: javax.jcr.ItemNotFoundException?: 9ea3aca6-c1b8-4955-9ece-546fd12ba5f1

    at org.apache.jackrabbit.core.ItemManager?.getItemData(ItemManager?.java:384) ~[jackrabbit-core-2.3.3.jar:na]
    at org.apache.jackrabbit.core.ItemManager?.getNode(ItemManager?.java:669) ~[jackrabbit-core-2.3.3.jar:na]
    at org.apache.jackrabbit.core.ItemManager?.getNode(ItemManager?.java:647) ~[jackrabbit-core-2.3.3.jar:na]
    at org.apache.jackrabbit.core.NodeImpl?.addNode(NodeImpl?.java:1286) ~[jackrabbit-core-2.3.3.jar:na]
    at org.apache.jackrabbit.core.session.AddNodeOperation?.perform(AddNodeOperation?.java:111)
~[jackrabbit-core-2.3.3.jar:na]
    at org.apache.jackrabbit.core.session.AddNodeOperation?.perform(AddNodeOperation?.java:37)
~[jackrabbit-core-2.3.3.jar:na]
    at org.apache.jackrabbit.core.session.SessionState?.perform(SessionState?.java:216) ~[jackrabbit-core-2.3.3.jar:na]
    at org.apache.jackrabbit.core.ItemImpl?.perform(ItemImpl?.java:91) ~[jackrabbit-core-2.3.3.jar:na]
    at org.apache.jackrabbit.core.NodeImpl?.addNodeWithUuid(NodeImpl?.java:1776) ~[jackrabbit-core-2.3.3.jar:na]
    at org.apache.jackrabbit.core.NodeImpl?.addNode(NodeImpl?.java:1736) ~[jackrabbit-core-2.3.3.jar:na]
    at econoinfo.commons.storage.impl.JCRStorage.obtemOuCriaPasta(JCRStorage.java:602) ~[SimpleStorageFacade-JcrStorage-2.2-SNAPSHOT.jar:na]
    at econoinfo.commons.storage.impl.JCRStorage.obtemOuCriaPasta(JCRStorage.java:608) ~[SimpleStorageFacade-JcrStorage-2.2-SNAPSHOT.jar:na]
    at econoinfo.commons.storage.impl.JCRStorage.obtemOuCriaPasta(JCRStorage.java:608) ~[SimpleStorageFacade-JcrStorage-2.2-SNAPSHOT.jar:na]
    at econoinfo.commons.storage.impl.JCRStorage.obtemOuCriaPasta(JCRStorage.java:608) ~[SimpleStorageFacade-JcrStorage-2.2-SNAPSHOT.jar:na]
    at econoinfo.commons.storage.impl.JCRStorage.add(JCRStorage.java:882) ~[SimpleStorageFacade-JcrStorage-2.2-SNAPSHOT.jar:na]
    at econoinfo.commons.storage.impl.JCRStorage.add(JCRStorage.java:400) ~[SimpleStorageFacade-JcrStorage-2.2-SNAPSHOT.jar:na]
    ... 146 common frames omitted



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message