Open cwl-git opened 3 years ago
Please provide steps to reproduce the issue and the following details:
Do you want to request a feature or report a bug?
What is the current behavior?
What is the expected behavior?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Please attach any image files, URL and stack trace that can be used to reproduce the bug.
Which versions of uCrop, and which Android API versions are affected by this issue? Did this work in previous versions of uCrop?
https://github.com/Yalantis/uCrop/issues/255
One Solution we did was: 1.add an empty/transparent clickable view over the Ucrop View 2.Make it invisible (ie allow clicks) only on onLoadComplete using setTransformImageListener
io.reactivex.exceptions.OnErrorNotImplementedException:The exception was not handled due to missing onError handler in the subscribe() method call. Further reading: https://github.com/ReactiveX/RxJava/wiki/Error-Handling | java.lang.NullPointerException: Attempt to get length of null array
io.reactivex.internal.functions.Functions$OnErrorMissingConsumer.accept(Functions.java:704)
Caused by: java.lang.NullPointerException:Attempt to get length of null array android.graphics.Matrix.mapPoints(Matrix.java:666) com.yalantis.ucrop.view.TransformImageView.updateCurrentImagePoints(TransformImageView.java:336) com.yalantis.ucrop.view.TransformImageView.setImageMatrix(TransformImageView.java:200) com.yalantis.ucrop.view.TransformImageView.postRotate(TransformImageView.java:252) com.yalantis.ucrop.view.CropImageView.postRotate(CropImageView.java:264)