bumptech / glide

An image loading and caching library for Android focused on smooth scrolling
https://bumptech.github.io/glide/
Other
34.67k stars 6.12k forks source link

com.bumptech.glide.Registry$NoSourceEncoderAvailableException #4615

Open huailong opened 3 years ago

huailong commented 3 years ago

Glide Version:4.11.0

Integration libraries:

Device/Android Version:any devices on any android version

Issue details / Repro steps / Use case background:

Glide load line / GlideModule (if any) / list Adapter code (if any):

Glide.with...

Layout XML:

<FrameLayout xmlns:android="...

Stack trace / LogCat:

java.lang.Error:java.util.concurrent.ExecutionException: com.bumptech.glide.load.engine.GlideException: Failed to load resource

There was 1 cause:
com.bumptech.glide.Registry$NoSourceEncoderAvailableException(Failed to find source encoder for data class: class android.net.Uri$StringUri)
call GlideException#logRootCauses(String) for more detail
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1173)
......
Caused by:
com.bumptech.glide.load.engine.GlideException:Failed to load resource
There was 1 cause:
com.bumptech.glide.Registry$NoSourceEncoderAvailableException(Failed to find source encoder for data class: class android.net.Uri$StringUri)
call GlideException#logRootCauses(String) for more detail
Sir-Dave commented 2 months ago

Did you find a fix for this eventually?