-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
NPE: Attempt to read from field 'float android.graphics.PointF.x' on a null object reference #2194
Comments
Is it only happening with a specific anything? Only on specific devices, Android versions, manufacturers, etc? |
Hello. Thanks for answer. This only happened once on this phone Galaxy A10 (Android 11). Here is layout:
build.gradle: This is lottie_rawRes: My app (use VPN from Russia or Great Britain to install it): |
In this video I show you Lottie animation, and it is working well on my Galaxy S22. Screen_Recording_20221202_204219_Fincircle.mp4 |
I just tested on Samsung Galaxy A10 in BrowserStack emulator. No errors. |
5.3.0-SNAPSHOT has it |
You have to add the maven snapshot repository |
Thank you very much! |
Good day, gpeal! I got new same error but from another place:
This user still uses library version 5.2.0 And here is the code from EllipseContent.java:86
It seems that we need to add a check for null here too. |
Got a message from Firebase Crashlytics - Galaxy A10. Using latest 5.2.0 version.
I see you have already fixed this in the same method
getMatrix()
for positionValue:positionValue != null && (positionValue.x != 0 || positionValue.y != 0)
Сould you please fix it for anchorPointValue that way? Now:
anchorPointValue.x != 0 || anchorPointValue.y != 0
TO
anchorPointValue != null && (anchorPointValue.x != 0 || anchorPointValue.y != 0)
The text was updated successfully, but these errors were encountered: