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 2011/02/03 23:16:28 UTC

[jira] Created: (FELIX-2823) Uncaught exception in case of circular service reference

Uncaught exception in case of circular service reference
--------------------------------------------------------

                 Key: FELIX-2823
                 URL: https://issues.apache.org/jira/browse/FELIX-2823
             Project: Felix
          Issue Type: Bug
          Components: Declarative Services (SCR)
    Affects Versions:  scr-1.6.0
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: scr-1.6.2


The DependencyManager.getService(ServiceReference) method catches IllegalStateException possibly thrown from the BundleContext.getService method. Unfortunately this is not the only possible exception thrown from this method. So we have to catch Exception in general and log that situation properly to cope with the situation and help developers/deployers.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (FELIX-2823) Uncaught exception in case of circular service reference

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

Felix Meschberger resolved FELIX-2823.
--------------------------------------

    Resolution: Fixed

Fixed in Rev. 1067009 catching and logging Exception instead of just IllegalStateException

> Uncaught exception in case of circular service reference
> --------------------------------------------------------
>
>                 Key: FELIX-2823
>                 URL: https://issues.apache.org/jira/browse/FELIX-2823
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions:  scr-1.6.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: scr-1.6.2
>
>
> The DependencyManager.getService(ServiceReference) method catches IllegalStateException possibly thrown from the BundleContext.getService method. Unfortunately this is not the only possible exception thrown from this method. So we have to catch Exception in general and log that situation properly to cope with the situation and help developers/deployers.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (FELIX-2823) Uncaught exception in case of circular service reference

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

Felix Meschberger closed FELIX-2823.
------------------------------------


Close after release
                
> Uncaught exception in case of circular service reference
> --------------------------------------------------------
>
>                 Key: FELIX-2823
>                 URL: https://issues.apache.org/jira/browse/FELIX-2823
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions:  scr-1.6.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: scr-1.6.2
>
>
> The DependencyManager.getService(ServiceReference) method catches IllegalStateException possibly thrown from the BundleContext.getService method. Unfortunately this is not the only possible exception thrown from this method. So we have to catch Exception in general and log that situation properly to cope with the situation and help developers/deployers.

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