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

GitHub | mikkoj | 3 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Android: Occasional crash when returning from camera (ReactContext null when onActivityResult)

    GitHub | 3 months ago | mikkoj
    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
  2. 0

    GitHub comment 240#255299771

    GitHub | 6 months ago | wingjay
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=65538, result=0, data=null} to activity {com.glow.android.eve/com.glow.android.eve.ui.landing.WelcomeActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int com.google.android.gms.common.ConnectionResult.c()' on a null object reference
  3. 0

    Application is getting crashed when cordova-smooch plugin is used with camera plugin

    Stack Overflow | 1 year ago | Samal
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=34, result=-1, data=null} to activity {com.ionicframework.smooch310486/com.ionicframework.smooch310486.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.toString()' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NullPointer with using Facebook SDK

    Stack Overflow | 11 months ago | Artem Shevchenko
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=129742, result=0, data=null} to activity {com.nashkvartal/com.nashkvartal.StartScreenActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'boolean com.facebook.CallbackManager.onActivityResult(int, int, android.content.Intent)' on a null object reference

  1. Indri Yunita 76 times, last 1 day ago
  2. andreeaa marin 8 times, last 3 weeks ago
  3. ahmed 6 times, last 1 month ago
  4. justCodeit 59 times, last 2 months ago
  5. Donsy 4 times, last 3 months ago
78 more registered users
17 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Android Platform
    ActivityThread.main
    1. android.app.ActivityThread.deliverResults(ActivityThread.java:3798)
    2. android.app.ActivityThread.handleSendResult(ActivityThread.java:3841)
    3. android.app.ActivityThread.access$1400(ActivityThread.java:154)
    4. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1440)
    5. android.os.Handler.dispatchMessage(Handler.java:102)
    6. android.os.Looper.loop(Looper.java:234)
    7. android.app.ActivityThread.main(ActivityThread.java:5526)
    7 frames
  3. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Method.java)
    1 frame
  4. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    2 frames