This plugin is not properly shutting down its async tasks when it is being shut down
iambeingtracked opened this issue ยท 0 comments
This issue is not solved in a development build
Describe the bug
When shutting the server down it throws this error:
[06:54:37 ERROR]: Nag author(s): '[dmulloy2, comphenix]' of 'ProtocolLib v5.2.0-SNAPSHOT-679' about the following: This plugin is not properly shutting down its async tasks when it is being shut down. This task may throw errors during the final shutdown logs and might not complete before process dies.
[06:54:37 ERROR]: Protocol Worker #1 - FastLogin - [recv: ENCRYPTION_BEGIN[class=PacketLoginInEncryptionBegin, id=1], START[class=PacketLoginInStart, id=0], send: ] Stacktrace
[06:54:37 ERROR]: [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
[06:54:37 ERROR]: [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
[06:54:37 ERROR]: [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
[06:54:37 ERROR]: [email protected]/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3463)
[06:54:37 ERROR]: [email protected]/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3434)
[06:54:37 ERROR]: [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
[06:54:37 ERROR]: [email protected]/java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:420)
[06:54:37 ERROR]: ProtocolLib.jar//com.comphenix.protocol.async.AsyncListenerHandler.listenerLoop(AsyncListenerHandler.java:559)
[06:54:37 ERROR]: ProtocolLib.jar//com.comphenix.protocol.async.AsyncListenerHandler.access$100(AsyncListenerHandler.java:49)
[06:54:37 ERROR]: ProtocolLib.jar//com.comphenix.protocol.async.AsyncListenerHandler$1.run(AsyncListenerHandler.java:221)
[06:54:37 ERROR]: ProtocolLib.jar//com.comphenix.protocol.async.AsyncListenerHandler.lambda$start$1(AsyncListenerHandler.java:290)
[06:54:37 ERROR]: ProtocolLib.jar//com.comphenix.protocol.async.AsyncListenerHandler$$Lambda$8676/0x0000000802305f90.run(Unknown Source)
[06:54:37 ERROR]: org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:101)
[06:54:37 ERROR]: org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
[06:54:37 ERROR]: com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[06:54:37 ERROR]: [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[06:54:37 ERROR]: [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[06:54:37 ERROR]: [email protected]/java.lang.Thread.run(Thread.java:833)
[06:54:37 ERROR]: Nag author(s): '[dmulloy2, comphenix]' of 'ProtocolLib v5.2.0-SNAPSHOT-679' about the following: This plugin is not properly shutting down its async tasks when it is being shut down. This task may throw errors during the final shutdown logs and might not complete before process dies.
[06:54:37 ERROR]: Protocol Worker #2 - FastLogin - [recv: ENCRYPTION_BEGIN[class=PacketLoginInEncryptionBegin, id=1], START[class=PacketLoginInStart, id=0], send: ] Stacktrace
[06:54:37 ERROR]: [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
[06:54:37 ERROR]: [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
[06:54:37 ERROR]: [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
[06:54:37 ERROR]: [email protected]/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3463)
[06:54:37 ERROR]: [email protected]/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3434)
[06:54:37 ERROR]: [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
[06:54:37 ERROR]: [email protected]/java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:420)
[06:54:37 ERROR]: ProtocolLib.jar//com.comphenix.protocol.async.AsyncListenerHandler.listenerLoop(AsyncListenerHandler.java:559)
[06:54:37 ERROR]: ProtocolLib.jar//com.comphenix.protocol.async.AsyncListenerHandler.access$100(AsyncListenerHandler.java:49)
[06:54:37 ERROR]: ProtocolLib.jar//com.comphenix.protocol.async.AsyncListenerHandler$1.run(AsyncListenerHandler.java:221)
[06:54:37 ERROR]: ProtocolLib.jar//com.comphenix.protocol.async.AsyncListenerHandler.lambda$start$1(AsyncListenerHandler.java:290)
[06:54:37 ERROR]: ProtocolLib.jar//com.comphenix.protocol.async.AsyncListenerHandler$$Lambda$8676/0x0000000802305f90.run(Unknown Source)
[06:54:37 ERROR]: org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:101)
[06:54:37 ERROR]: org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
[06:54:37 ERROR]: com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[06:54:37 ERROR]: [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[06:54:37 ERROR]: [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[06:54:37 ERROR]: [email protected]/java.lang.Thread.run(Thread.java:833)
[06:54:37 ERROR]: Nag author(s): '[dmulloy2, comphenix]' of 'ProtocolLib v5.2.0-SNAPSHOT-679' about the following: This plugin is not properly shutting down its async tasks when it is being shut down. This task may throw errors during the final shutdown logs and might not complete before process dies.
[06:54:37 ERROR]: Protocol Worker #3 - FastLogin - [recv: ENCRYPTION_BEGIN[class=PacketLoginInEncryptionBegin, id=1], START[class=PacketLoginInStart, id=0], send: ] Stacktrace
[06:54:37 ERROR]: [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
[06:54:37 ERROR]: [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
[06:54:37 ERROR]: [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
[06:54:37 ERROR]: [email protected]/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3463)
[06:54:37 ERROR]: [email protected]/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3434)
[06:54:37 ERROR]: [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
[06:54:37 ERROR]: [email protected]/java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:420)
[06:54:37 ERROR]: ProtocolLib.jar//com.comphenix.protocol.async.AsyncListenerHandler.listenerLoop(AsyncListenerHandler.java:559)
[06:54:37 ERROR]: ProtocolLib.jar//com.comphenix.protocol.async.AsyncListenerHandler.access$100(AsyncListenerHandler.java:49)
[06:54:37 ERROR]: ProtocolLib.jar//com.comphenix.protocol.async.AsyncListenerHandler$1.run(AsyncListenerHandler.java:221)
[06:54:37 ERROR]: ProtocolLib.jar//com.comphenix.protocol.async.AsyncListenerHandler.lambda$start$1(AsyncListenerHandler.java:290)
[06:54:37 ERROR]: ProtocolLib.jar//com.comphenix.protocol.async.AsyncListenerHandler$$Lambda$8676/0x0000000802305f90.run(Unknown Source)
[06:54:37 ERROR]: org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:101)
[06:54:37 ERROR]: org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
[06:54:37 ERROR]: com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[06:54:37 ERROR]: [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[06:54:37 ERROR]: [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[06:54:37 ERROR]: [email protected]/java.lang.Thread.run(Thread.java:833)
To Reproduce
Steps to reproduce the behavior:
- Install ProtocolLib (679), AuthMe Reloaded (5.6.0-beta2) and SuperVanish (6.2.18)
- Launch Pufferfish (get the latest version, it doesn't matter much and I update it)
- Shut down
- See the error
Expected behavior
It shouldn't do that and also the log told me to nag authors
Screenshots
If applicable, add screenshots to help explain your problem.
not applicable
Version Info
https://files.wherelinux.xyz/dump-2024-02-22_07.10.55.txt
Additional context
Add any other context about the problem here.
It seems to work fine but I thought that something may be wrong.