java.lang.AbstractMethodError
See original GitHub issueAndroid Studio version: _____3.6 Firebase Component: _____ firebase-messaging Component version: _____“20.1.0”
We are using firebase for push notifications. We have got this crash for few users repetitively, though we couldn’t simulate, this is reported in crashlytics. Can you please help us fix this
Device : HTC Desire 628 dual sim, OS 5.1
Crash Logs :
Fatal Exception: java.lang.AbstractMethodError: abstract method “java.lang.Object e.k.a.e.o.h.b()” at com.google.firebase.remoteconfig.internal.ConfigCacheClient.getBlocking(ConfigCacheClient.java:108) at com.google.firebase.remoteconfig.internal.ConfigCacheClient.getBlocking(ConfigCacheClient.java:100) at com.google.firebase.remoteconfig.internal.ConfigGetParameterHandler.getConfigsFromCache(ConfigGetParameterHandler.java:407) at com.google.firebase.remoteconfig.internal.ConfigGetParameterHandler.getStringFromCache(ConfigGetParameterHandler.java:337) at com.google.firebase.remoteconfig.internal.ConfigGetParameterHandler.getValue(ConfigGetParameterHandler.java:249) at com.google.firebase.remoteconfig.FirebaseRemoteConfig.getValue(FirebaseRemoteConfig.java:459) at com.google.firebase.perf.internal.RemoteConfigManager.zzl(RemoteConfigManager.java:91) at com.google.firebase.perf.internal.RemoteConfigManager.zzb(RemoteConfigManager.java:39) at com.google.android.gms.internal.firebase-perf.zzaf.zzp(zzaf.java:52) at com.google.firebase.perf.internal.zzf.zzbv(zzf.java:190) at com.google.firebase.perf.internal.zzf.zzbu(zzf.java:178) at com.google.firebase.perf.internal.zzf.zzbt(zzf.java:44) at com.google.firebase.perf.internal.zzf.zzc(zzf.java:195) at com.google.firebase.perf.internal.zze.run(zze.java:2) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818)
Relevant Code:
// TODO(you): code here to reproduce the problem
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (7 by maintainers)
Top GitHub Comments
I got independent confirmation that this bug (or at least one very similar) can be fixed by upgrading both
firebase-iid
andfirebase-messaging
to their latest versions (20.2.3
at the time of this writing).I have similar exception, happens only on first launch, hope this stack-trace will be useful:
Reproduced on Pixel 4 and Pixel 2