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.
1 parent 5ec1081 commit 9e459dcCopy full SHA for 9e459dc
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