Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 41514 invoked from network); 18 Feb 2010 18:26:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Feb 2010 18:26:49 -0000 Received: (qmail 92509 invoked by uid 500); 18 Feb 2010 18:26:49 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 92419 invoked by uid 500); 18 Feb 2010 18:26:49 -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 92402 invoked by uid 99); 18 Feb 2010 18:26:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 18:26:49 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 18:26:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E384C29A001A for ; Thu, 18 Feb 2010 10:26:27 -0800 (PST) Message-ID: <958066393.365161266517587930.JavaMail.jira@brutus.apache.org> Date: Thu, 18 Feb 2010 18:26:27 +0000 (UTC) From: "Bram de Kruijff (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Created: (JCR-2503) inconsistent session and persistent after ReferentialIntegrityException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 inconsistent session and persistent after ReferentialIntegrityException ------------------------------------------------------------------------ Key: JCR-2503 URL: https://issues.apache.org/jira/browse/JCR-2503 Project: Jackrabbit Content Repository Issue Type: Bug Components: jackrabbit-core Affects Versions: 1.5.8, 1.6.2, 2.1.0 Environment: win7 / jdk 1.6.0_17 / mvn 2.0.10 Reporter: Bram de Kruijff Priority: Critical When a ReferentialIntegrityException occurs in a session it seems that subsequent actions on that session may result in a inconsistent session state AND even inconsistent persistent state. The latter will even make jackrabbit fail to bootstrap an index from that persistent state. Typical rootcause: Caused by: org.apache.jackrabbit.core.state.NoSuchItemStateException: ddb9d3ea-59c1-4eb4-a83e-332f646d4f40 at org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:270) at org.apache.jackrabbit.core.query.lucene.MultiIndex.createIndex(MultiIndex.java:1082) at org.apache.jackrabbit.core.query.lucene.MultiIndex.createIndex(MultiIndex.java:1088) at org.apache.jackrabbit.core.query.lucene.MultiIndex.createInitialIndex(MultiIndex.java:395) Bootstrap failure: java.io.IOException: Error indexing workspace at org.apache.jackrabbit.core.query.lucene.MultiIndex.createInitialIndex(MultiIndex.java:402) at org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:465) at org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:59) at org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:553) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.