Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: layout animation NPE crash #6897

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Nodonisko
Copy link
Contributor

@Nodonisko Nodonisko commented Jan 14, 2025

Summary

After update to Reanimated 3.16.x we started to have hundreds of crashes due to this error:

Exception java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.ref.WeakReference.get()' on a null object reference.

More info could be found in this issue #4472

Test plan

I am not able to reproduce issue locally since it's happening for some small percentage of users. According to stack trace I am pretty sure it will help but I am not sure if it's proper fix because I don't have deeper understanding of surrounding code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant