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

[Glide] Error: setDataSource failed: status = 0x80000000 #998

Open
NetPumi2 opened this issue Jul 25, 2023 · 0 comments
Open

[Glide] Error: setDataSource failed: status = 0x80000000 #998

NetPumi2 opened this issue Jul 25, 2023 · 0 comments
Labels

Comments

@NetPumi2
Copy link

NetPumi2 commented Jul 25, 2023

Describe the bug
I am using this lib mainly for fetching and caching a few images. And all my logic works fine but I see some error coming from Glide in Android logcat.

these are logs:

2023-07-25 15:36:21.681 12514-12514 Glide com.myawesomeapp.yesapp W 
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 (4 of 6): class com.bumptech.glide.load.engine.GlideException: Failed LoadPath{DirectByteBuffer->Object->Drawable}, REMOTE, https://app-wallee.com/en-US/s/36329/resource/web/image/payment/method/paypal.svg?strategy=snapshot&snapshot=152574
                                                                                                    There were 2 root causes:
                                                                                                    java.lang.RuntimeException(setDataSourceCallback failed: status = 0x80000000)
                                                                                                    java.lang.RuntimeException(setDataSourceCallback failed: status = 0x80000000)
                                                                                                     call GlideException#logRootCauses(String) for more detail
                                                                                                        Cause (1 of 3): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{DirectByteBuffer->GifDrawable->Drawable}
                                                                                                        Cause (2 of 3): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{DirectByteBuffer->Bitmap->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 (3 of 3): 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 (5 of 6): class com.bumptech.glide.load.engine.GlideException: Failed LoadPath{FileInputStream->Object->Drawable}, REMOTE, https://app-wallee.com/en-US/s/36329/resource/web/image/payment/method/paypal.svg?strategy=snapshot&snapshot=152574
                                                                                                        Cause (1 of 3): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{FileInputStream->GifDrawable->Drawable}
                                                                                                        Cause (2 of 3): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{FileInputStream->Bitmap->Drawable}
                                                                                                        Cause (3 of 3): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{FileInputStream->BitmapDrawable->Drawable}
                                                                                                      Cause (6 of 6): class com.bumptech.glide.load.engine.GlideException: Failed LoadPath{ParcelFileDescriptor->Object->Drawable}, REMOTE, https://app-wallee.com/en-US/s/36329/resource/web/image/payment/method/paypal.svg?strategy=snapshot&snapshot=152574
                                                                                                    There were 2 root causes:
                                                                                                    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->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
                                                                                                        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
2023-07-25 15:36:21.682 12514-12514 Glide                   com.myawesomeapp.yesapp                 I  Root cause (3 of 8)
                                                                                                    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.initialize(VideoDecoder.java:314)
                                                                                                    	at com.bumptech.glide.load.resource.bitmap.VideoDecoder$ParcelFileDescriptorInitializer.initialize(VideoDecoder.java:309)
                                                                                                    	at com.bumptech.glide.load.resource.bitmap.VideoDecoder.decode(VideoDecoder.java:173)
                                                                                                    	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:529)
                                                                                                    	at com.bumptech.glide.load.engine.DecodeJob.decodeFromFetcher(DecodeJob.java:493)
                                                                                                    	at com.bumptech.glide.load.engine.DecodeJob.decodeFromData(DecodeJob.java:479)
                                                                                                    	at com.bumptech.glide.load.engine.DecodeJob.decodeFromRetrievedData(DecodeJob.java:430)
                                                                                                    	at com.bumptech.glide.load.engine.DecodeJob.onDataFetcherReady(DecodeJob.java:394)
                                                                                                    	at com.bumptech.glide.load.engine.DataCacheGenerator.onDataReady(DataCacheGenerator.java:94)
                                                                                                    	at com.bumptech.glide.load.model.FileLoader$FileFetcher.loadData(FileLoader.java:72)
                                                                                                    	at com.bumptech.glide.load.engine.DataCacheGenerator.startNext(DataCacheGenerator.java:74)
                                                                                                    	at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:311)
                                                                                                    	at com.bumptech.glide.load.engine.DecodeJob.decodeFromRetrievedData(DecodeJob.java:438)
                                                                                                    	at com.bumptech.glide.load.engine.DecodeJob.onDataFetcherReady(DecodeJob.java:394)
                                                                                                    	at com.bumptech.glide.load.engine.DataCacheGenerator.onDataReady(DataCacheGenerator.java:94)
                                                                                                    	at com.bumptech.glide.load.model.FileLoader$FileFetcher.loadData(FileLoader.java:72)
                                                                                                    	at com.bumptech.glide.load.engine.DataCacheGenerator.startNext(DataCacheGenerator.java:74)
                                                                                                    	at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:311)
                                                                                                    	at com.bumptech.glide.load.engine.DecodeJob.decodeFromRetrievedData(DecodeJob.java:438)
                                                                                                    	at com.bumptech.glide.load.engine.DecodeJob.onDataFetcherReady(DecodeJob.java:394)
                                                                                                    	at com.bumptech.glide.load.engine.DataCacheGenerator.onDataReady(DataCacheGenerator.java:94)
                                                                                                    	at com.bumptech.glide.load.model.ByteBufferFileLoader$ByteBufferFetcher.loadData(ByteBufferFileLoader.java:62)
                                                                                                    	at com.bumptech.glide.load.engine.DataCacheGenerator.startNext(DataCacheGenerator.java:74)
                                                                                                    	at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:311)
                                                                                                    	at com.bumptech.glide.load.engine.DecodeJob.runWrapped(DecodeJob.java:277)
                                                                                                    	at com.bumptech.glide.load.engine.DecodeJob.run(DecodeJob.java:235)
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
                                                                                                    	at java.lang.Thread.run(Thread.java:920)
                                                                                                    	at com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultThreadFactory$1.run(GlideExecutor.java:393)

Dependency versions

  • React Native version: 0.69
  • React version: 18.0.0
  • React Native Fast Image version: 8.6.3
@NetPumi2 NetPumi2 added the bug label Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant