java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.Activity.setResult(int, android.content.Intent)' on a null object reference

GitHub | oviroa | 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

    AuthUI flow starts multiple times when rotated and then crashes when selecting an account for each instance

    GitHub | 3 months ago | oviroa
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.Activity.setResult(int, android.content.Intent)' on a null object reference
  2. 0

    NPE using 0.5.0 release

    GitHub | 8 months ago | peterhav
    java.lang.RuntimeException: Unable to start activity ComponentInfo{xxx.xxxxx.xxxxx/com.firebase.ui.auth.ui.ChooseAccountActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int com.google.android.gms.common.GoogleApiAvailability.isGooglePlayServicesAvailable(android.content.Context)' on a null object reference
  3. 0

    Twitter provider with same email issue

    GitHub | 4 months ago | aviadmini
    java.lang.IllegalArgumentException: Given String is empty or null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 533#274202037

    GitHub | 3 months ago | cutiko
    java.lang.IllegalArgumentException: Given String is empty or null

    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.NullPointerException

      Attempt to invoke virtual method 'void android.app.Activity.setResult(int, android.content.Intent)' on a null object reference

      at com.firebase.ui.auth.ui.BaseHelper.finishActivity()
    2. com.firebase.ui
      CredentialSignInHandler.onComplete
      1. com.firebase.ui.auth.ui.BaseHelper.finishActivity(BaseHelper.java:51)
      2. com.firebase.ui.auth.ui.FragmentHelper.finish(FragmentHelper.java:27)
      3. com.firebase.ui.auth.ui.FragmentBase.finish(FragmentBase.java:26)
      4. com.firebase.ui.auth.util.signincontainer.SaveSmartLock.finish(SaveSmartLock.java:178)
      5. com.firebase.ui.auth.util.signincontainer.SaveSmartLock.saveCredentialsOrFinish(SaveSmartLock.java:198)
      6. com.firebase.ui.auth.ui.BaseHelper.saveCredentialsOrFinish(BaseHelper.java:124)
      7. com.firebase.ui.auth.ui.BaseHelper.saveCredentialsOrFinish(BaseHelper.java:112)
      8. com.firebase.ui.auth.ui.idp.CredentialSignInHandler.onComplete(CredentialSignInHandler.java:68)
      8 frames
    3. com.google.android
      zzc$1.run
      1. com.google.android.gms.tasks.zzc$1.run(Unknown Source)
      1 frame
    4. Android Platform
      ActivityThread.main
      1. android.os.Handler.handleCallback(Handler.java:751)
      2. android.os.Handler.dispatchMessage(Handler.java:95)
      3. android.os.Looper.loop(Looper.java:154)
      4. android.app.ActivityThread.main(ActivityThread.java:6119)
      4 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
      2 frames