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

Guillaume Nodet resolved FELIX-4325.
------------------------------------

    Resolution: Fixed

Committing to https://svn.apache.org/repos/asf/felix/trunk ...
        M       
scr/src/main/java/org/apache/felix/scr/impl/manager/AbstractComponentManager.java
Committed r1543743


> [DS] Synchronization issue when activating component
> ----------------------------------------------------
>
>                 Key: FELIX-4325
>                 URL: https://issues.apache.org/jira/browse/FELIX-4325
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.8.0
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: scr-1.8.2
>
>
>  When activating a component, the AbstractComponentManager#activateInternal 
> method checks some properties, then grab the lock and actually activate the 
> component, leaving a gap between the check and the lock being acquired, which 
> can result in the component being deactivated in the mean time, ultimately 
> leading to NPE because m_tracker has been nulled.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to