Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 93458 invoked from network); 28 Apr 2010 08:46:03 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Apr 2010 08:46:03 -0000 Received: (qmail 7217 invoked by uid 500); 28 Apr 2010 08:46:03 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 6982 invoked by uid 500); 28 Apr 2010 08:46:01 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 6973 invoked by uid 99); 28 Apr 2010 08:46:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 08:46:00 +0000 X-ASF-Spam-Status: No, hits=-1359.2 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 08:45:59 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3S8jcg8005857 for ; Wed, 28 Apr 2010 08:45:39 GMT Message-ID: <31417503.53091272444338881.JavaMail.jira@thor> Date: Wed, 28 Apr 2010 04:45:38 -0400 (EDT) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-2433) NPE when copying nodes with Workspace.copy() In-Reply-To: <117573320.1260520638055.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCR-2433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12861727#action_12861727 ] Jukka Zitting commented on JCR-2433: ------------------------------------ Paul, can you post the exact stack trace you're getting? > 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, 2.1.0 > > > 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.