You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by "Bjoern Petri (JIRA)" <ji...@apache.org> on 2014/09/10 09:20:32 UTC

[jira] [Commented] (CELIX-151) Sync issue with Topology Manager during shutdown

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

Bjoern Petri commented on CELIX-151:
------------------------------------

I already committed some code which replaces the Iterator with a loop counter, but it still needs to be clarified whether the Iterator behaves as expected. Currently it is not possible to remove an element from a hashMap while iterating over it.

> Sync issue with Topology Manager during shutdown
> ------------------------------------------------
>
>                 Key: CELIX-151
>                 URL: https://issues.apache.org/jira/browse/CELIX-151
>             Project: Celix
>          Issue Type: Bug
>          Components: Framework
>            Reporter: Bjoern Petri
>            Assignee: Bjoern Petri
>
> During the shutdown, the topology manager can close rexport Registrations which leads to an uninstallation of the according endpoint/proxy bundle and therefore the removal from the bundle_pt structure in the installedBundleMap.
> This wil mess up the hashMapIterator in framework_shutdown and lead to an endless loop.



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