jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1806) Item not found exception
Date Fri, 17 Oct 2008 09:26:44 GMT

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

Jukka Zitting updated JCR-1806:
-------------------------------

    Component/s: jackrabbit-core

We've seen such repository inconsistencies every now and then, but so far we haven't been
able to identify the cause of that.

There are the consistencyCheck and consistencyFix options that you can use to detect and fix
such issues during startup, but of course that's just a workaround.

> Item not found exception
> ------------------------
>
>                 Key: JCR-1806
>                 URL: https://issues.apache.org/jira/browse/JCR-1806
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 1.3
>            Reporter: Tihomir Surdilovic
>
> Forum reference: http://www.nabble.com/Item-not-found-exception-to19859988.html
> Text:
> 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
org.drools.brms.server.ServiceImplementation.loadRuleListForCategories(ServiceImplementation.java:250)
at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at
> 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
referenced.
> 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.


Mime
View raw message