[
https://issues.apache.org/jira/browse/LANG-1840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18147566#comment-18147566
]
Gary D. Gregory commented on LANG-1840:
---------------------------------------
Hello [~henschi]
Fixed in git master and snapshot builds in
[https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-lang3/3.22.1-SNAPSHOT/]
Please verify and close.
Thank you!
> 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 one 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)