logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Leon (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LOG4J2-1527) NPE thrown when log4j2 used within a webapp and RingBufferLogEvent's getFormattedMessage() is called.
Date Wed, 17 Aug 2016 18:52:20 GMT
Jose Leon created LOG4J2-1527:
---------------------------------

             Summary: NPE thrown when log4j2 used within a webapp and RingBufferLogEvent's
getFormattedMessage() is called.
                 Key: LOG4J2-1527
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1527
             Project: Log4j 2
          Issue Type: Bug
    Affects Versions: 2.6.2
            Reporter: Jose Leon


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message