We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 48d9364 + 4f5c885 commit 038f66aCopy full SHA for 038f66a
auth0/src/main/java/com/auth0/android/request/internal/JsonRequiredTypeAdapterFactory.java
@@ -32,7 +32,7 @@ public T read(JsonReader in) throws IOException {
32
33
Field[] fields = pojo.getClass().getDeclaredFields();
34
for (Field f : fields) {
35
- if (f.getAnnotation(JsonRequired.class) != null) {
+ if (f != null && f.getAnnotation(JsonRequired.class) != null) {
36
try {
37
f.setAccessible(true);
38
if (f.get(pojo) == null) {
0 commit comments