Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.AbstractMethodError: com.squareup.picasso.Callback.onError #1928

Open
damaisubimawanto opened this issue Jun 19, 2018 · 9 comments

Comments

@damaisubimawanto
Copy link

damaisubimawanto commented Jun 19, 2018

Hi, we are getting a lot of crashes of java.lang.AbstractMethodError after updated it to version 2.71828 in our application.

Here is the crash report:

Fatal Exception: java.lang.AbstractMethodError: abstract method "void com.squareup.picasso.Callback.onError(java.lang.Exception)"
at com.squareup.picasso.FetchAction.error(FetchAction.java:40)
at com.squareup.picasso.Picasso.deliverAction(Picasso.java:581)
at com.squareup.picasso.Picasso.complete(Picasso.java:528)
at com.squareup.picasso.Picasso$1.handleMessage(Picasso.java:122)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:5811)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:768)

My code implementation:

Picasso.get().cancelRequest(imageView);
Picasso.get().load(url)
    .error(R.drawable.img_default_transparent)
    .placeholder(R.drawable.img_default_transparent)
    .into(imageView);

Actually, it never happened in my devices (I'm currently using Asus Zenfone 2 and Samsung Galaxy Note 2) while I was testing my application, but I looked in Fabric Crashlytics, the crashes happened in other devices.
Any idea why this crash occurred?

Picasso Version:
2.71828

Crashes in device:
Samsung, Xiaomi, OPPO, Vivo, QUALCOMM, HUAWEI, Sony, and many others.

Android versions:
Android 5, 6, 7, and 8.

@thezeeshan92
Copy link

yes also crash on my samsung c9 pro device. why this crash occurred?

@mahesh-gupta-23
Copy link

Also crashes on my app in production with exact same error and same version, same devices and android version. Not able to understand why this is happening. The implementation is quite straight forward. Picasso.get().load(url).into(imageView);

@BhupeshSahu
Copy link

BhupeshSahu commented Nov 2, 2018

Hi, we too are getting the same issue on Moto E2.
One thing I have observed in this exception is... It's happening only wherever I've used Picasso with this library, which is for image sliding.

@ayz4sci
Copy link

ayz4sci commented Dec 23, 2018

Is there any solution to this problem?

@Radwa13
Copy link

Radwa13 commented Apr 30, 2019

Hi, there have you find any solution ?

@ahmadazarnia
Copy link

Hi, we too are getting the same issue on Asus Tablet. there have you find any solution ?

@Vengat121
Copy link

hi, any solution?

@Ic-ks
Copy link

Ic-ks commented Apr 6, 2020

We observed this crash bug, too. It is caused by firebase in app messaging which has a dependency to picasso 2.71828:
image
Is this bug confirmed and is there already a bugfix in development (the last release was 2 years ago)?

@supergenedy
Copy link

It's solved for me by clearing app cache and reinstall the app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants