Bug 546734 - java.util.ConcurrentModificationException on parallel pde Build
Summary: java.util.ConcurrentModificationException on parallel pde Build
Status: NEW
Alias: None
Product: PDE
Classification: Eclipse Project
Component: Build (show other bugs)
Version: 4.10   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: pde-build-inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-25 07:18 EDT by Mike Ebi CLA
Modified: 2023-04-06 12:19 EDT (History)
0 users

See Also:


Attachments
zip with demo.log (stacktrace), compile.DE_demo_Feature.sdk.cml (generated buildskript), buildplugins(ant wrapper file) (2.19 KB, application/x-zip-compressed)
2019-04-25 07:18 EDT, Mike Ebi CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Ebi CLA 2019-04-25 07:18:43 EDT
Created attachment 278395 [details]
zip with demo.log (stacktrace), compile.DE_demo_Feature.sdk.cml (generated buildskript), buildplugins(ant wrapper file)

We use in batch the eclipse.buildScript ant task with flattenDependencies="true" parallelCompilation="true" properties to generate the compile script for parallel compilation. This works till eclipse 4.7.3 well.
When using eclipse 4.9 and later we get an error when  using the generated ant skript for compiling by calling the eclipsant runner
-application org.eclipse.ant.core.antRunner -buildfile /tmp/demo/Pluginbuild/buildplugins.xml docompile -logger org.apache.tools.ant.XmlLogger -logfile /tmp/demo/Pluginbuild/logs/docompile.xml

Error:
java.lang.reflect.InvocationTargetException caused by
java.util.ConcurrentModificationException
	at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:571)
caused by
java.util.ConcurrentModificationException
	at org.apache.tools.ant.taskdefs.Parallel.spinThreads(Parallel.java:395)
Attached find the complete log, the called ant wrapper file and the generated ant skript

The error can be reproduced on 4.9, 4.10,4.12 on linux and windows with our sourcecode which we can not publish here. when running the identical script with eclipse 4.7.3 all works fine.
Comment 1 Eclipse Genie CLA 2021-04-15 13:04:21 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 2 Eclipse Genie CLA 2023-04-06 12:19:55 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.