A nullPointerException about "updateCurrentImagePoints".
Xiaotaner666 opened this issue · 0 comments
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)