-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
NPE recycling null Bitmap #212
Comments
sjudd
added a commit
to sjudd/glide
that referenced
this issue
Oct 23, 2014
Adds assertions for bumptech#212.
sjudd
added a commit
to sjudd/glide
that referenced
this issue
Oct 23, 2014
More work toward bumptech#212.
I believe the earlier commits fixed the recycling problem and have revealed the underlying cause. When the drawable is stopped and then started again while a frame is being decoded (via start/stop or setVisible), the decoder is advanced and a second frame decode may be started simultaneously using the same GifDecoder, resulting in the error below.
|
sjudd
added a commit
to sjudd/glide
that referenced
this issue
Oct 26, 2014
Progress toward bumptech#212.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Internal bug is b/18093433.
Not totally clear how this would happen, I'll start by adding assertions that data is not null when resources are created.
The text was updated successfully, but these errors were encountered: