无法将缓存/日志重命名为cache / journal.bkp

时间:2015-11-25 14:14:49

标签: android caching okhttp threadpoolexecutor

我刚从HockeyApp收到此崩溃报告。

java.lang.RuntimeException: java.io.IOException: failed to rename /data/data/com.company.app/cache/journal to /data/data/com.company.app/cache/journal.bkp
    at com.squareup.okhttp.internal.DiskLruCache$1.run(DiskLruCache.java:181)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    at java.lang.Thread.run(Thread.java:818)
Caused by: java.io.IOException: failed to rename /data/data/com.company.app/cache/journal to /data/data/com.company.app/cache/journal.bkp
    at com.squareup.okhttp.internal.io.FileSystem$1.rename(FileSystem.java:85)
    at com.squareup.okhttp.internal.DiskLruCache.rebuildJournal(DiskLruCache.java:408)
    at com.squareup.okhttp.internal.DiskLruCache.access$400(DiskLruCache.java:88)
    at com.squareup.okhttp.internal.DiskLruCache$1.run(DiskLruCache.java:177)
    ... 3 more

0 个答案:

没有答案