Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 60667 invoked from network); 5 Nov 2008 19:56:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Nov 2008 19:56:11 -0000 Received: (qmail 9515 invoked by uid 500); 5 Nov 2008 19:56:12 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 9460 invoked by uid 500); 5 Nov 2008 19:56:11 -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 9378 invoked by uid 99); 5 Nov 2008 19:56:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Nov 2008 11:56:11 -0800 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; Wed, 05 Nov 2008 19:55:02 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 88F16234C27C for ; Wed, 5 Nov 2008 11:55:44 -0800 (PST) Message-ID: <279399923.1225914944559.JavaMail.jira@brutus> Date: Wed, 5 Nov 2008 11:55:44 -0800 (PST) From: "Chris Wilkes (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-1848) ConcurrentModificationException in SessionItemStateManager when multiple updates happening In-Reply-To: <810527878.1225911224191.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645307#action_12645307 ] Chris Wilkes commented on JCR-1848: ----------------------------------- Related to issue JCR-1846 > ConcurrentModificationException in SessionItemStateManager when multiple updates happening > ------------------------------------------------------------------------------------------ > > Key: JCR-1848 > URL: https://issues.apache.org/jira/browse/JCR-1848 > Project: Jackrabbit > Issue Type: Bug > Components: jackrabbit-core > Affects Versions: core 1.4.6 > Reporter: Chris Wilkes > > I'll post a trimmed down version of how I can get this error to be thrown. I bring this up as the code in SessionItemStateManager explicitly checks for a ItemNotFoundException so it looks like there was some thought put in to what happens if the underlying data changes. > java.util.ConcurrentModificationException > at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793) > at java.util.HashMap$ValueIterator.next(HashMap.java:822) > at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1010) > at org.apache.jackrabbit.core.state.SessionItemStateManager.getDescendantTransientItemStates(SessionItemStateManager.java:405) > at org.apache.jackrabbit.core.ItemImpl.getTransientStates(ItemImpl.java:317) > at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1080) > at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:897) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.