CreeperHost / FTB-Backups-2

7 stars 8 forks source link

1.0.6 RejectedExecutionException when joining world again #11

Closed GoTBrainstorm closed 2 years ago

GoTBrainstorm commented 2 years ago

Steps to reproduce in the Curseforge launcher:

1.0.5 does not have this issue.

java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@1f1862d9[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@370bb871[Wrapped task = net.creeperhost.ftbbackups.BackupHandler$$Lambda$7795/0x00000008010886b8@7e94a74d]] rejected from java.util.concurrent.ScheduledThreadPoolExecutor@7d6c4ccb[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 1]
    at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2065) ~[?:?] {}
    at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:833) ~[?:?] {}
    at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:340) ~[?:?] {}
    at java.util.concurrent.ScheduledThreadPoolExecutor.scheduleAtFixedRate(ScheduledThreadPoolExecutor.java:632) ~[?:?] {}
    at net.creeperhost.ftbbackups.BackupHandler.init(BackupHandler.java:58) ~[ftbbackups2-forge-1.18.2-1.0.6.jar%2353!/:?] {re:classloading}
    at net.creeperhost.ftbbackups.FTBBackups.serverStartedEvent(FTBBackups.java:57) ~[ftbbackups2-forge-1.18.2-1.0.6.jar%2353!/:?] {re:classloading}
    at dev.architectury.event.forge.EventHandlerImplCommon.event(EventHandlerImplCommon.java:91) ~[architectury-4.4.61.jar%2352!/:?] {re:classloading}
    at net.minecraftforge.eventbus.ASMEventHandler_75_EventHandlerImplCommon_event_ServerStartedEvent.invoke(.dynamic) ~[?:?] {}
    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-5.0.3.jar%232!/:?] {}
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!/:?] {}
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!/:?] {}
    at net.minecraftforge.server.ServerLifecycleHooks.handleServerStarted(ServerLifecycleHooks.java:99) ~[forge-1.18.2-40.1.25-universal.jar%2358!/:?] {re:classloading}
    at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:662) ~[client-1.18.2-20220404.173914-srg.jar%2354!/:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:261) ~[client-1.18.2-20220404.173914-srg.jar%2354!/:?] {re:classloading,pl:accesstransformer:B}
    at java.lang.Thread.run(Thread.java:833) [?:?] {}
gigabit101 commented 2 years ago

Fixed in 1.0.7