java.lang.NullPointerException: null reference

Stack Overflow | Mark | 1 week ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 0

    Is it possible to have multiple GoogleApiClients within one activity?

    Stack Overflow | 3 months ago | marcco_m
    java.lang.IllegalStateException: GoogleApiClient is not connected yet.
  2. 0
    samebug tip
    To use a OAuth2 token, you need to register your signed app through the dev console. For this you need to get a SHA1 Fingerprint, all the process is described in more details here: https://goo.gl/fhZH1J
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GoogleApiClient not connected yet

    Stack Overflow | 3 months ago | Shakeel Dhada
    java.lang.IllegalStateException: GoogleApiClient is not connected yet.
  5. 0
    samebug tip
    Firebase Database considers public fields and JavaBean-like getters and setters when serializing/deserializing JSON. A public field with a getter and a setter may cause this exception. Try to change to private or removing getter and setter.

    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

      null reference

      at com.google.android.gms.common.internal.zzaa.zzy()
    2. com.google.android
      zzs.subscribe
      1. com.google.android.gms.common.internal.zzaa.zzy(Unknown Source)
      2. com.google.android.gms.nearby.messages.internal.zzs.subscribe(Unknown Source)
      2 frames
    3. com.example.mark
      SubActivity.onConnected
      1. com.example.mark.prototype9.SubActivity.subscribe(SubActivity.java:113)
      2. com.example.mark.prototype9.SubActivity.onConnected(SubActivity.java:134)
      2 frames
    4. com.google.android
      zze$zzd.handleMessage
      1. com.google.android.gms.common.internal.zzk.zzp(Unknown Source)
      2. com.google.android.gms.internal.zzrd.zzn(Unknown Source)
      3. com.google.android.gms.internal.zzrb.zzass(Unknown Source)
      4. com.google.android.gms.internal.zzrb.onConnected(Unknown Source)
      5. com.google.android.gms.internal.zzrf.onConnected(Unknown Source)
      6. com.google.android.gms.internal.zzqr.onConnected(Unknown Source)
      7. com.google.android.gms.common.internal.zzj$1.onConnected(Unknown Source)
      8. com.google.android.gms.common.internal.zze$zzj.zzavj(Unknown Source)
      9. com.google.android.gms.common.internal.zze$zza.zzc(Unknown Source)
      10. com.google.android.gms.common.internal.zze$zza.zzv(Unknown Source)
      11. com.google.android.gms.common.internal.zze$zze.zzavl(Unknown Source)
      12. com.google.android.gms.common.internal.zze$zzd.handleMessage(Unknown Source)
      12 frames
    5. Android Platform
      ActivityThread.main
      1. android.os.Handler.dispatchMessage(Handler.java:102)
      2. android.os.Looper.loop(Looper.java:211)
      3. android.app.ActivityThread.main(ActivityThread.java:5389)
      3 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      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:1020)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
      2 frames