java.lang.IllegalStateException: GoogleApiClient must be connected.

GitHub | pmq | 2 years 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

    GitHub comment 45#104995472

    GitHub | 2 years ago | pmq
    java.lang.IllegalStateException: GoogleApiClient must be connected.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      GoogleApiClient must be connected.

      at com.google.android.gms.common.internal.zzx.zza()
    2. com.google.android
      zztm.clearDefaultAccount
      1. com.google.android.gms.common.internal.zzx.zza(Unknown Source)
      2. com.google.android.gms.plus.Plus.zzf(Unknown Source)
      3. com.google.android.gms.internal.zztm.clearDefaultAccount(Unknown Source)
      3 frames
    3. com.auth0.googleplus
      GooglePlusIdentityProvider.clearSession
      1. com.auth0.googleplus.GooglePlusIdentityProvider.clearSession(GooglePlusIdentityProvider.java:108)
      1 frame
    4. com.auth0.lock
      LockActivity.onAuthenticationError
      1. com.auth0.lock.LockActivity.onAuthenticationError(LockActivity.java:221)
      1 frame
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    6. com.squareup.otto
      Bus.post
      1. com.squareup.otto.EventHandler.handleEvent(EventHandler.java:89)
      2. com.squareup.otto.Bus.dispatch(Bus.java:384)
      3. com.squareup.otto.Bus.dispatchQueuedEvents(Bus.java:367)
      4. com.squareup.otto.Bus.post(Bus.java:336)
      4 frames
    7. com.auth0.lock
      LockIdentityProviderCallback.onFailure
      1. com.auth0.lock.identity.LockIdentityProviderCallback.onFailure(LockIdentityProviderCallback.java:62)
      1 frame
    8. com.auth0.googleplus
      GooglePlusIdentityProvider.onConnectionFailed
      1. com.auth0.googleplus.GooglePlusIdentityProvider.onConnectionFailed(GooglePlusIdentityProvider.java:147)
      1 frame
    9. com.google.android
      zzk$zzb.handleMessage
      1. com.google.android.gms.common.internal.zzl.zzg(Unknown Source)
      2. com.google.android.gms.common.api.zzd.zza(Unknown Source)
      3. com.google.android.gms.common.api.zzd.zzie(Unknown Source)
      4. com.google.android.gms.common.api.zzd.zzc(Unknown Source)
      5. com.google.android.gms.common.api.zzd$9.onConnectionFailed(Unknown Source)
      6. com.google.android.gms.common.internal.zzl.zzg(Unknown Source)
      7. com.google.android.gms.common.internal.zzk$zza.zzf(Unknown Source)
      8. com.google.android.gms.common.internal.zzk$zza.zzc(Unknown Source)
      9. com.google.android.gms.common.internal.zzk$zza.zzi(Unknown Source)
      10. com.google.android.gms.common.internal.zzk$zzc.zzjg(Unknown Source)
      11. com.google.android.gms.common.internal.zzk$zzb.handleMessage(Unknown Source)
      11 frames
    10. Android Platform
      ActivityThread.main
      1. android.os.Handler.dispatchMessage(Handler.java:102)
      2. android.os.Looper.loop(Looper.java:146)
      3. android.app.ActivityThread.main(ActivityThread.java:5679)
      3 frames
    11. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    12. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
      2 frames
    13. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame