[
https://issues.apache.org/jira/browse/FELIX-5443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15728359#comment-15728359
]
ASF GitHub Bot commented on FELIX-5443:
---------------------------------------
GitHub user CodingFabian opened a pull request:
https://github.com/apache/felix/pull/78
[FELIX-5443] Synchronize access to factory when updating and storing
associated pids.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/CodingFabian/felix
config-concurrent-modification
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/felix/pull/78.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #78
----
commit 8fde2e86086c437dcf52f0e6a9f4ed340cc37b74
Author: Fabian Lange <[email protected]>
Date: 2016-12-07T08:02:59Z
[FELIX-5443] Synchronize access to factory when updating and storing
associated pids.
----
> Frequent Changes cause UpdateThread to ConcurrentModificationException
> ----------------------------------------------------------------------
>
> Key: FELIX-5443
> URL: https://issues.apache.org/jira/browse/FELIX-5443
> Project: Felix
> Issue Type: Bug
> Components: Configuration Admin
> Affects Versions: configadmin-1.8.8
> Reporter: Fabian Lange
>
> 2016-11-30T10:20:15.614+0000 | ERROR | 836-1bc8-4066-963b-9b9cbccbd9d0) |
> configadmin | org.apache.felix.configadmin - 1.8.8 | Unexpected problem
> executing task java.util.ConcurrentModificationException at
> java.util.HashMap$HashIterator.nextNode(HashMap.java:1437)[:1.8.0_101] at
> java.util.HashMap$KeyIterator.next(HashMap.java:1461)[:1.8.0_101] at
> java.util.AbstractCollection.toArray(AbstractCollection.java:196)[:1.8.0_101]
> at
> org.apache.felix.cm.impl.Factory.store(Factory.java:126)[4:org.apache.felix.configadmin:1.8.8]
> at
> org.apache.felix.cm.impl.ConfigurationManager$DeleteConfiguration.run(ConfigurationManager.java:1851)[4:org.apache.felix.configadmin:1.8.8]
> at
> org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:143)[4:org.apache.felix.configadmin:1.8.8]
> at
> org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:110)[4:org.apache.felix.configadmin:1.8.8]
> at java.lang.Thread.run(Thread.java:745)[:1.8.0_101]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)