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 (Created) (JIRA)" <ji...@apache.org> on 2011/12/19 09:14:30 UTC
[jira] [Created] (FELIX-3284) NullPointerException may be thrown if
asynchronous bundle update fails
NullPointerException may be thrown if asynchronous bundle update fails
----------------------------------------------------------------------
Key: FELIX-3284
URL: https://issues.apache.org/jira/browse/FELIX-3284
Project: Felix
Issue Type: Bug
Components: Web Console
Affects Versions: webconsole-3.1.8
Reporter: Felix Meschberger
Assignee: Felix Meschberger
Fix For: webconsole-3.2.0
If the web console bundle gets restarted while a bundle is being updated in the BaseUpdateInstallerHelper thread and an exception happens during the update, the log message cannot be written causing a NullPointerException. This factually hides the actual problem.
The fix is to catch any exception when trying to log the message and just write the error to std err to at least get some indication of problems.
One such potential situation is failing to update the web console bundle itself (e.g. due to missing dependencies)
--
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] [Resolved] (FELIX-3284) NullPointerException may be thrown
if asynchronous bundle update fails
Posted by "Felix Meschberger (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-3284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger resolved FELIX-3284.
--------------------------------------
Resolution: Fixed
Fixed in Rev. 1220640
> NullPointerException may be thrown if asynchronous bundle update fails
> ----------------------------------------------------------------------
>
> Key: FELIX-3284
> URL: https://issues.apache.org/jira/browse/FELIX-3284
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Affects Versions: webconsole-3.1.8
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: webconsole-3.2.0
>
>
> If the web console bundle gets restarted while a bundle is being updated in the BaseUpdateInstallerHelper thread and an exception happens during the update, the log message cannot be written causing a NullPointerException. This factually hides the actual problem.
> The fix is to catch any exception when trying to log the message and just write the error to std err to at least get some indication of problems.
> One such potential situation is failing to update the web console bundle itself (e.g. due to missing dependencies)
--
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-3284) NullPointerException may be thrown if
asynchronous bundle update fails
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-3284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger closed FELIX-3284.
------------------------------------
Close after release
> NullPointerException may be thrown if asynchronous bundle update fails
> ----------------------------------------------------------------------
>
> Key: FELIX-3284
> URL: https://issues.apache.org/jira/browse/FELIX-3284
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Affects Versions: webconsole-3.1.8
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: webconsole-4.0.0
>
>
> If the web console bundle gets restarted while a bundle is being updated in the BaseUpdateInstallerHelper thread and an exception happens during the update, the log message cannot be written causing a NullPointerException. This factually hides the actual problem.
> The fix is to catch any exception when trying to log the message and just write the error to std err to at least get some indication of problems.
> One such potential situation is failing to update the web console bundle itself (e.g. due to missing dependencies)
--
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