java.lang.AssertionError: Missing field in com.google.android.gms.internal.zzajy$zza

Stack Overflow | Mohamed Maged | 7 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

    my shared pref to store data of list view and retrieve it back doesn't work

    Stack Overflow | 7 months ago | Mohamed Maged
    java.lang.AssertionError: Missing field in com.google.android.gms.internal.zzajy$zza
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.AssertionError

      Missing field in com.google.android.gms.internal.zzajy$zza

      at com.google.gson.internal.bind.TypeAdapters$EnumTypeAdapter.<init>()
    2. Gson
      Gson.toJson
      1. com.google.gson.internal.bind.TypeAdapters$EnumTypeAdapter.<init>(TypeAdapters.java:812)
      2. com.google.gson.internal.bind.TypeAdapters$30.create(TypeAdapters.java:838)
      3. com.google.gson.Gson.getAdapter(Gson.java:416)
      4. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getFieldAdapter(ReflectiveTypeAdapterFactory.java:135)
      5. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.<init>(ReflectiveTypeAdapterFactory.java:105)
      6. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField(ReflectiveTypeAdapterFactory.java:104)
      7. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:160)
      8. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:96)
      9. com.google.gson.Gson.getAdapter(Gson.java:416)
      10. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getFieldAdapter(ReflectiveTypeAdapterFactory.java:135)
      11. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.<init>(ReflectiveTypeAdapterFactory.java:105)
      12. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField(ReflectiveTypeAdapterFactory.java:104)
      13. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:160)
      14. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:96)
      15. com.google.gson.Gson.getAdapter(Gson.java:416)
      16. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getFieldAdapter(ReflectiveTypeAdapterFactory.java:135)
      17. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.<init>(ReflectiveTypeAdapterFactory.java:105)
      18. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField(ReflectiveTypeAdapterFactory.java:104)
      19. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:160)
      20. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:96)
      21. com.google.gson.Gson.getAdapter(Gson.java:416)
      22. com.google.gson.internal.bind.CollectionTypeAdapterFactory.create(CollectionTypeAdapterFactory.java:53)
      23. com.google.gson.Gson.getAdapter(Gson.java:416)
      24. com.google.gson.Gson.toJson(Gson.java:653)
      25. com.google.gson.Gson.toJson(Gson.java:640)
      26. com.google.gson.Gson.toJson(Gson.java:595)
      26 frames
    3. com.example.android
      light.onCreate
      1. com.example.android.mechantus.light.onCreate(light.java:53)
      1 frame
    4. Android Platform
      ActivityThread.handleLaunchActivity
      1. android.app.Activity.performCreate(Activity.java:6237)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
      4 frames