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

Dominik Przybysz closed ARIES-108.
----------------------------------

Closing issues of released artifacts

> bundle.getBundleContext().getBundles() throws NPE on INSTALLED Bundles
> ----------------------------------------------------------------------
>
>                 Key: ARIES-108
>                 URL: https://issues.apache.org/jira/browse/ARIES-108
>             Project: Aries
>          Issue Type: Bug
>          Components: JMX
>            Reporter: Roland Huss
>            Assignee: Alan Keane
>            Priority: Critical
>             Fix For: 0.1
>
>         Attachments: patch.txt
>
>
> Within FrameworkUtils when extracting imported packages or dependencies
> this is done by looking up all bundles via the Bundle's BundleContext. 
> Unfortunately  bundle.getBundleContext() returns null for non-resolved 
> bundles.
> One can workaround this by checking for null, but this will nevertheless miss
> Bundles in certain states.
> BTW, I agree that the dependency resolution via iteration for each 
> JMX call is ugly (and expensive!). There must be a better way ....



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to