[
https://issues.apache.org/jira/browse/LOG4J2-1527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15429117#comment-15429117
]
ASF GitHub Bot commented on LOG4J2-1527:
----------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/logging-log4j2/pull/39
> 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
> Assignee: Remko Popma
> Fix For: 2.7
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]