You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Harald Wellmann (JIRA)" <ji...@apache.org> on 2014/07/05 16:15:34 UTC
[jira] [Created] (FELIX-4551) NullPointerException when using
felix.jarurls
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)