logging-log4j-dev mailing list archives

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

     [ https://issues.apache.org/jira/browse/LOG4J2-1527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Remko Popma resolved LOG4J2-1527.
---------------------------------
    Resolution: Fixed

Fixed in master in commit 147f78c.

Please verify and close.

> 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