question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failure delivering result ResultInfo

See original GitHub issue

os : 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:closed
  • Created 6 years ago
  • Reactions:14
  • Comments:12

github_iconTop GitHub Comments

2reactions
Johan-dutoitcommented, May 7, 2020

Done.

0reactions
sumeeticommented, May 6, 2020

@Johan-dutoit Can you please merge #984 now that it’s tested, thanks!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found