jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-497) HierarchyManager can't build path
Date Mon, 31 Jul 2006 13:29:14 GMT
     [ http://issues.apache.org/jira/browse/JCR-497?page=all ]

Stefan Guggisberg resolved JCR-497.

    Resolution: Invalid

the exception is caused by a faulty AccessManager implementation.
the following line (MyAccessManager.java, line 109):

    Node node = ((SessionImpl) systemSession).getNodeById(nodeId);

throws the exception because 'systemSession' can't see 
new transient nodes of another session.

> HierarchyManager can't build path
> ---------------------------------
>                 Key: JCR-497
>                 URL: http://issues.apache.org/jira/browse/JCR-497
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.1
>         Environment: Ubuntu Linux Dapper
>            Reporter: Paco Avila
>         Attachments: Dummy.java, MyAccessManager.java, repository2.xml
> I'm programming my own AccessManager and I have two issues. The first is
> with actual jacrabbit version 1.0.1. In attached file Dummy.java line 70
> there is a comment about this. In the development version this bug is
> gone.
> But a have another bug in the development version of Jackrabbit. This is
> a weir error because I can't reproduce it always. But with this code it
> raises very often:
> for (int i=0; i<100; i++) {
>    Node n1 = myRoot.addNode("pepe "+i, "nt:hierarchyNode");
> }
> The exception is thrown in line 93 of MyAccessManager.java. There is a
> comment on it. The exception says me that HierarchyManager can't build a
> path.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message