Skip to content

Commit

Permalink
fix undhandled nullpointerexception
Browse files Browse the repository at this point in the history
  • Loading branch information
szydlovsky committed Jan 15, 2025
1 parent b02cdb0 commit 5732a49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private void onFragmentUpdate(Fragment fragment, boolean isAttaching) {
nextTransition.add(firstScreen);
}
firstScreen = null;
} catch (IllegalAccessException | InvocationTargetException e) {
} catch (IllegalAccessException | NullPointerException | InvocationTargetException e) {
String message = e.getMessage() != null ? e.getMessage() : "Unable to get screen view";
Log.e("[Reanimated]", message);
}
Expand Down

0 comments on commit 5732a49

Please sign in to comment.