Using ExceptionUtils.getRootCause(e).getMessage causes NPEs to be thrown

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • Component/s: None
    • None

      NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.

      ExceptionUtils.getRootCause(e) can return null, so it's not safe to tack on a getMessage() call. Instead, use ExceptionUtils.getRootCauseMessage(e).

            Assignee:
            JesperA
            Reporter:
            JesperA
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: