logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-1527) NPE thrown when log4j2 used within a webapp and RingBufferLogEvent's getFormattedMessage() is called.
Date Sat, 20 Aug 2016 00:45:20 GMT

    [ 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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message