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

Unexpected Crash: NoSuchMethodError(No virtual method getAsync) #115

Open
poropi opened this issue Jun 30, 2021 · 0 comments
Open

Unexpected Crash: NoSuchMethodError(No virtual method getAsync) #115

poropi opened this issue Jun 30, 2021 · 0 comments

Comments

@poropi
Copy link

poropi commented Jun 30, 2021

Bug Reporting

Steps to Reproduce

Execute the following code.

                            Blurry.with(context)
                                    .radius(50)
                                    .sampling(8)
                                    .color(Color.argb(77,255,255,255))
                                    .capture(imageView.image)
                                    .getAsync { blurryImg ->
                                        imageBlurCache[url] = BitmapDrawable(context.resources, blurryImg)
                                        imageView.image.setImageBitmap(blurryImg)
                                        imageView.image.visibility = View.VISIBLE
                                    }

Actual Results (include screenshots)

     Caused by: java.lang.NoSuchMethodError: No virtual method getAsync(Ljp/wasabeef/blurry/BlurTask$Callback;)V in class Ljp/wasabeef/blurry/Blurry$ImageComposer; or its super classes (declaration of 'jp.wasabeef.blurry.Blurry$ImageComposer' appears in /data/data/com.hoge.app.debug/code_cache/.overlay/base.apk/classes4.dex)
        at com.hoge.app.user.detail.UserDetailView$UserImageAdapter$instantiateItem$$inlined$run$lambda$1.invoke(UserDetailView.kt:437)
        at com.hoge.app.user.detail.UserDetailView$UserImageAdapter$instantiateItem$$inlined$run$lambda$1.invoke(UserDetailView.kt:364)
        at com.hoge.app.common.DatabindingHelperKt$bindImageUrl$1.onResourceReady(DatabindingHelper.kt:62)
        at com.hoge.app.common.DatabindingHelperKt$bindImageUrl$1.onResourceReady(DatabindingHelper.kt:56)
        at com.bumptech.glide.request.SingleRequest.onResourceReady(SingleRequest.java:622)
        at com.bumptech.glide.request.SingleRequest.onResourceReady(SingleRequest.java:575)
        at com.bumptech.glide.load.engine.EngineJob.callCallbackOnResourceReady(EngineJob.java:158)
        at com.bumptech.glide.load.engine.EngineJob$CallResourceReady.run(EngineJob.java:424) 
        at android.os.Handler.handleCallback(Handler.java:938) 
        at android.os.Handler.dispatchMessage(Handler.java:99) 
        at android.os.Looper.loop(Looper.java:223) 
        at android.app.ActivityThread.main(ActivityThread.java:7664) 
        at java.lang.reflect.Method.invoke(Native Method) 
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) 
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947) 

Expected Results (include screenshots)

Not to crash.

OS details

  • Device:Pixel4
  • OS:11.0.0

Etc

It was occurred in 4.0.0.

@poropi poropi changed the title Unexpected Crash: NoSuchMethodError Unexpected Crash: NoSuchMethodError(No virtual method getAsync) Jun 30, 2021
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

1 participant