You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2010/07/12 16:36:50 UTC
[jira] Created: (FELIX-2472) [iPOJO] Proxies should throw the OSGi
service exception
[iPOJO] Proxies should throw the OSGi service exception
-------------------------------------------------------
Key: FELIX-2472
URL: https://issues.apache.org/jira/browse/FELIX-2472
Project: Felix
Issue Type: Improvement
Components: iPOJO
Affects Versions: iPOJO-1.6.0
Reporter: Richard S. Hall
In iPOJO proxies, if you disable null objects and then access a proxy with a missing service, you will receive an NPE. It would probably make more sense to throw the OSGi ServiceException perhaps with the type UNREGISTERED. Likely this also applies to temporal dependencies as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (FELIX-2472) [iPOJO] Proxies should throw the OSGi
service exception
Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard S. Hall closed FELIX-2472.
----------------------------------
Thanks!
> [iPOJO] Proxies should throw the OSGi service exception
> -------------------------------------------------------
>
> Key: FELIX-2472
> URL: https://issues.apache.org/jira/browse/FELIX-2472
> Project: Felix
> Issue Type: Improvement
> Components: iPOJO
> Affects Versions: iPOJO-1.6.0
> Reporter: Richard S. Hall
> Assignee: Clement Escoffier
> Fix For: iPOJO-1.8.0
>
>
> In iPOJO proxies, if you disable null objects and then access a proxy with a missing service, you will receive an NPE. It would probably make more sense to throw the OSGi ServiceException perhaps with the type UNREGISTERED. Likely this also applies to temporal dependencies as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (FELIX-2472) [iPOJO] Proxies should throw the OSGi
service exception
Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Clement Escoffier resolved FELIX-2472.
--------------------------------------
Resolution: Fixed
> [iPOJO] Proxies should throw the OSGi service exception
> -------------------------------------------------------
>
> Key: FELIX-2472
> URL: https://issues.apache.org/jira/browse/FELIX-2472
> Project: Felix
> Issue Type: Improvement
> Components: iPOJO
> Affects Versions: iPOJO-1.6.0
> Reporter: Richard S. Hall
> Assignee: Clement Escoffier
>
> In iPOJO proxies, if you disable null objects and then access a proxy with a missing service, you will receive an NPE. It would probably make more sense to throw the OSGi ServiceException perhaps with the type UNREGISTERED. Likely this also applies to temporal dependencies as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-2472) [iPOJO] Proxies should throw the OSGi
service exception
Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Clement Escoffier updated FELIX-2472:
-------------------------------------
Assignee: Clement Escoffier
> [iPOJO] Proxies should throw the OSGi service exception
> -------------------------------------------------------
>
> Key: FELIX-2472
> URL: https://issues.apache.org/jira/browse/FELIX-2472
> Project: Felix
> Issue Type: Improvement
> Components: iPOJO
> Affects Versions: iPOJO-1.6.0
> Reporter: Richard S. Hall
> Assignee: Clement Escoffier
>
> In iPOJO proxies, if you disable null objects and then access a proxy with a missing service, you will receive an NPE. It would probably make more sense to throw the OSGi ServiceException perhaps with the type UNREGISTERED. Likely this also applies to temporal dependencies as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-2472) [iPOJO] Proxies should throw the
OSGi service exception
Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887408#action_12887408 ]
Clement Escoffier commented on FELIX-2472:
------------------------------------------
To avoid to be tied to osgi 4.2 (and so breaking the osgi 4.0 compatibility), I will use a 'plain' runtime exception instead of a service exception.
> [iPOJO] Proxies should throw the OSGi service exception
> -------------------------------------------------------
>
> Key: FELIX-2472
> URL: https://issues.apache.org/jira/browse/FELIX-2472
> Project: Felix
> Issue Type: Improvement
> Components: iPOJO
> Affects Versions: iPOJO-1.6.0
> Reporter: Richard S. Hall
> Assignee: Clement Escoffier
>
> In iPOJO proxies, if you disable null objects and then access a proxy with a missing service, you will receive an NPE. It would probably make more sense to throw the OSGi ServiceException perhaps with the type UNREGISTERED. Likely this also applies to temporal dependencies as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-2472) [iPOJO] Proxies should throw the
OSGi service exception
Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887445#action_12887445 ]
Clement Escoffier commented on FELIX-2472:
------------------------------------------
Fixed in trunk
> [iPOJO] Proxies should throw the OSGi service exception
> -------------------------------------------------------
>
> Key: FELIX-2472
> URL: https://issues.apache.org/jira/browse/FELIX-2472
> Project: Felix
> Issue Type: Improvement
> Components: iPOJO
> Affects Versions: iPOJO-1.6.0
> Reporter: Richard S. Hall
> Assignee: Clement Escoffier
>
> In iPOJO proxies, if you disable null objects and then access a proxy with a missing service, you will receive an NPE. It would probably make more sense to throw the OSGi ServiceException perhaps with the type UNREGISTERED. Likely this also applies to temporal dependencies as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-2472) [iPOJO] Proxies should throw the OSGi
service exception
Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Clement Escoffier updated FELIX-2472:
-------------------------------------
Fix Version/s: iPOJO-1.8.0
> [iPOJO] Proxies should throw the OSGi service exception
> -------------------------------------------------------
>
> Key: FELIX-2472
> URL: https://issues.apache.org/jira/browse/FELIX-2472
> Project: Felix
> Issue Type: Improvement
> Components: iPOJO
> Affects Versions: iPOJO-1.6.0
> Reporter: Richard S. Hall
> Assignee: Clement Escoffier
> Fix For: iPOJO-1.8.0
>
>
> In iPOJO proxies, if you disable null objects and then access a proxy with a missing service, you will receive an NPE. It would probably make more sense to throw the OSGi ServiceException perhaps with the type UNREGISTERED. Likely this also applies to temporal dependencies as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.