java.lang.IllegalStateException: cache is closed

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.IllegalStateException: cache is closed
at com.android.okhttp.internal.DiskLruCache.checkNotClosed(DiskLruCache.java:631)
at com.android.okhttp.internal.DiskLruCache.remove(DiskLruCache.java:595)
at com.android.okhttp.Cache.remove(Cache.java:244)
at com.android.okhttp.Cache.put(Cache.java:211)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.