felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-4004) [DS] ConcurrentModificationException in DependencyManager.open()
Date Fri, 29 Mar 2013 23:39:17 GMT

    [ https://issues.apache.org/jira/browse/FELIX-4004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13617884#comment-13617884
] 

David Jencks commented on FELIX-4004:
-------------------------------------

Log analysis shows the MultipleStaticReluctantCustomizer is being opened on two threads.
                
> [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

Mime
View raw message