Harald Wellmann created FELIX-4551:
--------------------------------------
Summary: NullPointerException when using felix.jarurls
Key: FELIX-4551
URL: https://issues.apache.org/jira/browse/FELIX-4551
Project: Felix
Issue Type: Bug
Components: Framework
Affects Versions: framework-4.4.0
Reporter: Harald Wellmann
I've tried using the (undocumented) {{felix.jarurls}} framework property to
obtain standard local URLs for bundle resources (see FELIX-2645).
This causes a {{NullPointerException}} for non-existing resources when calling
{code}
bundle.adapt(BundleWiring.class).getClassLoader().getResource("does/not/exist")
{code}
since {{BundleWiringImpl.convertToLocalUrl(URL)}} does not contain a null check
for its argument.
--
This message was sent by Atlassian JIRA
(v6.2#6252)