java.lang.RuntimeException

Failure delivering result ResultInfo{who=null, request=13001, result=-1, data=null} to activity {com.edukit.staging/com.reactnativenavigation.controllers.PortraitNavigationActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.app.Activity com.facebook.react.bridge.ReactContext.getCurrentActivity()' on a null object reference


Samebug tips1

Try loading the text file into a WebView, then printing the contents of the WebView.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web49777

Solution icon of github
Failure delivering result ResultInfo{who=null, request=13001, result=-1, data=null} to activity {com.edukit.staging/com.reactnativenavigation.controllers.PortraitNavigationActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.app.Activity com.facebook.react.bridge.ReactContext.getCurrentActivity()' on a null object reference

Solution icon of apache
via cordova-dev by Dan Polivy, 1 year ago
Failure delivering result ResultInfo{who=null, request=34, result=-1, data=null} to activity {<app>}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.toString()' on a null object reference

Solution icon of github
via GitHub by abdelwehed
, 9 months ago
Failure delivering result ResultInfo{who=null, request=13001, result=0, data=null} to activity {com.nativestarterkit/com.nativestarterkit.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void io.cordova.reactnative.CordovaPluginPackage.onActivityResult(int, int, android.content.Intent)' on a null object reference

Solution icon of web
Unable to resume activity {com.example.newcamera/com.example.newcamera.MainActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=null} to activity {com.example.newcamera

Solution icon of github
Unable to resume activity {hf.lskj.com.hplk/com.yanzhenjie.album.AlbumActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=131372, result=-1, data=null} to activity {hf.lskj.com.hplk

Solution icon of apache
via Apache's JIRA Issue Tracker by Victor Ros, 1 year ago
Unable to resume activity {my.application.appXXX.bip.mobileClient/my.application.appXXX.bip.mobileClient.MainActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=34, result=-1, data=null} to activity

Solution icon of web
via google.com by Unknown author, 1 year ago
Unable to resume activity {com.bachtrieuphat.hayhaytv/com.bachtrieuphat.hayhaytv.movies.FilmDetailActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=0, data=null} to activity

Solution icon of github
via GitHub by superandrew213
, 11 months ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=null} to activity {com.xxx.xxx/com.xxx.xxx.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.ClipData android.content.Intent.getClipData()' on a null object reference

Solution icon of stackoverflow
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=null} to activity {com.example.bharat.plantnow/com.example.bharat.plantnow.TreeActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.net.Uri android.content.Intent.getData()' on a null object reference

Solution icon of stackoverflow
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=null} to activity {com.example.gianluca.achieveme/com.example.gianluca.achieveme.AchievementCompleted}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.getPath()' on a null object reference

Stack trace

  • java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=13001, result=-1, data=null} to activity {com.edukit.staging/com.reactnativenavigation.controllers.PortraitNavigationActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.app.Activity com.facebook.react.bridge.ReactContext.getCurrentActivity()' on a null object reference at android.app.ActivityThread.deliverResults(ActivityThread.java:3798) at android.app.ActivityThread.handleSendResult(ActivityThread.java:3841) at android.app.ActivityThread.access$1400(ActivityThread.java:154) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1440) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:234) at android.app.ActivityThread.main(ActivityThread.java:5526) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

3 times, 1 week ago
9 times, 1 month ago
37 times, 1 month ago
376 times, 2 months ago
9 times, 2 months ago
171 more bugmates