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

Richard S. Hall edited comment on FELIX-3397 at 3/16/12 2:52 PM:
-----------------------------------------------------------------

Yeah, the BundleRevisionImpl.getTypes() implementation is probably too 
simplistic, since it only checks for the existence of the header, not whether 
the bundle is R4 or not. The bundle revision records the manifest version, so 
it should be an easy fix.
                
      was (Author: rickhall):
    Yeah, the BundleRevisionImpl.getTypes() implementation is probably too 
simplistic, since it only checks for the existence of the header, not whether 
the bundle is R4 or not.
                  
> NPE when trying to resolve invalid fragments
> --------------------------------------------
>
>                 Key: FELIX-3397
>                 URL: https://issues.apache.org/jira/browse/FELIX-3397
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-4.0.2
>            Reporter: Guillaume Nodet
>
> The main reason is that the manifest parser ignores the Fragment-Host header 
> if the Manifest-Version attribute is not set, while 
> BundleRevisionImpl#getTypes() returns that the bundle is a fragment, leading 
> a the host requirement not being found in Candidates#populateFragmentOndemand 
> method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to