
Occasional error with the concurrent save mechanism when shutting down server
The-Fireplace opened this issue ยท 0 comments
To Reproduce
- Do something that will need saving. For instance, messing with squads in Overlord
- Shut down server/singleplayer immediately after
Logs/Screenshots/Videos
[16:01:00] [pool-2-thread-10/ERROR] (FabricLoader) Uncaught exception in thread "pool-2-thread-10"
java.util.concurrent.RejectedExecutionException: Task dev.the_fireplace.lib.lazyio.SaveDataStateManagerImpl$$Lambda$7246/0x0000000801b53960@1eb3090b rejected from java.util.concurrent.ThreadPoolExecutor@5bb194b9[Shutting down, pool size = 9, active threads = 2, queued tasks = 0, completed tasks = 9]
at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2065) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:833) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1365) ~[?:?]
at dev.the_fireplace.lib.multithreading.ConcurrentExecutionManager.run(ConcurrentExecutionManager.java:31) ~[Fireplace-Lib-6.2.2+1.18.jar:?]
at dev.the_fireplace.lib.lazyio.SaveDataStateManagerImpl.forceSave(SaveDataStateManagerImpl.java:94) ~[Fireplace-Lib-6.2.2+1.18.jar:?]
at dev.the_fireplace.lib.lazyio.SaveDataStateManagerImpl.save(SaveDataStateManagerImpl.java:80) ~[Fireplace-Lib-6.2.2+1.18.jar:?]
at dev.the_fireplace.lib.lazyio.SaveDataStateManagerImpl.lambda$initializeWithAutosave$0(SaveDataStateManagerImpl.java:45) ~[Fireplace-Lib-6.2.2+1.18.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
Versions (please complete the following information, do NOT say "latest"):
- Minecraft: 1.14-1.18.1
- Mod Version: 6.2.2