[
https://issues.apache.org/jira/browse/FELIX-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard S. Hall closed FELIX-107.
---------------------------------
> Felix can deploy bundles without Bundle-SymbolicName header
> -----------------------------------------------------------
>
> Key: FELIX-107
> URL: https://issues.apache.org/jira/browse/FELIX-107
> Project: Felix
> Issue Type: Bug
> Components: Framework
> Environment: Latest Felix from SVN
> Reporter: Guillaume Sauthier
> Assigned To: Richard S. Hall
>
> In OSGi R4 ยง3.2.1.13, the Bundle-SymbolicName Manifest Header is defined as
> mandatory :
> "3.2.1.13 Bundle-SymbolicName: com.acme.daffy
> The Bundle-SymbolicName header specifies a unique, non-localizable name
> for this bundle. This name should be based on the reverse domain name
> convention, see Bundle-SymbolicName on page 37. This header must be set."
> Allowing that header to be null, affect the bundlerepository bundle :
> obr deploy "My Bundle"
> java.lang.NullPointerException
> at
> org.apache.felix.bundlerepository.ResourceImpl.equals(ResourceImpl.java:69)
> at java.util.Arrays$ArrayList.indexOf(Arrays.java:2384)
> at java.util.Arrays$ArrayList.contains(Arrays.java:2391)
> at java.util.AbstractSet.removeAll(AbstractSet.java:146)
> at
> org.apache.felix.bundlerepository.ResolverImpl.resolve(ResolverImpl.java:143)
> at
> org.apache.felix.bundlerepository.ObrCommandImpl._deploy(ObrCommandImpl.java:320)
> at
> org.apache.felix.bundlerepository.ObrCommandImpl.deploy(ObrCommandImpl.java:294)
> at
> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:108)
> at
> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:263)
> at
> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:165)
> at java.lang.Thread.run(Thread.java:595)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.