google/gson

Documented errors, page 2 of 2. Back to google/gson

Code / MessageTypeSeverityTags
Abstract classes can't be instantiated! Adjust the R8…
exception error abstract-class, r8, proguard, instantiation, android
Failed parsing ' ' as Date; at path
exception error date, parsing, deserialization, date-format, locale
@SerializedName on is not supported
exception error record, annotation, serializedname, configuration
String value is empty
exception warning gson, json, deprecated, unsupported-operation
Invalid version
exception error gson-builder, versioning, configuration, validation
Invalid EnumMap type
exception error enummap, generics, deserialization, constructor
Attempted to deserialize a java.lang.Class. Forgot to…
exception error deserialization, class, type-adapter, security
Custom JsonElement subclass
exception error json-tree-reader, custom-subclass, json-element, malformed
Invalid EnumSet type
exception error enumset, generics, deserialization, constructor
null is not allowed as value for record component
exception error deserialization, record, primitive, null
Exactly one upper bound must be specified
exception error gson, reflection, generics, wildcard
Invalid time zone indicator
exception error gson, date-parsing, iso8601, timezone, index-out-of-bounds
Number string too large
exception error gson, parsing, dos, number, security
Numeric values must be finite, but was
exception error java, gson, jsonwriter, numeric, validation
value == null
exception error gson, collections, null, linkedtreemap
Lossy conversion from
exception error deserialization, byte, numeric, range-check
Unable to invoke no-args constructor of
exception error reflection-filter, accessibility, constructor, jpms, security
is not Comparable
exception error gson, collections, comparable, linkedtreemap
Only combinations of spaces and tabs are allowed in indent.
exception error formatting-style, pretty-printing, configuration, validation
Invalid nesting limit
exception error java, gson, jsonreader, config, validation
ReflectionAccessFilter does not permit using reflection for
exception error reflection, access-filter, security, inheritance
Attempted to serialize java.lang.Class
exception error serialization, class, type-adapter
Not a JSON Array
exception error gson, json, type-cast, illegal-state
Not a JSON Null
exception warning gson, json, type-cast, illegal-state
Invalid bitset value type
exception error deserialization, bitset, validation, json-syntax
key == null
exception error gson, collections, null, linkedtreemap
Not a JSON Primitive
exception error gson, json, type-cast, illegal-state
Lossy conversion from
exception error deserialization, short, numeric, range-check
Invalid bitset value
exception error deserialization, bitset, validation, numeric
null is not a valid AtomicLongArray element
exception error deserialization, atomiclongarray, null, numeric
Number has unsupported scale
exception error gson, parsing, dos, number, security
Expecting character, got
exception error deserialization, character, validation, json-syntax
Expected STRING but was
exception error json-tree-reader, token, type-mismatch, string
Expected NUMBER but was
exception error json-tree-reader, token, number, type-mismatch