You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2013/03/29 23:03:15 UTC

[jira] [Created] (FELIX-4004) [DS] ConcurrentModificationException in DependencyManager.open()

David Jencks created FELIX-4004:
-----------------------------------

             Summary: [DS] ConcurrentModificationException in DependencyManager.open()
                 Key: FELIX-4004
                 URL: https://issues.apache.org/jira/browse/FELIX-4004
             Project: Felix
          Issue Type: Bug
          Components: Declarative Services (SCR)
    Affects Versions: scr-1.8.0
            Reporter: David Jencks
            Assignee: David Jencks
             Fix For: scr-1.8.0


Caused by: java.util.ConcurrentModificationException
	at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
	at java.util.AbstractList$Itr.next(AbstractList.java:343)
	at java.util.AbstractCollection.toString(AbstractCollection.java:421)
	at java.text.MessageFormat.subformat(MessageFormat.java:1246)
	at java.text.MessageFormat.format(MessageFormat.java:836)
	at java.text.Format.format(Format.java:140)
	at java.text.MessageFormat.format(MessageFormat.java:812)
	at org.apache.felix.scr.impl.BundleComponentActivator.log(BundleComponentActivator.java:571)
	at org.apache.felix.scr.impl.manager.AbstractComponentManager.log(AbstractComponentManager.java:922)
	at org.apache.felix.scr.impl.manager.DependencyManager.open(DependencyManager.java:1331)
	at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:274)
	at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:124)
	at org.apache.felix.scr.impl.manager.AbstractComponentManager$Registered.getService(AbstractComponentManager.java:1685)
	at org.apache.felix.scr.impl.manager.ImmediateComponentManager.getService(ImmediateComponentManager.java:752)


The list of RefPairs returned by customizer.getRefs() has changed during the log statement.

I think this means a MultipleStaticReluctantCustomizer is being closed concurrent with being opened, although it might be opened on two threads.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira