You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Thomas Diesler (JIRA)" <ji...@apache.org> on 2010/11/23 22:00:13 UTC
[jira] Created: (FELIX-2708) Webconsole causes NPE in
Bundle.getResource(String)
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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (FELIX-2708) Webconsole causes NPE in
Bundle.getResource(String)
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger reassigned FELIX-2708:
----------------------------------------
Assignee: Felix Meschberger
> 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
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] [Commented] (FELIX-2708) Webconsole causes NPE in
Bundle.getResource(String)
Posted by "Valentin Valchev (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095400#comment-13095400 ]
Valentin Valchev commented on FELIX-2708:
-----------------------------------------
Patch?
> 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
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (FELIX-2708) Webconsole causes NPE in
Bundle.getResource(String)
Posted by "Thomas Diesler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935041#action_12935041 ]
Thomas Diesler commented on FELIX-2708:
---------------------------------------
Here is the fix
https://github.com/jbosgi/org.apache.felix.webconsole/commit/4bb9a1f0b3b8876689075541a8e6e7b8dfcf7697
> 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
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] [Commented] (FELIX-2708) Webconsole causes NPE in
Bundle.getResource(String)
Posted by "Felix Meschberger (Commented) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Closed] (FELIX-2708) Webconsole causes NPE in
Bundle.getResource(String)
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger closed FELIX-2708.
------------------------------------
Close after release
> 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-4.0.0
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (FELIX-2708) Webconsole causes NPE in
Bundle.getResource(String)
Posted by "Felix Meschberger (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger resolved FELIX-2708.
--------------------------------------
Resolution: Fixed
Fix Version/s: webconsole-3.2.0
Fixed the potential NPE in Rev. 1220409
> 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
[jira] Commented: (FELIX-2708) Webconsole causes NPE in
Bundle.getResource(String)
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935394#action_12935394 ]
Felix Meschberger commented on FELIX-2708:
------------------------------------------
Thanks for the patch. It looks good so far.
May I ask you to attach it as a file to this issue for proper IP transfer ? Thanks.
> 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
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.