java.lang.IllegalStateException: GoogleApiClient is not connected yet.

tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Could not find a method saveData(View)

    Google Groups | 7 months ago | Giuseppe Guarino
    java.lang.IllegalStateException: Could not find a method saveData(View) in the activity class com.example.giuse.secondly.NewSheet for onClick handler on view class android.widget.Button with id 'button_save' at android.view.View$1.onClick(View.java:4007) at android.view.View.performClick(View.java:4780) at android.view.View$PerformClick.run(View.java:19866) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5254) 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:903)

    Root Cause Analysis

    1. java.lang.IllegalStateException

      GoogleApiClient is not connected yet.

      at com.google.android.gms.common.api.zze.zzb()
    2. com.google.android
      zze.removeGeofences
      1. com.google.android.gms.common.api.zze.zzb(Unknown Source)
      2. com.google.android.gms.common.api.zzg.zzb(Unknown Source)
      3. com.google.android.gms.location.internal.zze.removeGeofences(Unknown Source)
      3 frames
    3. com.lib.mm
      GeofencingGeofenceManager$6.onConnected
      1. com.lib.mm.android.library.location.impl.GeofencingGeofenceManager$6.onConnected(GeofencingGeofenceManager.java:245)
      1 frame
    4. com.google.android
      zzi$zzb.handleMessage
      1. com.google.android.gms.common.internal.zzj.zzg(Unknown Source)
      2. com.google.android.gms.common.api.zze.zzmH(Unknown Source)
      3. com.google.android.gms.common.api.zze.onConnected(Unknown Source)
      4. com.google.android.gms.common.api.zzg$2.onConnected(Unknown Source)
      5. com.google.android.gms.common.internal.zzi$zzg.zznO(Unknown Source)
      6. com.google.android.gms.common.internal.zzi$zza.zzc(Unknown Source)
      7. com.google.android.gms.common.internal.zzi$zza.zzr(Unknown Source)
      8. com.google.android.gms.common.internal.zzi$zzc.zznQ(Unknown Source)
      9. com.google.android.gms.common.internal.zzi$zzb.handleMessage(Unknown Source)
      9 frames
    5. Android Platform
      ActivityThread.main
      1. android.os.Handler.dispatchMessage(Handler.java:102)
      2. android.os.Looper.loop(Looper.java:145)
      3. android.app.ActivityThread.main(ActivityThread.java:5951)
      3 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Method.java)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    7. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
      2 frames