Skip to content
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

IllegalStateException: Already released #2696

Closed
gemiren opened this issue Dec 8, 2017 · 2 comments
Closed

IllegalStateException: Already released #2696

gemiren opened this issue Dec 8, 2017 · 2 comments

Comments

@gemiren
Copy link

gemiren commented Dec 8, 2017

Glide Version: 4.4

Integration libraries:

Device/Android Version:

Issue details / Repro steps / Use case background:

Glide load line / GlideModule (if any) / list Adapter code (if any):

Glide.with...

Layout XML:

<FrameLayout xmlns:android="...

Stack trace / LogCat:

java.lang.IllegalStateException: Already released
at com.bumptech.glide.util.pool.StateVerifier$DefaultStateVerifier.throwIfRecycled(StateVerifier.java:44)
at com.bumptech.glide.request.SingleRequest.onResourceReady(SingleRequest.java:518)
at com.bumptech.glide.load.engine.EngineJob.handleResultOnMainThread(EngineJob.java:217)
at com.bumptech.glide.load.engine.EngineJob$MainThreadCallback.handleMessage(EngineJob.java:322)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6247)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:872)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)

How can I catch this exception instead of letting it crash my app? Thanks.

@sjudd
Copy link
Collaborator

sjudd commented Dec 8, 2017

I'm not sure there's any way for you to catch this. Are you able to reproduce it? If so, can you tell me how? Or provide a sample app that reproduces the issue?

@sjudd
Copy link
Collaborator

sjudd commented Dec 11, 2017

Duplicate of #2689

@sjudd sjudd marked this as a duplicate of #2689 Dec 11, 2017
@sjudd sjudd closed this as completed Dec 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
@sjudd @gemiren and others