Redis exception while disabling LuckPerms Bungee
neziw opened this issue ยท 0 comments
Description
[16:42:37 INFO]: Closing listener [id: 0xdf741741, L:/[0:0:0:0:0:0:0:0%0]:25565]
[16:42:37 INFO]: Closing pending connections
[16:42:37 INFO]: Disconnecting 0 connections
[16:42:37 INFO]: Saving reconnect locations
[16:42:37 INFO]: Disabling plugins
[16:42:37 INFO] [LiteBans]: litebans-pool - Shutdown initiated...
[16:42:37 INFO] [LiteBans]: litebans-pool - Shutdown completed.
[16:42:37 INFO] [LiteBans]: v2.12.4 disabled.
[16:42:37 INFO]: DBA | Shutting Down DB Connections!
[16:42:37 INFO] [LuckPerms]: Starting shutdown process...
[16:42:37 INFO] [LuckPerms]: Closing messaging service...
[16:42:37 INFO] [LuckPerms]: Closing storage...
[16:42:37 INFO] [me.lucko.luckperms.lib.hikari.HikariDataSource]: luckperms-hikari - Shutdown initiated...
[16:42:37 INFO] [me.lucko.luckperms.lib.hikari.HikariDataSource]: luckperms-hikari - Shutdown completed.
[16:42:37 INFO] [LuckPerms]: Goodbye!
[16:42:37 INFO] [RedisBungee]: Turning off redis connections.....
[16:42:37 ERROR]: Task BungeeTask(sched=net.md_5.bungee.scheduler.BungeeScheduler@3c7cfcbb, id=18, owner=me.lucko.luckperms.bungee.loader.BungeeLoaderPlugin@65bb9029, task=me.lucko.luckperms.common.messaging.redis.RedisMessenger$Subscription@38a38ed4, delay=0, period=0, running=false) encountered an exception
java.lang.NoClassDefFoundError: me/lucko/luckperms/lib/commonspool2/DestroyMode
at me.lucko.luckperms.lib.commonspool2.impl.GenericObjectPool.returnObject(GenericObjectPool.java:582) ~[?:?]
at me.lucko.luckperms.lib.jedis.util.Pool.returnResource(Pool.java:51) ~[?:?]
at me.lucko.luckperms.lib.jedis.Connection.close(Connection.java:223) ~[?:?]
at me.lucko.luckperms.lib.jedis.UnifiedJedis.subscribe(UnifiedJedis.java:3540) ~[?:?]
at me.lucko.luckperms.common.messaging.redis.RedisMessenger$Subscription.run(RedisMessenger.java:125) ~[?:?]
at net.md_5.bungee.scheduler.BungeeTask.run(BungeeTask.java:66) ~[waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:ec41547:536]
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) [?:?]
Caused by: java.lang.ClassNotFoundException: me.lucko.luckperms.lib.commonspool2.DestroyMode
at java.net.URLClassLoader.findClass(URLClassLoader.java:445) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:592) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?]
... 9 more
[16:42:38 INFO] [RedisBungee]: RedisBungee shutdown
[16:42:38 INFO]: Closing IO threads
[16:42:40 INFO]: Thank you and goodbye
Reproduction Steps
- Set message broker to Redis in luckperms bungee
- Launch bungeecord server
- Shutdown server
- We got exception
Expected Behaviour
We shouldn't get exception when luckperms is in shutdown state
Server Details
git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:ec41547:536
LuckPerms Version
v5.4.102
Logs and Configs
No response
Extra Details
No response