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

Tom Watson commented on FELIX-6378:
-----------------------------------

Can you give details on the environment where this has been observed?  What is 
using the resolver when you see this happen?  Is it a framework implementation 
(Felix or Equinox)?  Or is it something else like BND?  Do you have a 
stacktrace?

> NPE in ResolverImpl.java
> ------------------------
>
>                 Key: FELIX-6378
>                 URL: https://issues.apache.org/jira/browse/FELIX-6378
>             Project: Felix
>          Issue Type: Bug
>          Components: Resolver
>    Affects Versions: resolver-2.0.0
>            Reporter: zeloran
>            Priority: Major
>
> There is a NPE in line 919, packages is null:
> if (candCap.getNamespace().equals(PackageNamespace.PACKAGE_NAMESPACE))
> { mergeCandidatePackage( packages.m_importedPkgs, currentReq, candCap); }
> see: 
> [https://github.com/apache/felix-dev/blob/master/resolver/src/main/java/org/apache/felix/resolver/ResolverImpl.java]
>  
> Occurs irregularly, maybe race condition releated to permutations and using 
> the OpenHashMap implementation.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to