felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-2708) Webconsole causes NPE in Bundle.getResource(String)
Date Sun, 18 Dec 2011 14:08:31 GMT

    [ https://issues.apache.org/jira/browse/FELIX-2708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13171874#comment-13171874

Felix Meschberger commented on FELIX-2708:

The URL is not valid any longer (maybe some repo restructuring).

The point is a potential NPE in the LicenseServlet.sendResource method: if pathInfo.innerJar
is null but there is no pathInfo.licenseFile resource in the bundle, the method still tries
to get the bundle resource from pathInfo.innerJar, which is null and thus causes the NPE.
> Webconsole causes NPE in Bundle.getResource(String)
> ---------------------------------------------------
>                 Key: FELIX-2708
>                 URL: https://issues.apache.org/jira/browse/FELIX-2708
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-3.1.6
>            Reporter: Thomas Diesler
>            Assignee: Felix Meschberger
>             Fix For: webconsole-3.2.0

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


View raw message