[
https://issues.apache.org/jira/browse/LANG-1840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18147642#comment-18147642
]
Torsten Henschel commented on LANG-1840:
----------------------------------------
[~ggregory] Looks good. Thanks.
> MultilineRecursiveToStringStyle.appendDetail throws a NullPointerException
> for map entries with null values
> -----------------------------------------------------------------------------------------------------------
>
> Key: LANG-1840
> URL: https://issues.apache.org/jira/browse/LANG-1840
> Project: Commons Lang
> Issue Type: Bug
> Components: lang.builder.*
> Affects Versions: 3.21.0, 3.22.0
> Environment: Apache Commons Lang 3.21.0/3.22.0, Adoptium 17/21/25,
> Linux/Windows
> Reporter: Torsten Henschel
> Priority: Major
> Fix For: 3.22.1
>
> Attachments: CommonsLang3Test-1.java
>
>
> Since version 3.21.0, a map containing entries with null values triggers a
> NullPointerException. Version 3.22.0 exhibits the same behavior.
> At least a null check is missing in the method
> MultilineRecursiveToStringStyle.appendDetail (line 154)
> A sample test class that reproduces the error is available on this bug report.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)