com.google.firebase.database.DatabaseException

Not a direct subclass of GenericTypeIndicator: class com.google.firebase.database.GenericTypeIndicator

Solutions on the web99

  • Not a direct subclass of GenericTypeIndicator: class com.google.firebase.database.GenericTypeIndicator
  • Class java.util.Map has generic type parameters, please use GenericTypeIndicator instead
  • via Stack Overflow by Samo
    , 10 months ago
    Class java.util.Map has generic type parameters, please use GenericTypeIndicator instead
  • Stack trace

    • com.google.firebase.database.DatabaseException: Not a direct subclass of GenericTypeIndicator: class com.google.firebase.database.GenericTypeIndicator at com.google.android.gms.internal.zzalq.zza(Unknown Source) at com.google.firebase.database.DataSnapshot.getValue(Unknown Source) at com.rhcloud.escot.bsr.MainActivity$2$1.onDataChange(MainActivity.java:61) at com.google.android.gms.internal.zzaih.zza(Unknown Source) at com.google.android.gms.internal.zzajh.zzctc(Unknown Source) at com.google.android.gms.internal.zzajk$1.run(Unknown Source) at android.os.Handler.handleCallback(Handler.java:815) at android.os.Handler.dispatchMessage(Handler.java:104) at android.os.Looper.loop(Looper.java:194) at android.app.ActivityThread.main(ActivityThread.java:5631) 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:959) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 year ago
    Unknown user
    Once, 1 year ago