[X] I'm using the very latest version of ItemsAdder and its dependencies.
[X] I already searched on this Github page to check if the same issue was already reported.
[X] I already searched on the plugin wiki to know if a solution is already known.
[X] I already asked on the #💬ia-community-help channel on Discord to know if anyone already has a solution for the issue.
Discord tag (optional)
Woody#7574
What happened?
Hello!
After updating the plugin (sort of).
The beginning of spamming an error in the console, just don't spam all the time, only when the plugin works for a couple of minutes, and then it starts spamming an error...
And also after this error, different furniture (furniture plus free) stop working normally. They display an object in the air...
Steps to reproduce the issue
I don't know :D
Server version
This server is running Airplane version git-Airplane-"74774a0" (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: 74774a0 on ver/1.17)
[18:46:18] [Server thread/ERROR]: Could not pass event PlayerArmSwingEvent to ItemsAdder v3.0.2
java.lang.NullPointerException: Cannot invoke "org.bukkit.Sound.getKey()" because "sound" is null
at org.bukkit.craftbukkit.v1_17_R1.entity.CraftPlayer.stopSound(CraftPlayer.java:792) ~[patched_1.17.1.jar:git-Airplane-"74774a0"]
at dev.lone.itemsadder.main.iO.b(SourceFile:33) ~[ItemsAdder_3.0.2.jar:?]
at dev.lone.itemsadder.main.cg.b(SourceFile:69) ~[ItemsAdder_3.0.2.jar:?]
at dev.lone.itemsadder.main.dg.a(SourceFile:209) ~[ItemsAdder_3.0.2.jar:?]
at dev.lone.itemsadder.main.dg.c(SourceFile:288) ~[ItemsAdder_3.0.2.jar:?]
at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:37) ~[patched_1.17.1.jar:git-Airplane-"74774a0"]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[patched_1.17.1.jar:git-Airplane-"74774a0"]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.17.1.jar:git-Airplane-"74774a0"]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[patched_1.17.1.jar:git-Airplane-"74774a0"]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleAnimate(ServerGamePacketListenerImpl.java:2305) ~[app:?]
at net.minecraft.network.protocol.game.ServerboundSwingPacket.handle(ServerboundSwingPacket.java:25) ~[app:?]
at net.minecraft.network.protocol.game.ServerboundSwingPacket.handle(ServerboundSwingPacket.java:7) ~[app:?]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:56) ~[app:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[patched_1.17.1.jar:git-Airplane-"74774a0"]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:149) ~[app:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) ~[app:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1426) ~[patched_1.17.1.jar:git-Airplane-"74774a0"]
at net.minecraft.server.MinecraftServer.executeTask(MinecraftServer.java:192) ~[patched_1.17.1.jar:git-Airplane-"74774a0"]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:122) ~[app:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1404) ~[patched_1.17.1.jar:git-Airplane-"74774a0"]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1397) ~[patched_1.17.1.jar:git-Airplane-"74774a0"]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:132) ~[app:?]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1475) ~[patched_1.17.1.jar:git-Airplane-"74774a0"]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1282) ~[patched_1.17.1.jar:git-Airplane-"74774a0"]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Airplane-"74774a0"]
at java.lang.Thread.run(Thread.java:831) ~[?:?]
[18:46:18] [Craft Scheduler Thread - 35 - ItemsAdder/WARN]: [ItemsAdder] Plugin ItemsAdder v3.0.2 generated an exception while executing task 42647
java.lang.NullPointerException: Cannot invoke "org.bukkit.Sound.getKey()" because "sound" is null
at org.bukkit.craftbukkit.v1_17_R1.entity.CraftPlayer.stopSound(CraftPlayer.java:792) ~[patched_1.17.1.jar:git-Airplane-"74774a0"]
at dev.lone.itemsadder.main.iO.a(SourceFile:30) ~[ItemsAdder_3.0.2.jar:?]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[patched_1.17.1.jar:git-Airplane-"74774a0"]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[patched_1.17.1.jar:git-Airplane-"74774a0"]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.17.1.jar:git-Airplane-"74774a0"]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
at java.lang.Thread.run(Thread.java:831) ~[?:?]
Terms
Discord tag (optional)
Woody#7574
What happened?
Hello! After updating the plugin (sort of).
The beginning of spamming an error in the console, just don't spam all the time, only when the plugin works for a couple of minutes, and then it starts spamming an error...
And also after this error, different furniture (furniture plus free) stop working normally. They display an object in the air...
Steps to reproduce the issue
Server version
This server is running Airplane version git-Airplane-"74774a0" (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: 74774a0 on ver/1.17)
ItemsAdder Version
ItemsAdder version 3.0.2
ProtocolLib Version
ProtocolLib version 4.7.0
LoneLibs Version
LoneLibs version 1.0.18
LightAPI Version (optional)
LightAPI version bukkit-5.1.0 (build SNAPSHOT)
LibsDisguises Version (optional)
LibsDisguises version 10.0.27-SNAPSHOT
FULL server log
2022-03-08-4.log
Error (optional)
ItemsAdder config.yml
Problematic items yml configuration file (optional)
No response
Other files, you can drag and drop them here to upload. (optional)
No response
Screenshots/Videos (you can drag and drop files or paste links)
No response