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

NullPointerException in ImageAssetManager.hasSameContext #2503

Closed
DeweyReed opened this issue May 19, 2024 · 1 comment
Closed

NullPointerException in ImageAssetManager.hasSameContext #2503

DeweyReed opened this issue May 19, 2024 · 1 comment

Comments

@DeweyReed
Copy link

Caused by:
java.lang.NullPointerException:Attempt to invoke virtual method 'android.content.Context android.content.Context.getApplicationContext()' on a null object reference
com.airbnb.lottie.manager.ImageAssetManager.boolean hasSameContext(android.content.Context)(ImageAssetManager.java:0)
com.airbnb.lottie.LottieDrawable.com.airbnb.lottie.manager.ImageAssetManager getImageAssetManager()(LottieDrawable.java:0)
com.airbnb.lottie.LottieDrawable.x(LottieDrawable.java:1)

ImageAssetManager.hasSameContext stopped checking for nulls since the commit in 6.1.0.

coreywu pushed a commit to coreywu/lottie-android that referenced this issue Aug 6, 2024
gpeal pushed a commit that referenced this issue Aug 6, 2024
@DeweyReed
Copy link
Author

#2532

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

No branches or pull requests

1 participant