ConcurrentModificationException thrown when web.xml is parsed

Description

Hi,

I try to deploy my application in karaf. I use the feature to provision karaf with 2 bundles, my wab and my service bundle.

When i install my feature, i have an error :

2013-05-28 11:46:27,789 | ERROR | BundleWatcher: 1 | WebXmlObserver | 70 - org.ops4j.pax.web.pax-web-extender-war - 3.0.0.M3 | Could not parse web.xml
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:819)[:1.7.0_17]
at java.util.ArrayList$Itr.next(ArrayList.java:791)[:1.7.0_17]
at org.apache.felix.framework.StatefulResolver$ResolverStateImpl.getCandidates(StatefulResolver.java:1333)[org.apache.felix.framework-4.0.3.jar:]
at org.apache.felix.framework.StatefulResolver.getCandidates(StatefulResolver.java:93)[org.apache.felix.framework-4.0.3.jar:]
at org.apache.felix.framework.Felix.getExportedPackages(Felix.java:3567)[org.apache.felix.framework-4.0.3.jar:]
at org.apache.felix.framework.PackageAdminImpl.getExportedPackages(PackageAdminImpl.java:146)[org.apache.felix.framework-4.0.3.jar:]
at org.ops4j.pax.web.utils.ClassPathUtil.getBundlesInClassSpace(ClassPathUtil.java:174)[64:org.ops4j.pax.web.pax-web-api:3.0.0.M3]
at org.ops4j.pax.web.utils.ClassPathUtil.getBundlesInClassSpace(ClassPathUtil.java:135)[64:org.ops4j.pax.web.pax-web-api:3.0.0.M3]
at org.ops4j.pax.web.extender.war.internal.parser.dom.DOMWebXmlParser.tldScan(DOMWebXmlParser.java:218)[70:org.ops4j.pax.web.pax-web-extender-war:3.0.0.M3]
at org.ops4j.pax.web.extender.war.internal.parser.dom.DOMWebXmlParser.parse(DOMWebXmlParser.java:142)[70:org.ops4j.pax.web.pax-web-extender-war:3.0.0.M3]
at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.addingEntries(WebXmlObserver.java:150)[70:org.ops4j.pax.web.pax-web-extender-war:3.0.0.M3]
at org.ops4j.pax.swissbox.extender.BundleWatcher$3.run(BundleWatcher.java:226)[70:org.ops4j.pax.web.pax-web-extender-war:3.0.0.M3]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_17]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_17]
at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_17]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[:1.7.0_17]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[:1.7.0_17]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_17]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_17]
at java.lang.Thread.run(Thread.java:722)[:1.7.0_17]

If i restart my wab, it's ok.
If i install my service bundle and next my wab, it's ok
But if i use the feature to deploy my bundles, i have this error.

Thank you

Nicolas

Environment

Linux/Karaf 3.0.0-RC1

Status

Assignee

Unassigned

Reporter

Ottaviani Nicolas

Labels

Components

Affects versions

Priority

Major
Configure