[
https://issues.apache.org/jira/browse/FELIX-3013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055744#comment-13055744
]
Richard S. Hall edited comment on FELIX-3013 at 6/27/11 8:47 PM:
-----------------------------------------------------------------
This was a simple bug introduced in the trunk refactoring for OSGi R4.3...there
is a new way to check if a bundle revision is resolved and we weren't checking
for null. Please close this bug if satisfied. Thanks for reporting the issue.
was (Author: rickhall):
This was a simple bug introduced in the trunk refactoring for OSGi
R4.3...there is a new way to check if a bundle revision is resolved and we
weren't checking for null.
> NPE on startup
> ---------------
>
> Key: FELIX-3013
> URL: https://issues.apache.org/jira/browse/FELIX-3013
> Project: Felix
> Issue Type: Bug
> Components: Framework
> Reporter: Pascal Rapicault
> Assignee: Richard S. Hall
> Priority: Minor
> Attachments: org.eclipse.core.jobs_3.5.100.v20110404.jar
>
>
> Build 3.3.0 - build from June 15.
> When I add a bundle to the bundle folder I get the NPE shown below.
> Steps to reproduce:
> - Download the felix distribution
> - Add the attached bundle to the bundle folder
> - Start felix java -jar bin/felix.jar
> Auto-deploy install: org.osgi.framework.BundleException: Bundle symbolic name
> and version are not unique: org.apache.felix.framework:3.3.0.SNAPSHOT
> Could not create framework: java.lang.NullPointerException
> java.lang.NullPointerException
> at
> org.apache.felix.framework.BundleImpl.createLocalizationRevisionList(BundleImpl.java:509)
> at
> org.apache.felix.framework.BundleImpl.getCurrentLocalizedHeader(BundleImpl.java:402)
> at org.apache.felix.framework.Felix.getBundleHeaders(Felix.java:1518)
> at org.apache.felix.framework.BundleImpl.getHeaders(BundleImpl.java:323)
> at org.apache.felix.framework.BundleImpl.getHeaders(BundleImpl.java:305)
> at
> org.apache.felix.main.AutoProcessor.isFragment(AutoProcessor.java:395)
> at
> org.apache.felix.main.AutoProcessor.processAutoDeploy(AutoProcessor.java:186)
> at org.apache.felix.main.AutoProcessor.process(AutoProcessor.java:78)
> at org.apache.felix.main.Main.main(Main.java:291)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira