Torsten Henschel created LANG-1840:
--------------------------------------
Summary: 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.22.0, 3.21.0
Environment: Apache Commons Lang 3.21.0/3.22.0, Adoptium 17/21/25,
Linux/Windows
Reporter: Torsten Henschel
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)