Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
In java 8 the user will simply get the message "null"
In recent java versions, the user will see the much nicer NullPointerException
Cannot invoke "java.lang.Boolean.booleanValue()" because the return value of "org.apache.johnzon.mapper.MappingParserImpl.toObject(Object, javax.json.JsonValue, java.lang.reflect.Type, org.apache.johnzon.mapper.Adapter, org.apache.johnzon.mapper.internal.JsonPointerTracker, java.lang.reflect.Type)" is null
Either way we should likely handle it and tell the user there is a null value in their json boolean array.