jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg" <stefan.guggisb...@gmail.com>
Subject Re: errors after import
Date Thu, 03 Apr 2008 15:13:23 GMT
hi juerg

On Tue, Apr 1, 2008 at 10:55 PM, Juerg Meier
<juerg.meier@ctp-consulting.com> wrote:
> Hi all,
>
>  I'm running on Jackrabbit 1.4 .
>
>  After the import of a systems view file, I have a problem on path-properties.  Node.hasProperty()
reports that a property exists,
>  but as soon as I want to touch it, I get the following exception:
>
>  ERROR - failed to retrieve item state of item 0fa27759-1ee2-4009-943b-d624a2f93d37/{http://salon-de-the.com/ns/1.0}mainImage
>  org.apache.jackrabbit.core.state.ItemStateException: failed to read property state:
0f/a2/77591ee24009943bd624a2f93d37/4292f8cbfdb8c90b01ea3c6b60a13d59
>         at org.apache.jackrabbit.core.persistence.obj.ObjectPersistenceManager.load(ObjectPersistenceManager.java:257)
>         at org.apache.jackrabbit.core.state.SharedItemStateManager.loadItemState(SharedItemStateManager.java:1161)
>         at org.apache.jackrabbit.core.state.SharedItemStateManager.getNonVirtualItemState(SharedItemStateManager.java:1086)
>         at org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:248)
>         at org.apache.jackrabbit.core.state.LocalItemStateManager.getPropertyState(LocalItemStateManager.java:118)
>         at org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(LocalItemStateManager.java:150)
>         at org.apache.jackrabbit.core.state.XAItemStateManager.getItemState(XAItemStateManager.java:226)
>         at org.apache.jackrabbit.core.state.SessionItemStateManager.getItemState(SessionItemStateManager.java:175)
>         at org.apache.jackrabbit.core.ItemManager.createItemInstance(ItemManager.java:564)
>         at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:395)
>         at org.apache.jackrabbit.core.NodeImpl.getProperty(NodeImpl.java:2553)
>         at com.sdt.store.JcrConverter.nodeToReport(JcrConverter.java:853)
>
>  The import file looks fine (at least to me):
>   <sv:property sv:name="sdt:mainImage" sv:type="Path"><sv:value>/sdt:root/sdt:images/pic/tongmuFactory300.jpg</sv:value></sv:property>
>
>  This is only example. The problem occurs on all path properties. What might cause the
problem?

the ItemStateException logged actually wraps another exception (the
root cause of the failure).
you should find it in your log. could you please provide it as well?

do you have a simple test case that you could share with us?

thanks
stefan

>
>  Thanks,
>  Juerg
>

Mime
View raw message