bumptech / bumptech/glide

Load local gif cause GlideException: Failed to load resource

Open
#3,664 11 comments 4 reactions 0 assignees View on GitHub
bug GIF
Dominant language
Java
Stars
35k
Forks
6.2k
Avg merge
1d 11h
Merged PRs (30d)
8

Description

Glide Version: 4.9.0
OS Version: P(and some other versions)

Load some downloaded gif failed

``` Java
W/Glide: Load failed for file:///storage/emulated/0/xxx/xxx.gif with size [648x362]
class com.bumptech.glide.load.engine.GlideException: Failed to load resource
Cause (1 of 1): class com.bumptech.glide.load.engine.GlideException: Failed LoadPath{FileInputStream->GifDrawable->GifDrawable}, LOCAL
Cause (1 of 1): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{FileInputStream->GifDrawable->GifDrawable}

```
Failed image
![IMAGE_20190524_1548392233952161222613974](https://user-images.githubusercontent.com/9980196/58317149-c9819000-7e47-11e9-946c-46c57d6a9725.gif)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported local GIF load on Android with Glide 4.9.0 using the file URI and dimensions shown. Inspect the logged FileInputStream-to-GifDrawable LoadPath and DecodePath; done means the downloaded GIF loads successfully without GlideException.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.