[ 
https://issues.apache.org/jira/browse/FELIX-5015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14954807#comment-14954807
 ] 

Alexandre Roman commented on FELIX-5015:
----------------------------------------

Any idea when the next version of Resolver will be out?
The new Karaf 4.0.2 is out with Felix 5.2.0, and this bug prevents me from 
using Subsystems in this release (it used to work in Karaf 4.0.1).

> NPE in ResolverImpl
> -------------------
>
>                 Key: FELIX-5015
>                 URL: https://issues.apache.org/jira/browse/FELIX-5015
>             Project: Felix
>          Issue Type: Bug
>          Components: Resolver
>    Affects Versions: resolver-1.6.0
>            Reporter: Alexandre Roman
>            Assignee: David Bosschaert
>             Fix For: resolver-1.8.0
>
>         Attachments: FELIX-5015.patch.gz
>
>
> The method getPackageSources in ResolverImpl.java returns a Set.
> This collection is used in mergeUses (line 1039) in a foreach loop.
> A null value may be returned by getPackageSources, as a result of querying a 
> Map. In this case, the foreach loop in mergeUses will trigger a NPE.
> The method getPackageSources should return an empty Set when there is no 
> result.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to