question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

java.lang.AbstractMethodError

See original GitHub issue

Android 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:closed
  • Created 3 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

4reactions
samtsterncommented, Jul 15, 2020

I got independent confirmation that this bug (or at least one very similar) can be fixed by upgrading both firebase-iid and firebase-messaging to their latest versions (20.2.3 at the time of this writing).

1reaction
rostopiracommented, Jul 8, 2020

I have similar exception, happens only on first launch, hope this stack-trace will be useful:

E/AndroidRuntime: FATAL EXCEPTION: main
    Process: app.geoloc, PID: 4836
    java.lang.AbstractMethodError: abstract method "com.google.android.gms.tasks.Task com.google.firebase.iid.WithinAppServiceBinder$IntentHandler.zza(android.content.Intent)"
        at com.google.firebase.iid.WithinAppServiceBinder.zza(com.google.firebase:firebase-iid@@20.2.2:9)
        at com.google.firebase.iid.zzaw.zza(com.google.firebase:firebase-iid@@20.2.2:30)
        at com.google.firebase.iid.zzaw.onServiceConnected(com.google.firebase:firebase-iid@@20.2.2:59)
        at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1948)
        at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1980)
        at android.os.Handler.handleCallback(Handler.java:883)
        at android.os.Handler.dispatchMessage(Handler.java:100)
        at android.os.Looper.loop(Looper.java:214)
        at android.app.ActivityThread.main(ActivityThread.java:7356)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)

Reproduced on Pixel 4 and Pixel 2

Read more comments on GitHub >

github_iconTop Results From Across the Web

AbstractMethodError (Java Platform SE 8 ) - Oracle Help Center
Thrown when an application tries to call an abstract method. Normally, this error is caught by the compiler; this error can only occur...
Read more >
Why I am getting java.lang.AbstractMethodError errors?
It usually means that you are using an old version of an interface implementation which is missing a new interface method.
Read more >
AbstractMethodError in Java - Baeldung
AbstractMethodError is thrown when an application attempts to call an unimplemented abstract method. We know that if there are unimplemented ...
Read more >
java.lang.AbstractMethodError - How to resolve Abstract ...
AbstractMethodError is thrown when the programmer calls an abstract method without firstly overriding it. Of course, this would resolve in a ...
Read more >
AbstractMethodError (Java Platform SE 6) - SciJava Javadoc
java.lang. Class AbstractMethodError ... Thrown when an application tries to call an abstract method. Normally, this error is caught by the compiler; this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found