java.lang.RuntimeException

Failure delivering result ResultInfo{who=null, request=64206, result=-1, data=Intent { (has extras) }} to activity {com.example.kumaraswamy.sharingactivity/com.example.kumaraswamy.sharingactivity.ShareActivity}: java.lang.NullPointerException: Attempt to invoke virtual method ‘boolean java.lang.String.equals(java.lang.Object)’ on a null object reference

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web50639

  • via simpledeveloper.com by Unknown author, 5 months ago
    Failure delivering result ResultInfo{who=null, request=64206, result=-1, data=Intent { (has extras) }} to activity {com.example.kumaraswamy.sharingactivity/com.example.kumaraswamy.sharingactivity.ShareActivity}: java.lang.NullPointerException: Attempt to invoke virtual methodboolean java.lang.String.equals(java.lang.Object)’ on a null object reference
  • Failure delivering result ResultInfo{who=null, request=64206, result=-1, data=Intent { (has extras) }} to activity {org.MYapp.FBtestApp/org.MYapp.FBtestApp.Login}: java.lang.NullPointerException: Attempt to invoke interface method 'boolean com.facebook.CallbackManager.onActivityResult(int, int, android.content.Intent)' on a null object reference
  • Failure delivering result ResultInfo{who=null, request=64206, result=-1, data=Intent { (has extras) }} to activity {com.example.ryans_000.facebooklogin/com.example.ryans_000.facebooklogin.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Throwable.toString()' on a null object reference
  • Stack trace

    • java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=64206, result=-1, data=Intent { (has extras) }} to activity {com.example.kumaraswamy.sharingactivity/com.example.kumaraswamy.sharingactivity.ShareActivity}: java.lang.NullPointerException: Attempt to invoke virtual method ‘boolean java.lang.String.equals(java.lang.Object)’ on a null object reference at android.app.ActivityThread.deliverResults(ActivityThread.java:3626) at android.app.ActivityThread.handleSendResult(ActivityThread.java:3669) at android.app.ActivityThread.access$1300(ActivityThread.java:148) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1341) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5312) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:901) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:696) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method ‘boolean java.lang.String.equals(java.lang.Object)’ on a null object reference at com.facebook.login.LoginManager.getLogger(LoginManager.java:392) at com.facebook.login.LoginManager.logCompleteLogin(LoginManager.java:415) at com.facebook.login.LoginManager.onActivityResult(LoginManager.java:190) at com.facebook.login.LoginManager$1.onActivityResult(LoginManager.java:140) at com.facebook.internal.CallbackManagerImpl.onActivityResult(CallbackManagerImpl.java:82) at com.example.kumaraswamy.sharingactivity.ShareActivity.onActivityResult(ShareActivity.java:85) at android.app.Activity.dispatchActivityResult(Activity.java:6161) at android.app.ActivityThread.deliverResults(ActivityThread.java:3622) ... 10 more

    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

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago