[
https://issues.apache.org/jira/browse/FELIX-3397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231251#comment-13231251
]
Guillaume Nodet commented on FELIX-3397:
----------------------------------------
ERROR: Bundle org.apache.karaf.management.mbeans.dev [50] Error
starting/stopping bundle. (java.lang.NullPointerException)
java.lang.NullPointerException
at
org.apache.felix.framework.StatefulResolver.findProviders(StatefulResolver.java:175)
at
org.apache.felix.framework.ResolveContextImpl.findProviders(ResolveContextImpl.java:78)
at
org.apache.felix.framework.resolver.Candidates.populateFragmentOndemand(Candidates.java:342)
at
org.apache.felix.framework.resolver.Candidates.populate(Candidates.java:144)
at
org.apache.felix.framework.resolver.ResolverImpl.resolve(ResolverImpl.java:117)
at
org.apache.felix.framework.StatefulResolver.resolve(StatefulResolver.java:398)
at
org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3819)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
at org.apache.felix.framework.Felix.setBundleStartLevel(Felix.java:1388)
at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:328)
at java.lang.Thread.run(Thread.java:680)
> 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