bumptech / bumptech/glide

Non-fatal Exception: com.bumptech.glide.load.engine.GlideException

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

Description

**Glide Version**:4.14.2

**Integration libraries**: com.github.bumptech.glide:okhttp3-integration:4.14.2

**Device/Android Version**: 5 to 13

**Issue details / Repro steps / Use case background**:
Non-fatal Exception: com.bumptech.glide.load.engine.GlideException: Failed to load resource
There was 1 root cause:
com.bumptech.glide.load.HttpException(Failed to connect or obtain data, status code: -1)
call GlideException#logRootCauses(String) for more detail

**Glide load line / `GlideModule` (if any) / list Adapter code (if any)**:
```java
Glide.with(MyApplication.instance.applicationContext).setDefaultRequestOptions(
RequestOptions()
.timeout(60000)
).asBitmap().load(url)
.listener(requestListener).dontAnimate().centerCrop()
.diskCacheStrategy(DiskCacheStrategy.NONE).into(imageView)
```

**Layout XML**:
```xml

```

**Stack trace / LogCat**:
```ruby
paste stack trace and/or log here
```
Non-fatal Exception: com.bumptech.glide.load.engine.GlideException: Failed to load resource
There was 1 root cause:
com.bumptech.glide.load.HttpException(Failed to connect or obtain data, status code: -1)
call GlideException#logRootCauses(String) for more detail

Non-fatal Exception: com.bumptech.glide.load.engine.GlideException: Failed to load resource
There were 2 root causes:
java.lang.RuntimeException(setDataSourceCallback failed: status = 0x80000000)
java.lang.RuntimeException(setDataSource failed: status = 0x80000000)
call GlideException#logRootCauses(String) for more detail

Non-fatal Exception: com.bumptech.glide.load.engine.GlideException: Failed to load resource
There were 4 root causes:
java.io.IOException(File unsuitable for memory mapping)
java.lang.RuntimeException(setDataSource failed: status = 0xFFFFFFEA)
java.io.IOException(File unsuitable for memory mapping)
java.lang.RuntimeException(setDataSource failed: status = 0xFFFFFFEA)
call GlideException#logRootCauses(String) for more detail

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.