[🐛] java.lang.RuntimeException com.imagepicker.ImagePickerModule.onActivityResult
See original GitHub issueMy app crashes while using this library in my android app. I am not able to find any solution regarding this crash. any solution?
java.lang.RuntimeException:
at android.app.ActivityThread.deliverResults (ActivityThread.java:4662)
at android.app.ActivityThread.handleSendResult (ActivityThread.java:4704)
at android.app.servertransaction.ActivityResultItem.execute (ActivityResultItem.java:49)
at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:113)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:71)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2036)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:224)
at android.app.ActivityThread.main (ActivityThread.java:7081)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:511)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:928)
Caused by: java.lang.RuntimeException:
at com.facebook.react.bridge.CallbackImpl.invoke (Unknown Source:23)
at com.imagepicker.ImagePickerModule.onActivityResult (Unknown Source:35)
at com.facebook.react.bridge.ReactContext.onActivityResult (Unknown Source:18)
at com.facebook.react.ReactInstanceManager.onActivityResult (ReactInstanceManager.java:6)
at com.facebook.react.ReactDelegate.onActivityResult (ReactDelegate.java:22)
at com.facebook.react.ReactActivityDelegate.onActivityResult (ReactActivityDelegate.java:3)
at com.facebook.react.ReactActivity.onActivityResult (ReactActivity.java:2)
at android.app.Activity.dispatchActivityResult (Activity.java:7588)
at android.app.ActivityThread.deliverResults (ActivityThread.java:4655)
at android.app.ActivityThread.handleSendResult (ActivityThread.java:4704)
at android.app.servertransaction.ActivityResultItem.execute (ActivityResultItem.java:49)
at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:113)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:71)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2036)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:224)
at android.app.ActivityThread.main (ActivityThread.java:7081)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:511)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:928)
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top Results From Across the Web
App crashes when picking image with expo-image-picker
I am using expo-image-picker to take a picture and send it to firebase. ... 3450 02-09 11:13:42.098 3450 3450 E AndroidRuntime: java.lang.
Read more >Can local EAS builds be submitted to the app store? - #2 by lastof ...
I successfully ran an EAS build locally with the help of a community member. My goal was to see if a production only...
Read more >attempt to invoke virtual method 'int android.graphics.bitmap ...
I'm getting this error when I launch the app in Google Map Activity ... onActivityResult(ImagePickerModule.java:388) at com.facebook.react.bridge.
Read more >uu467 图片选择修改点- 狂奔的小狮子 - 博客园
ImagePickerModule package com.imagepicker; import android.app. ... import java.util.Collections; ... catch (RuntimeException exception) {.
Read more >Android.graphics.bitmap.getwidth()' on a null object ... - f-static.net
java.lang.nullpointerexception:= attempt= to= invoke= virtual= method= 'int= ... getResizedImage(ImagePickerModule.java:504) at com.imagepicker.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Facing the same issue in production, but I can’t reproduce this crash on my testing android devices.
@shivam0831 do you have some special case when you have this error?
@percyavaur no