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

A nullPointerException about "updateCurrentImagePoints". #930

Open
Xiaotaner666 opened this issue Sep 12, 2024 · 0 comments
Open

A nullPointerException about "updateCurrentImagePoints". #930

Xiaotaner666 opened this issue Sep 12, 2024 · 0 comments

Comments

@Xiaotaner666
Copy link

hi, i found a crush in TransformImageView, it's a nullPointerException reported by "updateCurrentImagePoints".
here are the details.
hope you can fix it.

#main(1)
TransformImageView.java:400
Caused by:com.yalantis.ucrop.view.TransformImageView.updateCurrentImagePoints
Attempt to get length of null array
Fatal Exception:java.lang.NullPointerException
android.graphics.Matrix.mapPoints(Matrix.java:668)
com.yalantis.ucrop.view.TransformImageView.updateCurrentImagePoints(TransformImageView.java:400)
com.yalantis.ucrop.view.TransformImageView.setImageMatrix(TransformImageView.java:264)
com.yalantis.ucrop.view.TransformImageView.postTranslate(TransformImageView.java:285)
com.yalantis.ucrop.view.GestureCropImageView$GestureListener.onScroll(GestureCropImageView.java:146)
android.view.GestureDetector.onTouchEvent(GestureDetector.java:734)
com.yalantis.ucrop.view.GestureCropImageView.onTouchEvent(GestureCropImageView.java:89)

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

No branches or pull requests

1 participant