You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (Commented) (JIRA)" <ji...@apache.org> on 2011/12/18 15:08:31 UTC

[jira] [Commented] (FELIX-2708) Webconsole causes NPE in Bundle.getResource(String)

    [ 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