Failure delivering result ResultInfo
See original GitHub issueos : macOS Sierra d : Samsung Galaxy
java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=13002, result=-1, data=Intent { dat=content://media/external/images/media/48 flg=0x1 }} to activity {com.mobilecampus/com.mobilecampus.MainActivity}: java.lang.NullPointerException: Attempt to read from field 'java.io.File com.imagepicker.media.ImageConfig.resized' on a null object reference
at android.app.ActivityThread.deliverResults(ActivityThread.java:3699)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:3742)
at android.app.ActivityThread.-wrap16(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1393)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: java.lang.NullPointerException: Attempt to read from field 'java.io.File com.imagepicker.media.ImageConfig.resized' on a null object reference
at com.imagepicker.ImagePickerModule.onActivityResult(ImagePickerModule.java:434)
at com.facebook.react.bridge.ReactContext.onActivityResult(ReactContext.java:261)
at com.facebook.react.ReactInstanceManager.onActivityResult(ReactInstanceManager.java:659)
at com.facebook.react.ReactActivityDelegate.onActivityResult(ReactActivityDelegate.java:149)
at com.facebook.react.ReactActivity.onActivityResult(ReactActivity.java:77)
at android.app.Activity.dispatchActivityResult(Activity.java:6428)
at android.app.ActivityThread.deliverResults(ActivityThread.java:3695)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:3742)
at android.app.ActivityThread.-wrap16(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1393)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:14
- Comments:12
Top Results From Across the Web
Failure delivering result ResultInfo - java - Stack Overflow
It worked in two of the activities but I got this error in the 3rd one. My problem occurred because I had forgotten...
Read more >Failure delivering result ResultInfo{who=null, request=69 ...
RuntimeException: Failure delivering result ResultInfo{who=null, request=61111, result=-1, data=null} to activity {com.duanglink.bizappv3/com.
Read more >Failure delivering result ResultInfo{who=null, request=1888 ...
Android : java.lang.RuntimeException: Failure delivering result ResultInfo {who=null, request=1888, result=0, data=null} to activity ...
Read more >android camera : Failure delivering result ResultInfo{who=null ...
Android : android camera : Failure delivering result ResultInfo {who=null, request=0, result=-1, data=null} to activity [ Beautify Your ...
Read more >Failure delivering result ResultInfo{who=null, request=400 ...
Failure delivering result ResultInfo {who=null, request=400, result=-1, data=Intent { (has extras) }} to activity java.lang.
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 FreeTop 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
Top GitHub Comments
Done.
@Johan-dutoit Can you please merge #984 now that it’s tested, thanks!