Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-2903

ErrorPageWriter may try to write a null to the partialWriter if the exception message is null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.2-SNAPSHOT
    • 2.0.2
    • JSR-314
    • None

    Description

      When trying to handle an exception and write the output to the writer, if the cause and the message of an exception are null a NullPointerException is thrown (ErrorPageWriter,379).

      Checking if the ex.getMessage() is not null will fix this problem.

      Attachments

        Activity

          People

            bruno_dev Bruno Aranda
            bruno_dev Bruno Aranda
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: