[
https://issues.apache.org/jira/browse/FELIX-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger resolved FELIX-1173.
--------------------------------------
Resolution: Fixed
Extended ComponentActivatorTask class to check whether the defining bundle is
still active before actually running the task.
In addition defined special sentinel object to terminate the
ComponentActorThread instead of using the thread instance itself.
Both has been applied in Rev. 778518
Deployed SNAPSHOT version 1.0.9-20090525.214658-2 containing this fix.
> Concurrency Issues while containing bundle is stopping
> ------------------------------------------------------
>
> Key: FELIX-1173
> URL: https://issues.apache.org/jira/browse/FELIX-1173
> Project: Felix
> Issue Type: Bug
> Components: Declarative Services (SCR)
> Affects Versions: scr-1.0.8
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: scr-1.2.0, scr-1.0.10
>
>
> While a bundle is stopping, there may still be ComponentActivatorTask on the
> activator queue and be executed. The activator queue/ComponentActivatorTask
> combo should be enhance to prevent running asynchrounous tasks for components
> whose owning bundle is in the process of stopping, i.e. is not active.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.