Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 9872 invoked from network); 8 Nov 2010 16:20:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Nov 2010 16:20:08 -0000 Received: (qmail 88717 invoked by uid 500); 8 Nov 2010 16:20:38 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 88626 invoked by uid 500); 8 Nov 2010 16:20:38 -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 88613 invoked by uid 99); 8 Nov 2010 16:20:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 16:20:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Mon, 08 Nov 2010 16:20:37 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA8GKGS2022201 for ; Mon, 8 Nov 2010 16:20:17 GMT Message-ID: <12452909.76661289233216748.JavaMail.jira@thor> Date: Mon, 8 Nov 2010 11:20:16 -0500 (EST) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-1670) NPE when clustered JR queries version history on a node that has just had a version added by another JR in the same cluster In-Reply-To: <1497559845.1215432691855.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-1670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting updated JCR-1670: ------------------------------- Remaining Estimate: 0h Original Estimate: 0h > NPE when clustered JR queries version history on a node that has just had a version added by another JR in the same cluster > --------------------------------------------------------------------------------------------------------------------------- > > Key: JCR-1670 > URL: https://issues.apache.org/jira/browse/JCR-1670 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: clustering, jackrabbit-core > Affects Versions: core 1.4.3 > Environment: Windows XP servers, JDK 1.5.2.02, in process. Microsoft SQL 2005 bundled persistence manager, datastore. > Reporter: Brett Connor > Priority: Critical > Original Estimate: 0h > Remaining Estimate: 0h > > Two computers A and B running jboss webapp, including in-process Jackrabbit instances in a cluster. > - A checks out a versioned node, then checks it in and unlocks it > - A notifies B (through a non JR mechanism) that the node has been updated > - B finds the node (by UUID) and calls getVersionHistory().getAllVersions() > This results in java.lang.NullPointerException > at org.apache.jackrabbit.core.version.VersionIteratorImpl.addVersion(VersionIteratorImpl.java:147) > at org.apache.jackrabbit.core.version.VersionIteratorImpl. (VersionIteratorImpl.java:68) > at org.apache.jackrabbit.core.version.VersionHistoryImpl.getAllVersions(VersionHistoryImpl.java:95) > The addVersion() method is synchronized, but looks like it's reading a null from 'successors'. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.