felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Kelleher <mj.kelle...@gmail.com>
Subject Re: Has anyone come across this ConcurrentModificationException?
Date Fri, 04 Feb 2011 17:21:41 GMT
You cannot modify a collection while you are iterating through it
using either the collections iterator or using the jvm 1.5 or 1.6 for
construct for arrays and collections.



Sent from my iPhone

On Feb 4, 2011, at 12:11 PM, peter lawrey <peter.lawrey@edgeci.com>
wrote:

> java.util.ConcurrentModificationException
>
>        at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
>
>        at java.util.HashMap$EntryIterator.next(HashMap.java:834)
>
>        at java.util.HashMap$EntryIterator.next(HashMap.java:832)
>
>        at
> org.apache.felix.karaf.features.internal.FeaturesServiceImpl.saveMap
> (Fea
> turesServiceImpl.java:534)
>
>        at
> org.apache.felix.karaf.features.internal.FeaturesServiceImpl.saveState(
> F
> eaturesServiceImpl.java:485)
>
>        at
> org.apache.felix.karaf.features.internal.FeaturesServiceImpl.installFeat


> ure(FeaturesServiceImpl.java:234)
>
>        at
> org.apache.felix.karaf.features.internal.FeaturesServiceImpl.installFeat


> ure(FeaturesServiceImpl.java:205)
>
>        at
> org.apache.felix.karaf.features.internal.FeaturesServiceImpl.installFeat


> ure(FeaturesServiceImpl.java:205)
>
>        at
> org.apache.felix.karaf.features.internal.FeaturesServiceImpl.installFeat


> ure(FeaturesServiceImpl.java:205)
>
>        at
> org.apache.felix.karaf.features.internal.FeaturesServiceImpl.installFeat


> ure(FeaturesServiceImpl.java:205)
>
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.jav
> a:39)
>
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessor
> Impl.java:25)
>
>        at java.lang.reflect.Method.invoke(Method.java:597)
>
>        at
> org.apache.geronimo.blueprint.container.AbstractServiceReferenceRecipe$
> J
> dkProxyFactory$1.invoke(AbstractServiceReferenceRecipe.java:561)
>
>        at $Proxy7.installFeature(Unknown Source)
>
>        at
> org.apache.felix.karaf.deployer.features.FeatureDeploymentListener.bundl


> eChanged(FeatureDeploymentListener.java:173)
>
>        at
> org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCall


> back(EventDispatcher.java:800)
>
>        at
> org.apache.felix.framework.util.EventDispatcher.fireEventImmediately
> (Eve
> ntDispatcher.java:728)
>
>        at
> org.apache.felix.framework.util.EventDispatcher.fireBundleEvent
> (EventDis
> patcher.java:610)
>
>        at
> org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3592)
>
>        at
> org.apache.felix.framework.Felix.installBundle(Felix.java:2483)
>
>        at
> org.apache.felix.framework.Felix.installBundle(Felix.java:2282)
>
>        at
> org.apache.felix.framework.BundleContextImpl.installBundle
> (BundleContext
> Impl.java:130)
>
>        at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.installOrUpdateBu


> ndle(DirectoryWatcher.java:913)
>
>        at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.install
> (Directory
> Watcher.java:862)
>
>        at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.install
> (Directory
> Watcher.java:754)
>
>        at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.process
> (Directory
> Watcher.java:392)
>
>        at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.run
> (DirectoryWatc
> her.java:200)
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Mime
View raw message