Open tastafur opened 2 years ago
I am facing same problem on android 10 and 11
same ..
FATAL EXCEPTION: mqt_native_modules
Process: , PID: 8910
java.lang.NullPointerException: uriString
at android.net.Uri$StringUri.
I found out that problem is in my code when calling open cropper, it was getting called with empty path
On Mon, Mar 14, 2022, 10:51 PM sspeng123 @.***> wrote:
same .. FATAL EXCEPTION: mqt_native_modules Process: , PID: 8910 java.lang.NullPointerException: uriString at android.net.Uri$StringUri.(Uri.java:496) at android.net.Uri$StringUri.(Uri.java:486) at android.net.Uri.parse(Uri.java:458) at com.reactnative.ivpusic.imagepicker.PickerModule.openCropper
— Reply to this email directly, view it on GitHub https://github.com/ivpusic/react-native-image-crop-picker/issues/1728#issuecomment-1067198370, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFOGYONY3GTRZSVA7SFWSJDU76GUPANCNFSM5NGDRG5Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID: @.***>
thanks, I ready fixed ImagePicker.openCropper({ path: resp.sourceURL || resp.path, includeBase64: true, })
I found out that problem is in my code when calling open cropper, it was getting called with empty path … On Mon, Mar 14, 2022, 10:51 PM sspeng123 @.> wrote: same .. FATAL EXCEPTION: mqt_native_modules Process: , PID: 8910 java.lang.NullPointerException: uriString at android.net.Uri$StringUri.(Uri.java:496) at android.net.Uri$StringUri.(Uri.java:486) at android.net.Uri.parse(Uri.java:458) at com.reactnative.ivpusic.imagepicker.PickerModule.openCropper — Reply to this email directly, view it on GitHub <#1728 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFOGYONY3GTRZSVA7SFWSJDU76GUPANCNFSM5NGDRG5Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID: @.>
@sspeng123 great, you can close this issue now, I think.
Version
Tell us which versions you are using:
Platform
Tell us to which platform this issue is related
Devices users
Samsung Galaxy Note9 (SM-N960F)
Expected behaviour
Open crop picker tool
Actual behaviour
Steps to reproduce
Sometimes some users the crop picker tool does not open in android 10 due to this error