Re: ConcurrentModificationException when running with Parallel-Ant executor

2019-11-20 Thread Avanish Kant
; Subject: ConcurrentModificationException when running with Parallel-Ant executor This relates to the issue and fix provided as a part of following PR. https://github.com/apache/ant/pull/81 I understand that this fix is available as part of Ant 1.10.6. However I continue to face this problem even with Ant 1.10.6. I

ConcurrentModificationException when running with Parallel-Ant executor

2019-11-20 Thread Avanish Kant
-source/scpp-builder/build/macro-library.xml:880: The following error occurred while executing this line: /builds/v2020/demand-forecasting/scpp-stable-source/scpp-builder/build/macro-library.xml:890: java.util.ConcurrentModificationException. Above ConcurrentModificationException is thrown by

Re: ConcurrentModificationException

2007-01-15 Thread Thomas Voigt
Original-Nachricht Datum: Thu, 11 Jan 2007 21:56:04 +0100 Von: "Thomas Voigt" <[EMAIL PROTECTED]> > Original-Nachricht > Datum: Thu, 11 Jan 2007 11:26:17 -0800 (PST) > Von: Matt Benson <[EMAIL PROTECTED]> > > > If you are > > the adventurous type who wants to

Re: ConcurrentModificationException

2007-01-12 Thread Peter Reilly
Also as the lock is on the hashtable, no new locks are added as the iteration will use the same lock. On 1/12/07, Matt Benson <[EMAIL PROTECTED]> wrote: --- Steve Loughran <[EMAIL PROTECTED]> wrote: > Matt Benson wrote: > > I agree, Peter. However, the patch I am currently > > testing adds sy

Re: ConcurrentModificationException

2007-01-12 Thread Matt Benson
--- Steve Loughran <[EMAIL PROTECTED]> wrote: > Matt Benson wrote: > > I agree, Peter. However, the patch I am currently > > testing adds synchro blocks to all Hashtable > copies in > > PropertyHelper. :) > > > > -Matt > > Just as long as we don't get deadlocks. > > > When I was updating the

Re: ConcurrentModificationException

2007-01-12 Thread Steve Loughran
Matt Benson wrote: I agree, Peter. However, the patch I am currently testing adds synchro blocks to all Hashtable copies in PropertyHelper. :) -Matt Just as long as we don't get deadlocks. When I was updating the diagnostics for Ant1.7.1 when a task doesnt get found, the IDE (intellij) wa

Re: ConcurrentModificationException

2007-01-11 Thread Thomas Voigt
Original-Nachricht Datum: Thu, 11 Jan 2007 11:26:17 -0800 (PST) Von: Matt Benson <[EMAIL PROTECTED]> An: Ant Users List Betreff: Re: ConcurrentModificationException > Thomas, some synchronization checks have been added > which fix the problem in my test (I

Re: ConcurrentModificationException

2007-01-11 Thread Peter Reilly
> > On 1/11/07, Thomas Voigt <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Original-Nachricht > > Datum: Thu, 11 Jan 2007 11:23:50 -0600 > > Von: "Andrew Close" <[EMAIL PROTECTED]> > > An: "Ant Users List&

Re: ConcurrentModificationException

2007-01-11 Thread Matt Benson
--- Thomas Voigt <[EMAIL PROTECTED]> wrote: > Hi, > > Original-Nachricht > Datum: Thu, 11 Jan 2007 10:40:42 -0800 (PST) > Von: Matt Benson <[EMAIL PROTECTED]> > An: Ant Users List > Betreff: Re: ConcurrentModificationException &

Re: ConcurrentModificationException

2007-01-11 Thread Thomas Voigt
Hi, Original-Nachricht Datum: Thu, 11 Jan 2007 19:13:30 + Von: "Peter Reilly" <[EMAIL PROTECTED]> An: "Ant Users List" Betreff: Re: ConcurrentModificationException > Looking at the code and the stack error, the following patch may > fix th

Re: ConcurrentModificationException

2007-01-11 Thread Thomas Voigt
Hi, Original-Nachricht Datum: Thu, 11 Jan 2007 10:40:42 -0800 (PST) Von: Matt Benson <[EMAIL PROTECTED]> An: Ant Users List Betreff: Re: ConcurrentModificationException > Hi-- > there appear to be synchronization issues around Ant's > properties. Here, s

Re: ConcurrentModificationException

2007-01-11 Thread Matt Benson
Nachricht > > Datum: Thu, 11 Jan 2007 11:23:50 -0600 > > Von: "Andrew Close" <[EMAIL PROTECTED]> > > An: "Ant Users List" > > Betreff: Re: ConcurrentModificationException > > > > > On 1/11/07, Thomas Voigt <[EMAIL PROTEC

Re: ConcurrentModificationException

2007-01-11 Thread Peter Reilly
n: "Andrew Close" <[EMAIL PROTECTED]> An: "Ant Users List" Betreff: Re: ConcurrentModificationException > On 1/11/07, Thomas Voigt <[EMAIL PROTECTED]> wrote: > > Hi, > > > > we recently started to get ConcurrentModificationExceptions with

Re: ConcurrentModificationException

2007-01-11 Thread Thomas Voigt
Hi, Original-Nachricht Datum: Thu, 11 Jan 2007 11:23:50 -0600 Von: "Andrew Close" <[EMAIL PROTECTED]> An: "Ant Users List" Betreff: Re: ConcurrentModificationException > On 1/11/07, Thomas Voigt <[EMAIL PROTECTED]> wrote: > &g

Re: ConcurrentModificationException

2007-01-11 Thread Matt Benson
Hi-- there appear to be synchronization issues around Ant's properties. Here, setting a property (I imagine) and getting all properties () in can sometimes throw the comod exception. A possible workaround would be to use inheritAll="false" (true is default) and specify only the properties you ne

Re: ConcurrentModificationException

2007-01-11 Thread Andrew Close
On 1/11/07, Thomas Voigt <[EMAIL PROTECTED]> wrote: Hi, we recently started to get ConcurrentModificationExceptions with ant. We use ant 1.7 and ant-contrib 1.02b2 with jdk 1.5.0_07 (the same error occurs with jdk 1.5.0_10) on Windows Server 2003. are you testing this script out on your si

ConcurrentModificationException

2007-01-11 Thread Thomas Voigt
Hi, we recently started to get ConcurrentModificationExceptions with ant. We use ant 1.7 and ant-contrib 1.02b2 with jdk 1.5.0_07 (the same error occurs with jdk 1.5.0_10) on Windows Server 2003. The exception is not exactly reproducable, but seems to occur rather frequently. Top-level we use