java.lang.IllegalStateException: GoogleApiClient must be connected.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by UrbanChrisy
, 1 year ago
GoogleApiClient must be connected.
via auth0.com by Unknown author, 1 year ago
via GitHub by xorgate
, 1 year ago
GoogleApiClient must be connected.
via GitHub by DobrinAlexandru
, 1 year ago
blockingConnect must not be called on the UI thread
java.lang.IllegalStateException: GoogleApiClient must be connected.
at com.google.android.gms.common.internal.zzv.zza(Unknown Source)
at com.google.android.gms.plus.Plus.zzf(Unknown Source)
at com.google.android.gms.internal.zzll.clearDefaultAccount(Unknown Source)
at com.auth0.googleplus.GooglePlusIdentityProvider.clearSession(GooglePlusIdentityProvider.java:121)
at com.auth0.lock.LockActivity.onAuthenticationError(LockActivity.java:224)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.squareup.otto.EventHandler.handleEvent(EventHandler.java:89)
at com.squareup.otto.Bus.dispatch(Bus.java:384)
at com.squareup.otto.Bus.dispatchQueuedEvents(Bus.java:367)
at com.squareup.otto.Bus.post(Bus.java:336)
at com.auth0.lock.fragment.SignUpFormFragment$SignUpAuthenticationCallback.onFailure(SignUpFormFragment.java:218)
at com.auth0.api.authentication.SignUpRequest$1.onFailure(SignUpRequest.java:102)
at com.auth0.api.internal.BaseRequest$2.run(BaseRequest.java:95)
at android.os.Handler.handleCallback(Handler.java:810)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:209)
at android.app.ActivityThread.main(ActivityThread.java:5979)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.