Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-3284

NullPointerException may be thrown if asynchronous bundle update fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: webconsole-3.1.8
    • Fix Version/s: webconsole-4.0.0
    • Component/s: Web Console
    • Labels:
      None

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              fmeschbe Felix Meschberger
              Reporter:
              fmeschbe Felix Meschberger
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: