GeyserMC / GeyserDiscordBot

A bot for the GeyserMC Discord server
https://geysermc.org
MIT License
22 stars 42 forks source link

RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@277bf091[Not completed,... #309

Open sentry-io[bot] opened 7 months ago

sentry-io[bot] commented 7 months ago

Sentry Issue: GEYSERDISCORDBOT-7X

RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@277bf091[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@6eb17ec8[Wrapped task = org.geysermc.discordbot.updates.UpdateManager$$Lambda$434/0x00007fb24b3b95f8@730f9695]] rejected from java.util.concurrent.ScheduledThreadPoolExecutor@fab35b1[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
    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 org.geysermc.discordbot.updates.UpdateManager.setup(UpdateManager.java:63)
    GeyserBot.getGeneralThreadPool().scheduleAtFixedRate(UpdateManager::doUpdates, 60L, 60L, TimeUnit.SECONDS);
...
(1 additional frame(s) were not displayed)