Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1527

NPE thrown when log4j2 used within a webapp and RingBufferLogEvent's getFormattedMessage() is called.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.2
    • 2.7
    • None
    • None

    Description

      This happens because 'messageText' is never initialized, therefore "return messageText.toString();" throws the NPE.

      Attachments

        Issue Links

          Activity

            People

              rpopma Remko Popma
              leonj1 Jose Leon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: