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

NullPointerException may be thrown if asynchronous bundle update fails

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • webconsole-3.1.8
    • webconsole-4.0.0
    • Web Console
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment