brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Svetoslav Neykov (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (BROOKLYN-194) Syncrhonize access to entity.groups()
Date Mon, 21 Nov 2016 11:36:58 GMT

     [ https://issues.apache.org/jira/browse/BROOKLYN-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Svetoslav Neykov resolved BROOKLYN-194.
---------------------------------------
    Resolution: Fixed

Fixed in https://github.com/apache/incubator-brooklyn/pull/1110

> Syncrhonize access to entity.groups()
> -------------------------------------
>
>                 Key: BROOKLYN-194
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-194
>             Project: Brooklyn
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Svetoslav Neykov
>
> {code}
> Time elapsed: 30.779 sec <<< FAILURE! - in TestSuite
> testStopOnChildUnmanaged(org.apache.brooklyn.entity.webapp.ControlledDynamicWebAppClusterTest)
 Time elapsed: 0.226 sec  <<< FAILURE!
> java.util.ConcurrentModificationException: null
> 	at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:394)
> 	at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:405)
> 	at java.util.AbstractCollection.toArray(AbstractCollection.java:141)
> 	at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:258)
> 	at org.apache.brooklyn.core.entity.AbstractEntity$BasicGroupSupport.asList(AbstractEntity.java:747)
> 	at org.apache.brooklyn.core.entity.AbstractEntity$BasicGroupSupport.iterator(AbstractEntity.java:735)
> 	at org.apache.brooklyn.core.mgmt.internal.LocalEntityManager.unmanageNonRecursive(LocalEntityManager.java:707)
> 	at org.apache.brooklyn.core.mgmt.internal.LocalEntityManager.unmanage(LocalEntityManager.java:458)
> 	at org.apache.brooklyn.core.mgmt.internal.LocalEntityManager.unmanage(LocalEntityManager.java:402)
> 	at org.apache.brooklyn.core.mgmt.internal.LocalEntityManager.unmanage(LocalEntityManager.java:398)
> 	at org.apache.brooklyn.core.entity.Entities.unmanage(Entities.java:1011)
> 	at org.apache.brooklyn.entity.webapp.ControlledDynamicWebAppClusterTest.testStopOnChildUnmanaged(ControlledDynamicWebAppClusterTest.java:204)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message