You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2012/11/20 11:59:17 UTC

[jira] [Closed] (FELIX-3658) [DS] disableing a component that is a dependency of another results in an IllegalStateException

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

Felix Meschberger closed FELIX-3658.
------------------------------------


Close after release
                
> [DS] disableing a component that is a dependency of another results in an IllegalStateException
> -----------------------------------------------------------------------------------------------
>
>                 Key: FELIX-3658
>                 URL: https://issues.apache.org/jira/browse/FELIX-3658
>             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.6.2
>
>
> If A refers to B and you disable B, then A gets notified and releases its dependency so B ungetService gets called.  However the B state has already changed to Disabled so the ungetService falls through to State which throws an IllegalStateException.

--
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