Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 12381 invoked from network); 29 Oct 2010 13:14:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Oct 2010 13:14:56 -0000 Received: (qmail 10532 invoked by uid 500); 29 Oct 2010 13:14:47 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 10354 invoked by uid 500); 29 Oct 2010 13:14:47 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 10108 invoked by uid 99); 29 Oct 2010 13:14:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Oct 2010 13:14:47 +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; Fri, 29 Oct 2010 13:14:46 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9TDEQdQ024627 for ; Fri, 29 Oct 2010 13:14:26 GMT Message-ID: <66139.141391288358066427.JavaMail.jira@thor> Date: Fri, 29 Oct 2010 09:14:26 -0400 (EDT) From: "Robert Muir (JIRA)" To: dev@lucene.apache.org Subject: [jira] Reopened: (LUCENE-2277) QueryNodeImpl throws ConcurrentModificationException on add(List) 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/LUCENE-2277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir reopened LUCENE-2277: --------------------------------- reopening for possible 2.9.4/3.0.3 backport. > QueryNodeImpl throws ConcurrentModificationException on add(List) > ---------------------------------------------------------------------------- > > Key: LUCENE-2277 > URL: https://issues.apache.org/jira/browse/LUCENE-2277 > Project: Lucene - Java > Issue Type: Bug > Components: contrib/* > Affects Versions: 3.0 > Environment: all > Reporter: Frank Wesemann > Assignee: Robert Muir > Priority: Critical > Fix For: 2.9.4, 3.0.3, 3.1, 4.0 > > Attachments: addChildren.patch, LUCENE-2277.patch > > > on adding a List of children to a QueryNodeImplemention a ConcurrentModificationException is thrown. > This is due to the fact that QueryNodeImpl instead of iteration over the supplied list, iterates over its internal clauses List. > Patch: > Index: QueryNodeImpl.java > =================================================================== > --- QueryNodeImpl.java (revision 911642) > +++ QueryNodeImpl.java (working copy) > @@ -74,7 +74,7 @@ > .getLocalizedMessage(QueryParserMessages.NODE_ACTION_NOT_SUPPORTED)); > } > > - for (QueryNode child : getChildren()) { > + for (QueryNode child : children) { > add(child); > } > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org