[ 
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

Reply via email to