jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: NPE when using Workspace.copy()
Date Mon, 30 Nov 2009 17:27:33 GMT
On Mon, Nov 30, 2009 at 14:36,  <Sascha.Theves@innovations.de> wrote:
> I get a NullpointerException when trying to copy a node within the same
> workspace. Here is the stack trace:
>
> java.lang.NullPointerException
>
>      at
> org.apache.jackrabbit.core.BatchedItemOperations.copyNodeState(BatchedIt
> emOperations.java:1834)
>
>      at
> org.apache.jackrabbit.core.BatchedItemOperations.copyNodeState(BatchedIt
> emOperations.java:1806)
>
>      at
> org.apache.jackrabbit.core.BatchedItemOperations.copy(BatchedItemOperati
> ons.java:423)
>
>      at
> org.apache.jackrabbit.core.WorkspaceImpl.internalCopy(WorkspaceImpl.java
> :444)
>
>      at
> org.apache.jackrabbit.core.WorkspaceImpl.copy(WorkspaceImpl.java:666)
>
>
>
> The strange thing is I was able to copy nodes before. Does anybody have
> similar problems or does anybody has an idea how to fix that??

Might be a bug. Which version of Jackrabbit are you using? See also
http://wiki.apache.org/jackrabbit/QuestionsAndAnswers#Reporting_Problems

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message