jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Bocanegra <tobias.bocane...@day.com>
Subject Re: removing reference properties
Date Sat, 19 Nov 2005 15:46:22 GMT
can you provide a code example that lead to this exception?
regards, toby

On 11/19/05, Aleksandar Pecanov <pecanov@mt.net.mk> wrote:
> I get a very nasty exception when saving reference properties. However,
> the node with the property containing the reference is saved correctly,
> but the refference is missing.
> Is this a known bug in jackrabbit, or is something else wrong?
>
> Here is the exception:
>
> Caused by: java.lang.NullPointerException
>        at
> org.apache.jackrabbit.core.version.VersionManagerImpl.internalSetItemReferences(VersionManagerImpl.java:761)
>        at
> org.apache.jackrabbit.core.version.VersionManagerImpl.setItemReferences(VersionManagerImpl.java:739)
>        at
> org.apache.jackrabbit.core.version.VersionManagerImpl.setNodeReferences(VersionManagerImpl.java:718)
>        at
> org.apache.jackrabbit.core.version.VersionItemStateProvider.setNodeReferences(VersionItemStateProvider.java:166)
>        at
> org.apache.jackrabbit.core.state.SharedItemStateManager.store(SharedItemStateManager.java:554)
>        at
> org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:344)
>        at
> org.apache.jackrabbit.core.state.TransactionalItemStateManager.update(TransactionalItemStateManager.java:276)
>        at
> org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:306)
>        at
> org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:260)
>        at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1153)
>        at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:765)
>
>


--
-----------------------------------------< tobias.bocanegra@day.com >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---

Mime
View raw message