You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@johnzon.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2017/08/29 11:13:00 UTC
[jira] [Resolved] (JOHNZON-101) JsonObject#getJson* must not throw
NullPointerException
[ https://issues.apache.org/jira/browse/JOHNZON-101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg resolved JOHNZON-101.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.1.3
> JsonObject#getJson* must not throw NullPointerException
> -------------------------------------------------------
>
> Key: JOHNZON-101
> URL: https://issues.apache.org/jira/browse/JOHNZON-101
> Project: Johnzon
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.9.5, 1.0.0
> Reporter: Reinhard Sandtner
> Assignee: Reinhard Sandtner
> Priority: Critical
> Fix For: 1.0.1, 1.1.3, 1.1.0
>
>
> currently we throw a NPE in every case we do not find an entry for given name.
> [Javadoc|http://docs.oracle.com/javaee/7/api/javax/json/JsonObject.html#getJsonArray-java.lang.String-] says we must return {{null}} if the object contains no value for the name
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)