Skip to content

LOG4J2-1527 - Ensure getFormattedMessage returns a message.#39

Closed
leonj1 wants to merge 1 commit intoapache:masterfrom
leonj1:bugfix_prevent_npe_on_getFormattedMessage
Closed

LOG4J2-1527 - Ensure getFormattedMessage returns a message.#39
leonj1 wants to merge 1 commit intoapache:masterfrom
leonj1:bugfix_prevent_npe_on_getFormattedMessage

Conversation

@leonj1
Copy link
Copy Markdown

@leonj1 leonj1 commented Aug 17, 2016

One way to see this problem is by changing "GcFreeLoggingTestUtil.executeLogging()"
from: System.setProperty("log4j2.is.webapp", "false");
to: System.setProperty("log4j2.is.webapp", "true");

@leonj1 leonj1 force-pushed the bugfix_prevent_npe_on_getFormattedMessage branch from 6372290 to b9d4465 Compare August 17, 2016 19:44
@leonj1 leonj1 changed the title LOG4J2-1527 - Add a null check in getFormattedMessage and initialize when needed LOG4J2-1527 - Ensure getFormattedMessage returns a message. Aug 17, 2016
@asfgit asfgit closed this in 147f78c Aug 20, 2016
ppkarwasz added a commit that referenced this pull request Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant