You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2012/09/07 04:33:07 UTC

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

David Jencks created FELIX-3658:
-----------------------------------

             Summary: [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
             Fix For: scr-1.8.0


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

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

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ 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

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

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-3658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks reassigned FELIX-3658:
-----------------------------------

    Assignee: David Jencks
    
> [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.8.0
>
>
> 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

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

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-3658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger updated FELIX-3658:
-------------------------------------

    Fix Version/s:     (was: scr-1.8.0)
                   scr-1.6.2
    
> [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

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

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-3658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks resolved FELIX-3658.
---------------------------------

    Resolution: Fixed
    
> [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.8.0
>
>
> 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