Glide Not Loaded in Android 7
- Dominant language
- Java
- Stars
- 35k
- Forks
- 6.2k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 8
Description
**Glide Version**: 4.10.0
**Integration libraries**: NO
**Device/Android Version**:
**Issue details / Repro steps / Use case background**:
**Glide load line / `GlideModule` (if any) / list Adapter code (if any)**:
```java
Glide.with(context)
.load(dest_url)
.listener(new RequestListener() {
@Override
public boolean onLoadFailed(@Nullable GlideException e, Object model, Target target, boolean isFirstResource) {
Log.d("GreetingCArd", "onLoadFailed "+e.getCauses());
holder.progressBar.setVisibility(View.GONE);
holder.icon.setVisibility(View.GONE);
holder.error.setVisibility(View.VISIBLE);
return false;
}
@Override
public boolean onResourceReady(Drawable resource, Object model, Target target, DataSource dataSource, boolean isFirstResource) {
Log.d("GreetingCArd", "onResourceReady");
holder.progressBar.setVisibility(View.GONE);
holder.icon.setVisibility(View.VISIBLE);
return false;
}
})
.error(R.drawable.ic_image_not_found)
.into(holder.icon);
```
**Layout XML**:
```xml
```
**Stack trace / LogCat**:
```ruby
Load failed for https://hpwebmart.com/software/uploads/greetings/card-622eec43bf9b2-1647242307.87.jpg with size [684x1280]
class com.bumptech.glide.load.engine.GlideException: Failed to load resource
There was 1 cause:
javax.net.ssl.SSLHandshakeException(java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.)
call GlideException#logRootCauses(String) for more detail
Cause (1 of 1): class com.bumptech.glide.load.engine.GlideException: Fetching data failed, class java.io.InputStream, REMOTE
There was 1 cause:
javax.net.ssl.SSLHandshakeException(java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.)
call GlideException#logRootCauses(String) for more detail
Cause (1 of 1): class com.bumptech.glide.load.engine.GlideException: Fetch failed
There was 1 cause:
javax.net.ssl.SSLHandshakeException(java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.)
call GlideException#logRootCauses(String) for more detail
Cause (1 of 1): class javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
```
Contributor guide
Assessment
This issue has not been assessed yet.