jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tihomir Surdilovic (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1806) Item not found exception
Date Mon, 13 Oct 2008 17:24:44 GMT
Item not found exception

                 Key: JCR-1806
                 URL: https://issues.apache.org/jira/browse/JCR-1806
             Project: Jackrabbit
          Issue Type: Bug
    Affects Versions: 1.3
            Reporter: Tihomir Surdilovic

Forum reference: http://www.nabble.com/Item-not-found-exception-to19859988.html


We are using Drools which internally uses JackRabbit.
All our assests except for the indexes are stored in the database.
We are currently facing a issue where in we are not able to open a asset.. While trying to
open the asset , I'm getting the following error message

org.drools.repository.RulesRepositoryException: javax.jcr.ItemNotFoundException: failed to
build path of fdfc36a0-b398-45ff-81c6-4533d160af2d: e4e5da74-cdb0-4110-9a07-633a8f0f40b1 has
no child entry for fdfc36a0-b398-45ff-81c6-4533d160af2d at org.drools.repository.RulesRepository.findAssetsByCategory(RulesRepository.java:701)
at org.drools.repository.RulesRepository.findAssetsByCategory(RulesRepository.java:709) at
at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

When I tried to export and import the repository back, I was not able to do so and got the
following exception -
RulesRepositoryAdministrator.java:clearRulesRepository:79)      javax.jcr.ReferentialIntegrityException:
fe3e2ba7-802d-49e8-b7d0-adc59a4a7b51: the node cannot be removed because it is still being
2008-10-07 14:36:13,168 INFO  [STDOUT] ERROR 07-10 14:36:13,168 (Contexts.java:flushAndDestroyContexts:335)
     could not discover transaction status
2008-10-07 14:36:24,333 ERROR [STDERR] javax.jcr.InvalidItemStateException: /: the item cannot
be saved because it has been modified externally.
2008-10-07 14:36:24,334 ERROR [STDERR]  at org.apache.jackrabbit.core.ItemImpl.getTransientStates(ItemImpl.java:333)
2008-10-07 14:36:24,334 ERROR [STDERR]  at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1079)

Can any one let us know what might be the probable root cause. If we can delete that particular
asset related records in the DB, will it work. Any help would be appreciated. 

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

View raw message