Skip to content

Commit

Permalink
Null Handling
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham1g5 committed Dec 5, 2024
1 parent 36bbe67 commit 7ce7000
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/org/commcare/tasks/EntityLoaderTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ protected void onPostExecute(Pair<List<Entity<TreeReference>>, List<TreeReferenc
return;
}

if (result == null) {
return;
}

listener.deliverLoadResult(result.first, result.second, entityLoaderHelper.getFactory(),
entityLoaderHelper.getFocusTargetIndex());
return;
Expand Down

0 comments on commit 7ce7000

Please sign in to comment.