[
https://issues.apache.org/jira/browse/JOHNZON-324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Markus Jung closed JOHNZON-324.
-------------------------------
Resolution: Invalid
> JsonObject.getString throws NPE
> -------------------------------
>
> Key: JOHNZON-324
> URL: https://issues.apache.org/jira/browse/JOHNZON-324
> Project: Johnzon
> Issue Type: Bug
> Components: JSON-B
> Affects Versions: 1.2.5
> Environment: The javadocs (see attached) say that getString (and
> possibly others) will return null when there is no attribute with that name.
> However it seems to throw a NullPointerException if the attribute is not
> present.
> Reporter: Matthew Broadhead
> Priority: Major
> Attachments: Screenshot from 2020-11-17 09-37-04.png
>
>
> !Screenshot from 2020-11-17 09-37-04.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)