bumptech / bumptech/glide

when would Exception in the RequestListener.onException(Exception e, Object model, Target<Drawable> target, boolean isFirstResource) be null?

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

Description

hi guys, i used glide 3.8.0 snap-shot,and my app got on line, recently some users told that after used the app for a while, the images in the app didn't show. so i get some logs from these users. i found that there are lots of fails , and the RequestListener.onException was called, but what makes me confused is that the param Exception e in the method RequestListener.onException is null...but i didn't write in my own code that pass a null exception in the RequestListener.onException, so what would cause glide return a null exception or on what circumstances would a null exception would be passed? why failed without information?

i really need a nonnull exception to solve the problem.and i really don't know how to fix this, any help would be appreciate! Thanks!

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Begin at RequestListener.onException(Exception e, Object model, Target target, boolean isFirstResource) and trace the failure path and callers; done means identifying when the Exception argument can be null and what failure information is available.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.