bumptech / glide

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

Load failed #5033

Open AlexMofer opened 1 year ago

AlexMofer commented 1 year ago

Glide Version:4.15.0

Integration libraries:OkHttp3-4.9.3

Device/Android Version: Pixel 6 13

Issue details / Repro steps / Use case background: Load failed for some url, such as https://test-updf-hangzhou.oss-cn-hangzhou.aliyuncs.com/user%2Fdrive%2F790_635875284725288960.jpg?Expires=1677323391&OSSAccessKeyId=LTAI5tLWSZN8Ethztgbis36V&Signature=oaKL3jG6XnyBbXC%2F0rIAQzGBjgc%3D if this url OSSAccessKeyId or Signature missing or changed, it can not load. The server will check the data. I can use OkHttpClient to download this image form this url in my app, but I can not use Glide load this url. Load local image file is OK. Preliminary investigation has been completed, the problem is caused by the image, not the url. Two example images: Image text Image text

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

Code in GlideModule:
@Override
    public void registerComponents(@NonNull Context context, @NonNull Glide glide,
                                   @NonNull Registry registry) {
        super.registerComponents(context, glide, registry);
        registry.replace(GlideUrl.class, InputStream.class, new OkHttpUrlLoader.Factory());
    }

Code in ThumbnailView:
private void setData(RequestManager manager, Object data) {
        if (data instanceof BasePDF) {
            final BasePDF pdf = (BasePDF) data;
            mThumbnailId = pdf.getId();
            manager.clear(this);
            manager.load(mDrawableDefault).into(this);
            new ThumbnailJob(this, pdf).executeInSingle();
        } else if (data instanceof ThumbnailItem) {
            final ThumbnailItem item = (ThumbnailItem) data;
            final int type = item.getType();
            if (type == ThumbnailItem.TYPE_ENCRYPTED) {
                manager.load(mDrawableEncrypted).into(this);
            } else if (type == ThumbnailItem.TYPE_DAMAGED) {
                manager.load(mDrawableDamaged).into(this);
            } else {
                manager.clear(this);
                final String path = "file://" + FileHelper.getThumbnails(getContext()).getPath()
                        + "/" + item.getFileName();
                manager.load(path).placeholder(mDrawableDefault)
                        .signature(new ObjectKey(item.getFileName())).into(this);
            }
        }else if (data instanceof GlideUrl) {
            manager.clear(this);
            manager.load((GlideUrl) data)
                    .placeholder(mDrawableDefault)
                    .into(this);
        } else if (data instanceof String) {
            manager.clear(this);
            manager.load(Uri.parse((String) data))
                    .placeholder(mDrawableDefault)
                    .into(this);
        } else {
            manager.clear(this);
            manager.load(mDrawableDefault).into(this);
        }
    }

    public void setData(Object data) {
        setData(Glide.with(getContext()), data);
    }

    public void setData(FragmentActivity activity, Object data) {
        setData(Glide.with(activity), data);
    }

    public void setData(Fragment fragment, Object data) {
        setData(Glide.with(fragment), data);
    }

Layout XML:

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="?selectableItemBackground"
    android:clickable="true"
    android:clipChildren="false"
    android:focusable="true"
    android:minHeight="70dp">

    <View
        android:layout_width="0dp"
        android:layout_height="1dp"
        android:layout_marginStart="64dp"
        android:background="#33C4C4C4"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent" />

    <myapp.widget.ThumbnailView
        android:id="@+id/icl_iv_thumbnail"
        android:layout_width="32dp"
        android:layout_height="44dp"
        android:layout_marginStart="16dp"
        android:duplicateParentState="true"
        android:scaleType="centerInside"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:thumbnail_drawableDamaged="@drawable/ic_common_thumbnail_damaged_32x44"
        app:thumbnail_drawableDefault="@drawable/ic_common_thumbnail_default_32x44"
        app:thumbnail_drawableEncrypted="@drawable/ic_common_thumbnail_encrypted_32x44" />

    <Space
        android:id="@id/temp_1"
        android:layout_width="0dp"
        android:layout_height="1dp"
        app:layout_constraintBottom_toBottomOf="@id/icl_iv_thumbnail"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="@id/icl_iv_thumbnail" />

    <androidx.appcompat.widget.AppCompatImageButton
        android:id="@+id/icl_ib_more"
        style="?attr/toolbarNavigationButtonStyle"
        android:layout_width="24dp"
        android:layout_height="24dp"
        android:layout_marginEnd="14dp"
        android:src="@drawable/ic_common_document_more_list"
        app:layout_constraintBottom_toBottomOf="@id/icl_iv_thumbnail"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toTopOf="@id/icl_iv_thumbnail" />

    <TextView
        android:id="@+id/icl_tv_title"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginStart="16dp"
        android:layout_marginEnd="16dp"
        android:layout_marginBottom="3dp"
        android:ellipsize="end"
        android:maxLines="1"
        android:textColor="?colorPrimary"
        android:textSize="12sp"
        app:layout_constraintBottom_toTopOf="@id/temp_1"
        app:layout_constraintEnd_toStartOf="@id/icl_ib_more"
        app:layout_constraintStart_toEndOf="@id/icl_iv_thumbnail" />

    <TextView
        android:id="@+id/icl_tv_description"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginStart="16dp"
        android:layout_marginTop="3dp"
        android:layout_marginEnd="16dp"
        android:ellipsize="end"
        android:maxLines="1"
        android:textColor="#FFC4C4C4"
        android:textSize="10sp"
        app:layout_constraintEnd_toStartOf="@id/icl_ib_more"
        app:layout_constraintStart_toEndOf="@id/icl_iv_thumbnail"
        app:layout_constraintTop_toBottomOf="@id/temp_1"
        tools:ignore="SmallSp" />

    <myapp.widget.ClickHighlightView
        android:id="@+id/icl_v_highlight"
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:background="@drawable/bg_common_list_item_clicked"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

</androidx.constraintlayout.widget.ConstraintLayout>

Stack trace / LogCat:

Glide W  Load failed for [https://test-updf-hangzhou.oss-cn-hangzhou.aliyuncs.com/user%2Fdrive%2F790_635875284725288960.jpg?Expires=1677323391&OSSAccessKeyId=LTAI5tLWSZN8Ethztgbis36V&Signature=oaKL3jG6XnyBbXC%2F0rIAQzGBjgc%3D] with dimensions [84x116]
         class com.bumptech.glide.load.engine.GlideException: Failed to load resource
         There were 5 root causes:
         java.lang.RuntimeException(setDataSourceCallback failed: status = 0x80000000)
         java.lang.RuntimeException(setDataSourceCallback failed: status = 0x80000000)
         java.lang.RuntimeException(setDataSourceCallback failed: status = 0x80000000)
         java.lang.RuntimeException(setDataSource failed: status = 0x80000000)
         java.lang.RuntimeException(setDataSource failed: status = 0x80000000)
          call GlideException#logRootCauses(String) for more detail
           Cause (1 of 3): class com.bumptech.glide.load.engine.GlideException: Failed LoadPath{DirectByteBuffer->Object->Drawable}, REMOTE, https://test-updf-hangzhou.oss-cn-hangzhou.aliyuncs.com/user%2Fdrive%2F790_635875284725288960.jpg?Expires=1677323391&OSSAccessKeyId=LTAI5tLWSZN8Ethztgbis36V&Signature=oaKL3jG6XnyBbXC%2F0rIAQzGBjgc%3D
         There were 3 root causes:
         java.lang.RuntimeException(setDataSourceCallback failed: status = 0x80000000)
         java.lang.RuntimeException(setDataSourceCallback failed: status = 0x80000000)
         java.lang.RuntimeException(setDataSourceCallback failed: status = 0x80000000)
          call GlideException#logRootCauses(String) for more detail
             Cause (1 of 4): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{DirectByteBuffer->Drawable->Drawable}
         There was 1 root cause:
         java.lang.RuntimeException(setDataSourceCallback failed: status = 0x80000000)
          call GlideException#logRootCauses(String) for more detail
               Cause (1 of 1): class java.lang.RuntimeException: setDataSourceCallback failed: status = 0x80000000
             Cause (2 of 4): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{DirectByteBuffer->GifDrawable->Drawable}
             Cause (3 of 4): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{DirectByteBuffer->Bitmap->BitmapDrawable}
         There was 1 root cause:
         java.lang.RuntimeException(setDataSourceCallback failed: status = 0x80000000)
          call GlideException#logRootCauses(String) for more detail
               Cause (1 of 1): class java.lang.RuntimeException: setDataSourceCallback failed: status = 0x80000000
             Cause (4 of 4): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{DirectByteBuffer->BitmapDrawable->Drawable}
         There was 1 root cause:
         java.lang.RuntimeException(setDataSourceCallback failed: status = 0x80000000)
          call GlideException#logRootCauses(String) for more detail
               Cause (1 of 1): class java.lang.RuntimeException: setDataSourceCallback failed: status = 0x80000000
           Cause (2 of 3): class com.bumptech.glide.load.engine.GlideException: Failed LoadPath{FileInputStream->Object->Drawable}, REMOTE, https://test-updf-hangzhou.oss-cn-hangzhou.aliyuncs.com/user%2Fdrive%2F790_635875284725288960.jpg?Expires=1677323391&OSSAccessKeyId=LTAI5tLWSZN8Ethztgbis36V&Signature=oaKL3jG6XnyBbXC%2F0rIAQzGBjgc%3D
             Cause (1 of 4): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{FileInputStream->Drawable->Drawable}
             Cause (2 of 4): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{FileInputStream->GifDrawable->Drawable}
             Cause (3 of 4): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{FileInputStream->Bitmap->BitmapDrawable}
             Cause (4 of 4): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{FileInputStream->BitmapDrawable->Drawable}
           Cause (3 of 3): class com.bumptech.glide.load.engine.GlideException: Failed LoadPath{ParcelFileDescriptor->Object->Drawable}, REMOTE, https://test-updf-hangzhou.oss-cn-hangzhou.aliyuncs.com/user%2Fdrive%2F790_635875284725288960.jpg?Expires=1677323391&OSSAccessKeyId=LTAI5tLWSZN8Ethztgbis36V&Signature=oaKL3jG6XnyBbXC%2F0rIAQzGBjgc%3D
         There were 2 root causes:
Glide W  java.lang.RuntimeException(setDataSource failed: status = 0x80000000)
         java.lang.RuntimeException(setDataSource failed: status = 0x80000000)
          call GlideException#logRootCauses(String) for more detail
             Cause (1 of 2): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{ParcelFileDescriptor->Bitmap->BitmapDrawable}
         There was 1 root cause:
         java.lang.RuntimeException(setDataSource failed: status = 0x80000000)
          call GlideException#logRootCauses(String) for more detail
               Cause (1 of 1): class java.lang.RuntimeException: setDataSource failed: status = 0x80000000
             Cause (2 of 2): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{ParcelFileDescriptor->BitmapDrawable->Drawable}
         There was 1 root cause:
         java.lang.RuntimeException(setDataSource failed: status = 0x80000000)
          call GlideException#logRootCauses(String) for more detail
               Cause (1 of 1): class java.lang.RuntimeException: setDataSource failed: status = 0x80000000
Glide I  Root cause (1 of 5)
         java.lang.RuntimeException: setDataSourceCallback failed: status = 0x80000000
            at android.media.MediaMetadataRetriever._setDataSource(Native Method)
            at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:407)
            at com.bumptech.glide.load.resource.bitmap.VideoDecoder$ByteBufferInitializer.initializeRetriever(VideoDecoder.java:512)
            at com.bumptech.glide.load.resource.bitmap.VideoDecoder$ByteBufferInitializer.initializeRetriever(VideoDecoder.java:507)
            at com.bumptech.glide.load.resource.bitmap.VideoDecoder.decode(VideoDecoder.java:191)
            at com.bumptech.glide.load.resource.bitmap.BitmapDrawableDecoder.decode(BitmapDrawableDecoder.java:58)
            at com.bumptech.glide.load.engine.DecodePath.decodeResourceWithList(DecodePath.java:92)
            at com.bumptech.glide.load.engine.DecodePath.decodeResource(DecodePath.java:70)
            at com.bumptech.glide.load.engine.DecodePath.decode(DecodePath.java:59)
            at com.bumptech.glide.load.engine.LoadPath.loadWithExceptionList(LoadPath.java:76)
            at com.bumptech.glide.load.engine.LoadPath.load(LoadPath.java:57)
            at com.bumptech.glide.load.engine.DecodeJob.runLoadPath(DecodeJob.java:539)
            at com.bumptech.glide.load.engine.DecodeJob.decodeFromFetcher(DecodeJob.java:503)
            at com.bumptech.glide.load.engine.DecodeJob.decodeFromData(DecodeJob.java:489)
            at com.bumptech.glide.load.engine.DecodeJob.decodeFromRetrievedData(DecodeJob.java:434)
            at com.bumptech.glide.load.engine.DecodeJob.onDataFetcherReady(DecodeJob.java:399)
            at com.bumptech.glide.load.engine.SourceGenerator.onDataFetcherReady(SourceGenerator.java:239)
            at com.bumptech.glide.load.engine.DataCacheGenerator.onDataReady(DataCacheGenerator.java:100)
            at com.bumptech.glide.load.model.ByteBufferFileLoader$ByteBufferFetcher.loadData(ByteBufferFileLoader.java:62)
            at com.bumptech.glide.load.engine.DataCacheGenerator.startNext(DataCacheGenerator.java:77)
            at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:75)
            at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:311)
            at com.bumptech.glide.load.engine.DecodeJob.runWrapped(DecodeJob.java:280)
            at com.bumptech.glide.load.engine.DecodeJob.run(DecodeJob.java:235)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
            at com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultThreadFactory$1.run(GlideExecutor.java:424)
            at java.lang.Thread.run(Thread.java:1012)
            at com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultPriorityThreadFactory$1.run(GlideExecutor.java:383)
Glide I  Root cause (2 of 5)
         java.lang.RuntimeException: setDataSourceCallback failed: status = 0x80000000
            at android.media.MediaMetadataRetriever._setDataSource(Native Method)
            at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:407)
            at com.bumptech.glide.load.resource.bitmap.VideoDecoder$ByteBufferInitializer.initializeRetriever(VideoDecoder.java:512)
            at com.bumptech.glide.load.resource.bitmap.VideoDecoder$ByteBufferInitializer.initializeRetriever(VideoDecoder.java:507)
            at com.bumptech.glide.load.resource.bitmap.VideoDecoder.decode(VideoDecoder.java:191)
            at com.bumptech.glide.load.engine.DecodePath.decodeResourceWithList(DecodePath.java:92)
            at com.bumptech.glide.load.engine.DecodePath.decodeResource(DecodePath.java:70)
            at com.bumptech.glide.load.engine.DecodePath.decode(DecodePath.java:59)
            at com.bumptech.glide.load.engine.LoadPath.loadWithExceptionList(LoadPath.java:76)
            at com.bumptech.glide.load.engine.LoadPath.load(LoadPath.java:57)
            at com.bumptech.glide.load.engine.DecodeJob.runLoadPath(DecodeJob.java:539)
            at com.bumptech.glide.load.engine.DecodeJob.decodeFromFetcher(DecodeJob.java:503)
            at com.bumptech.glide.load.engine.DecodeJob.decodeFromData(DecodeJob.java:489)
            at com.bumptech.glide.load.engine.DecodeJob.decodeFromRetrievedData(DecodeJob.java:434)
            at com.bumptech.glide.load.engine.DecodeJob.onDataFetcherReady(DecodeJob.java:399)
            at com.bumptech.glide.load.engine.SourceGenerator.onDataFetcherReady(SourceGenerator.java:239)
            at com.bumptech.glide.load.engine.DataCacheGenerator.onDataReady(DataCacheGenerator.java:100)
            at com.bumptech.glide.load.model.ByteBufferFileLoader$ByteBufferFetcher.loadData(ByteBufferFileLoader.java:62)
            at com.bumptech.glide.load.engine.DataCacheGenerator.startNext(DataCacheGenerator.java:77)
            at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:75)
            at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:311)
            at com.bumptech.glide.load.engine.DecodeJob.runWrapped(DecodeJob.java:280)
            at com.bumptech.glide.load.engine.DecodeJob.run(DecodeJob.java:235)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
            at com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultThreadFactory$1.run(GlideExecutor.java:424)
            at java.lang.Thread.run(Thread.java:1012)
            at com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultPriorityThreadFactory$1.run(GlideExecutor.java:383)
Glide I  Root cause (3 of 5)
         java.lang.RuntimeException: setDataSourceCallback failed: status = 0x80000000
            at android.media.MediaMetadataRetriever._setDataSource(Native Method)
            at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:407)
            at com.bumptech.glide.load.resource.bitmap.VideoDecoder$ByteBufferInitializer.initializeRetriever(VideoDecoder.java:512)
            at com.bumptech.glide.load.resource.bitmap.VideoDecoder$ByteBufferInitializer.initializeRetriever(VideoDecoder.java:507)
            at com.bumptech.glide.load.resource.bitmap.VideoDecoder.decode(VideoDecoder.java:191)
            at com.bumptech.glide.load.resource.bitmap.BitmapDrawableDecoder.decode(BitmapDrawableDecoder.java:58)
            at com.bumptech.glide.load.engine.DecodePath.decodeResourceWithList(DecodePath.java:92)
            at com.bumptech.glide.load.engine.DecodePath.decodeResource(DecodePath.java:70)
            at com.bumptech.glide.load.engine.DecodePath.decode(DecodePath.java:59)
            at com.bumptech.glide.load.engine.LoadPath.loadWithExceptionList(LoadPath.java:76)
            at com.bumptech.glide.load.engine.LoadPath.load(LoadPath.java:57)
            at com.bumptech.glide.load.engine.DecodeJob.runLoadPath(DecodeJob.java:539)
            at com.bumptech.glide.load.engine.DecodeJob.decodeFromFetcher(DecodeJob.java:503)
            at com.bumptech.glide.load.engine.DecodeJob.decodeFromData(DecodeJob.java:489)
            at com.bumptech.glide.load.engine.DecodeJob.decodeFromRetrievedData(DecodeJob.java:434)
            at com.bumptech.glide.load.engine.DecodeJob.onDataFetcherReady(DecodeJob.java:399)
            at com.bumptech.glide.load.engine.SourceGenerator.onDataFetcherReady(SourceGenerator.java:239)
            at com.bumptech.glide.load.engine.DataCacheGenerator.onDataReady(DataCacheGenerator.java:100)
            at com.bumptech.glide.load.model.ByteBufferFileLoader$ByteBufferFetcher.loadData(ByteBufferFileLoader.java:62)
            at com.bumptech.glide.load.engine.DataCacheGenerator.startNext(DataCacheGenerator.java:77)
            at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:75)
            at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:311)
            at com.bumptech.glide.load.engine.DecodeJob.runWrapped(DecodeJob.java:280)
            at com.bumptech.glide.load.engine.DecodeJob.run(DecodeJob.java:235)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
            at com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultThreadFactory$1.run(GlideExecutor.java:424)
            at java.lang.Thread.run(Thread.java:1012)
            at com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultPriorityThreadFactory$1.run(GlideExecutor.java:383)
Glide I  Root cause (4 of 5)
         java.lang.RuntimeException: setDataSource failed: status = 0x80000000
            at android.media.MediaMetadataRetriever._setDataSource(Native Method)
            at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:310)
            at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:334)
            at com.bumptech.glide.load.resource.bitmap.VideoDecoder$ParcelFileDescriptorInitializer.initializeRetriever(VideoDecoder.java:497)
            at com.bumptech.glide.load.resource.bitmap.VideoDecoder$ParcelFileDescriptorInitializer.initializeRetriever(VideoDecoder.java:492)
            at com.bumptech.glide.load.resource.bitmap.VideoDecoder.decode(VideoDecoder.java:191)
            at com.bumptech.glide.load.engine.DecodePath.decodeResourceWithList(DecodePath.java:92)
            at com.bumptech.glide.load.engine.DecodePath.decodeResource(DecodePath.java:70)
            at com.bumptech.glide.load.engine.DecodePath.decode(DecodePath.java:59)
            at com.bumptech.glide.load.engine.LoadPath.loadWithExceptionList(LoadPath.java:76)
            at com.bumptech.glide.load.engine.LoadPath.load(LoadPath.java:57)
            at com.bumptech.glide.load.engine.DecodeJob.runLoadPath(DecodeJob.java:539)
            at com.bumptech.glide.load.engine.DecodeJob.decodeFromFetcher(DecodeJob.java:503)
            at com.bumptech.glide.load.engine.DecodeJob.decodeFromData(DecodeJob.java:489)
            at com.bumptech.glide.load.engine.DecodeJob.decodeFromRetrievedData(DecodeJob.java:434)
            at com.bumptech.glide.load.engine.DecodeJob.onDataFetcherReady(DecodeJob.java:399)
            at com.bumptech.glide.load.engine.SourceGenerator.onDataFetcherReady(SourceGenerator.java:239)
            at com.bumptech.glide.load.engine.DataCacheGenerator.onDataReady(DataCacheGenerator.java:100)
            at com.bumptech.glide.load.model.FileLoader$FileFetcher.loadData(FileLoader.java:72)
            at com.bumptech.glide.load.engine.DataCacheGenerator.startNext(DataCacheGenerator.java:77)
            at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:75)
            at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:311)
            at com.bumptech.glide.load.engine.DecodeJob.decodeFromRetrievedData(DecodeJob.java:442)
            at com.bumptech.glide.load.engine.DecodeJob.onDataFetcherReady(DecodeJob.java:399)
            at com.bumptech.glide.load.engine.SourceGenerator.onDataFetcherReady(SourceGenerator.java:239)
            at com.bumptech.glide.load.engine.DataCacheGenerator.onDataReady(DataCacheGenerator.java:100)
            at com.bumptech.glide.load.model.FileLoader$FileFetcher.loadData(FileLoader.java:72)
            at com.bumptech.glide.load.engine.DataCacheGenerator.startNext(DataCacheGenerator.java:77)
            at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:75)
            at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:311)
            at com.bumptech.glide.load.engine.DecodeJob.decodeFromRetrievedData(DecodeJob.java:442)
            at com.bumptech.glide.load.engine.DecodeJob.onDataFetcherReady(DecodeJob.java:399)
            at com.bumptech.glide.load.engine.SourceGenerator.onDataFetcherReady(SourceGenerator.java:239)
            at com.bumptech.glide.load.engine.DataCacheGenerator.onDataReady(DataCacheGenerator.java:100)
            at com.bumptech.glide.load.model.ByteBufferFileLoader$ByteBufferFetcher.loadData(ByteBufferFileLoader.java:62)
            at com.bumptech.glide.load.engine.DataCacheGenerator.startNext(DataCacheGenerator.java:77)
            at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:75)
            at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:311)
            at com.bumptech.glide.load.engine.DecodeJob.runWrapped(DecodeJob.java:280)
            at com.bumptech.glide.load.engine.DecodeJob.run(DecodeJob.java:235)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
            at com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultThreadFactory$1.run(GlideExecutor.java:424)
            at java.lang.Thread.run(Thread.java:1012)
Glide I     at com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultPriorityThreadFactory$1.run(GlideExecutor.java:383)
Glide I  Root cause (5 of 5)
         java.lang.RuntimeException: setDataSource failed: status = 0x80000000
            at android.media.MediaMetadataRetriever._setDataSource(Native Method)
            at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:310)
            at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:334)
            at com.bumptech.glide.load.resource.bitmap.VideoDecoder$ParcelFileDescriptorInitializer.initializeRetriever(VideoDecoder.java:497)
            at com.bumptech.glide.load.resource.bitmap.VideoDecoder$ParcelFileDescriptorInitializer.initializeRetriever(VideoDecoder.java:492)
            at com.bumptech.glide.load.resource.bitmap.VideoDecoder.decode(VideoDecoder.java:191)
            at com.bumptech.glide.load.resource.bitmap.BitmapDrawableDecoder.decode(BitmapDrawableDecoder.java:58)
            at com.bumptech.glide.load.engine.DecodePath.decodeResourceWithList(DecodePath.java:92)
            at com.bumptech.glide.load.engine.DecodePath.decodeResource(DecodePath.java:70)
            at com.bumptech.glide.load.engine.DecodePath.decode(DecodePath.java:59)
            at com.bumptech.glide.load.engine.LoadPath.loadWithExceptionList(LoadPath.java:76)
            at com.bumptech.glide.load.engine.LoadPath.load(LoadPath.java:57)
            at com.bumptech.glide.load.engine.DecodeJob.runLoadPath(DecodeJob.java:539)
            at com.bumptech.glide.load.engine.DecodeJob.decodeFromFetcher(DecodeJob.java:503)
            at com.bumptech.glide.load.engine.DecodeJob.decodeFromData(DecodeJob.java:489)
            at com.bumptech.glide.load.engine.DecodeJob.decodeFromRetrievedData(DecodeJob.java:434)
            at com.bumptech.glide.load.engine.DecodeJob.onDataFetcherReady(DecodeJob.java:399)
            at com.bumptech.glide.load.engine.SourceGenerator.onDataFetcherReady(SourceGenerator.java:239)
            at com.bumptech.glide.load.engine.DataCacheGenerator.onDataReady(DataCacheGenerator.java:100)
            at com.bumptech.glide.load.model.FileLoader$FileFetcher.loadData(FileLoader.java:72)
            at com.bumptech.glide.load.engine.DataCacheGenerator.startNext(DataCacheGenerator.java:77)
            at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:75)
            at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:311)
            at com.bumptech.glide.load.engine.DecodeJob.decodeFromRetrievedData(DecodeJob.java:442)
            at com.bumptech.glide.load.engine.DecodeJob.onDataFetcherReady(DecodeJob.java:399)
            at com.bumptech.glide.load.engine.SourceGenerator.onDataFetcherReady(SourceGenerator.java:239)
            at com.bumptech.glide.load.engine.DataCacheGenerator.onDataReady(DataCacheGenerator.java:100)
            at com.bumptech.glide.load.model.FileLoader$FileFetcher.loadData(FileLoader.java:72)
            at com.bumptech.glide.load.engine.DataCacheGenerator.startNext(DataCacheGenerator.java:77)
            at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:75)
            at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:311)
            at com.bumptech.glide.load.engine.DecodeJob.decodeFromRetrievedData(DecodeJob.java:442)
            at com.bumptech.glide.load.engine.DecodeJob.onDataFetcherReady(DecodeJob.java:399)
            at com.bumptech.glide.load.engine.SourceGenerator.onDataFetcherReady(SourceGenerator.java:239)
            at com.bumptech.glide.load.engine.DataCacheGenerator.onDataReady(DataCacheGenerator.java:100)
            at com.bumptech.glide.load.model.ByteBufferFileLoader$ByteBufferFetcher.loadData(ByteBufferFileLoader.java:62)
            at com.bumptech.glide.load.engine.DataCacheGenerator.startNext(DataCacheGenerator.java:77)
            at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:75)
            at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:311)
            at com.bumptech.glide.load.engine.DecodeJob.runWrapped(DecodeJob.java:280)
            at com.bumptech.glide.load.engine.DecodeJob.run(DecodeJob.java:235)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
            at com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultThreadFactory$1.run(GlideExecutor.java:424)
Glide I     at java.lang.Thread.run(Thread.java:1012)
            at com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultPriorityThreadFactory$1.run(GlideExecutor.java:383)
AlexMofer commented 1 year ago

Same as #4973