You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2010/05/13 17:52:48 UTC

[jira] Updated: (JCR-2433) NPE when copying nodes with Workspace.copy()

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

Jukka Zitting updated JCR-2433:
-------------------------------

    Comment: was deleted

(was: Hi,

I'm currently out of the office on a holiday, until May the 14th, and will not have access to email. Your message was not forwarded, and will be taken care of upon my return. In urgent cases, please contact <in...@magnolia-cms.com>.

Kind Regards,

Grégory Joseph
Magnolia International Ltd.

----------------------------------------------------------------------
gregory.joseph@magnolia-cms.com            http://www.magnolia-cms.com
Magnolia®  - Simple Enterprise Content Management
----------------------------------------------------------------------



)

> NPE when copying nodes with Workspace.copy()
> --------------------------------------------
>
>                 Key: JCR-2433
>                 URL: https://issues.apache.org/jira/browse/JCR-2433
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 1.6.0
>            Reporter: Sascha Theves
>            Assignee: Jukka Zitting
>            Priority: Blocker
>             Fix For: 1.6.2
>
>
> I get a NullpointerException when using Workspace.copy():
> java.lang.NullPointerException
> at org.apache.jackrabbit.core.BatchedItemOperations.copyNodeState(BatchedItemOperations.java:1834)
> at org.apache.jackrabbit.core.BatchedItemOperations.copyNodeState(BatchedItemOperations.java:1806)
> at org.apache.jackrabbit.core.BatchedItemOperations.copyNodeState(BatchedItemOperations.java:1806)
> at org.apache.jackrabbit.core.BatchedItemOperations.copy(BatchedItemOperations.java:423)
> at org.apache.jackrabbit.core.WorkspaceImpl.internalCopy(WorkspaceImpl.java:444)
> at org.apache.jackrabbit.core.WorkspaceImpl.copy(WorkspaceImpl.java:666)
> at xxx.MyClass.myMeth(MyClass.java)
> It seems that it happens not all the time. The error occurs since we use Jackrabbit 1.6.0. We do not get the error with previous versions. It seems that we only get the error when trying to copy nodes that were created with Jackrabbit 1.4 and copied with Jackrabbit 1.6.

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