Crash during journal file rename
See original GitHub issueGet this crash from one of the users
Device: Samsung Galaxy Note 4 Retrofit: v1.9 okhttp: v2.6.0
Fatal Exception: java.lang.RuntimeException: java.io.IOException: failed to rename /data/data/com.bandlab.bandlab/cache/journal.tmp to /data/data/com.bandlab.bandlab/cache/journal
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.bandlab.bandlab/cache/journal.tmp to /data/data/com.bandlab.bandlab/cache/journal
at com.squareup.okhttp.internal.io.FileSystem$1.rename(FileSystem.java:85)
at com.squareup.okhttp.internal.DiskLruCache.rebuildJournal(DiskLruCache.java:409)
at com.squareup.okhttp.internal.DiskLruCache.access$400(DiskLruCache.java:88)
at com.squareup.okhttp.internal.DiskLruCache$1.run(DiskLruCache.java:177)
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)
Issue Analytics
- State:
- Created 8 years ago
- Comments:16 (1 by maintainers)
Top Results From Across the Web
crash - Can the filesystem become inconsistent if interrupted ...
The rename operation is very fast on any filesystem, so it is unlikely to be interrupted, but on a classical filesystem it certainly...
Read more >Rename isn't quite an atomic replacement. If you crash before ...
Rename isn't quite an atomic replacement. If you crash before the rename, the new file hangs around. (Hence unwanted . part files.)
Read more >VS 2022 crash on file rename in Solution Explorer
After one build, run and stop project, and then renaming file in Solution Explorer - VS displays a waiting notification and is waiting,...
Read more >Crash occurs when modifying elements in Revit
Issue: Users reported that a crash with CER occurs when modifying elements in in Revit. Journal file may includes lines similar to:
Read more >Can't Rename a Level without crashing the file - AUGI Forums
I have a project that we started in Revit 4 or 5 now we are using 7 so now I have one level...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
And in 3.11.0
Fixed in OkHttp 3.3, coming soon.