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.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.2
    • Fix Version/s: 2.7
    • Component/s: None
    • Labels:
      None

      Description

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                remkop@yahoo.com Remko Popma
                Reporter:
                leonj1 Jose Leon
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: