Skip to content

Conversation

@ppkarwasz
Copy link
Contributor

@ppkarwasz ppkarwasz commented Dec 20, 2023

Fixes an NPE caused by MDCContextMap: the MDC#getCopyOfContextMap method can return null, but ThreadContextMap#getCopy can not return null.

Closes #1426

This PR fixes a `NullPointerException` in
`RollingFileManager#createParentDir`.

Closes apache#1645
@ppkarwasz ppkarwasz force-pushed the 1426-npe-in-closeablethreadcontext branch from 611f417 to 4e107c0 Compare December 21, 2023 13:05
@ppkarwasz ppkarwasz merged commit 4e107c0 into apache:2.x Dec 21, 2023
@ppkarwasz ppkarwasz deleted the 1426-npe-in-closeablethreadcontext branch December 21, 2023 13:50
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.

MDCContextMap::getCopy can return null causing an NPE in CloseableThreadContext

1 participant