Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InventoryClickEvent to BentoBox v3.2.4-SNAPSHOT-b2813 #2600

Open
IAISI opened this issue Jan 18, 2025 · 0 comments
Open

InventoryClickEvent to BentoBox v3.2.4-SNAPSHOT-b2813 #2600

IAISI opened this issue Jan 18, 2025 · 0 comments

Comments

@IAISI
Copy link

IAISI commented Jan 18, 2025

Expected behavior

Not sure, details in steps to reproduce.

Observed/Actual behavior

[03:32:09] [Server thread/ERROR]: Could not pass event InventoryClickEvent to BentoBox v3.2.4-SNAPSHOT-b2813
java.lang.NullPointerException: Cannot invoke "world.bentobox.bentobox.BentoBox.getIWM()" because "this.plugin" is null
	at BentoBox.jar/world.bentobox.bentobox.api.flags.clicklisteners.CycleClick.onClick(CycleClick.java:76) ~[BentoBox.jar:?]
	at BentoBox.jar/world.bentobox.bentobox.listeners.PanelListenerManager.lambda$onInventoryClick$0(PanelListenerManager.java:56) ~[BentoBox.jar:?]
	at java.base/java.util.Optional.ifPresent(Optional.java:178) ~[?:?]
	at BentoBox.jar/world.bentobox.bentobox.listeners.PanelListenerManager.onInventoryClick(PanelListenerManager.java:54) ~[BentoBox.jar:?]
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
	at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.handleContainerClick(ServerGamePacketListenerImpl.java:3188) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:69) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:14) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:29) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:155) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1448) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:176) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:129) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1428) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1422) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:139) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.MinecraftServer.managedBlock(MinecraftServer.java:1379) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1387) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1264) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:310) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
[03:32:09] [Server thread/WARN]: com.destroystokyo.paper.exception.ServerEventException: Could not pass event InventoryClickEvent to BentoBox v3.2.4-SNAPSHOT-b2813
[03:32:09] [Server thread/WARN]: 	at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:72)
[03:32:09] [Server thread/WARN]: 	at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131)
[03:32:09] [Server thread/WARN]: 	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.network.ServerGamePacketListenerImpl.handleContainerClick(ServerGamePacketListenerImpl.java:3188)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:69)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:14)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:29)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.TickTask.run(TickTask.java:18)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:155)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1448)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:176)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:129)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1428)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1422)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:139)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.managedBlock(MinecraftServer.java:1379)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1387)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1264)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:310)
[03:32:09] [Server thread/WARN]: 	at java.base/java.lang.Thread.run(Thread.java:1583)
[03:32:09] [Server thread/WARN]: Caused by: java.lang.NullPointerException: Cannot invoke "world.bentobox.bentobox.BentoBox.getIWM()" because "this.plugin" is null
[03:32:09] [Server thread/WARN]: 	at BentoBox.jar//world.bentobox.bentobox.api.flags.clicklisteners.CycleClick.onClick(CycleClick.java:76)
[03:32:09] [Server thread/WARN]: 	at BentoBox.jar//world.bentobox.bentobox.listeners.PanelListenerManager.lambda$onInventoryClick$0(PanelListenerManager.java:56)
[03:32:09] [Server thread/WARN]: 	at java.base/java.util.Optional.ifPresent(Optional.java:178)
[03:32:09] [Server thread/WARN]: 	at BentoBox.jar//world.bentobox.bentobox.listeners.PanelListenerManager.onInventoryClick(PanelListenerManager.java:54)
[03:32:09] [Server thread/WARN]: 	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[03:32:09] [Server thread/WARN]: 	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[03:32:09] [Server thread/WARN]: 	at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54)
[03:32:09] [Server thread/WARN]: 	... 20 more
[03:32:09] [Server thread/ERROR]: Could not pass event InventoryClickEvent to BentoBox v3.2.4-SNAPSHOT-b2813
java.lang.NullPointerException: Cannot invoke "world.bentobox.bentobox.BentoBox.getIWM()" because "this.plugin" is null
	at BentoBox.jar/world.bentobox.bentobox.api.flags.clicklisteners.CycleClick.onClick(CycleClick.java:76) ~[BentoBox.jar:?]
	at BentoBox.jar/world.bentobox.bentobox.listeners.PanelListenerManager.lambda$onInventoryClick$0(PanelListenerManager.java:56) ~[BentoBox.jar:?]
	at java.base/java.util.Optional.ifPresent(Optional.java:178) ~[?:?]
	at BentoBox.jar/world.bentobox.bentobox.listeners.PanelListenerManager.onInventoryClick(PanelListenerManager.java:54) ~[BentoBox.jar:?]
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
	at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.handleContainerClick(ServerGamePacketListenerImpl.java:3188) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:69) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:14) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:29) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:155) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1448) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:176) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:129) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1428) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1422) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:139) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.MinecraftServer.managedBlock(MinecraftServer.java:1379) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1387) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1264) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:310) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
[03:32:09] [Server thread/WARN]: com.destroystokyo.paper.exception.ServerEventException: Could not pass event InventoryClickEvent to BentoBox v3.2.4-SNAPSHOT-b2813
[03:32:09] [Server thread/WARN]: 	at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:72)
[03:32:09] [Server thread/WARN]: 	at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131)
[03:32:09] [Server thread/WARN]: 	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.network.ServerGamePacketListenerImpl.handleContainerClick(ServerGamePacketListenerImpl.java:3188)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:69)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:14)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:29)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.TickTask.run(TickTask.java:18)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:155)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1448)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:176)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:129)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1428)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1422)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:139)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.managedBlock(MinecraftServer.java:1379)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1387)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1264)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:310)
[03:32:09] [Server thread/WARN]: 	at java.base/java.lang.Thread.run(Thread.java:1583)
[03:32:09] [Server thread/WARN]: Caused by: java.lang.NullPointerException: Cannot invoke "world.bentobox.bentobox.BentoBox.getIWM()" because "this.plugin" is null
[03:32:09] [Server thread/WARN]: 	at BentoBox.jar//world.bentobox.bentobox.api.flags.clicklisteners.CycleClick.onClick(CycleClick.java:76)
[03:32:09] [Server thread/WARN]: 	at BentoBox.jar//world.bentobox.bentobox.listeners.PanelListenerManager.lambda$onInventoryClick$0(PanelListenerManager.java:56)
[03:32:09] [Server thread/WARN]: 	at java.base/java.util.Optional.ifPresent(Optional.java:178)
[03:32:09] [Server thread/WARN]: 	at BentoBox.jar//world.bentobox.bentobox.listeners.PanelListenerManager.onInventoryClick(PanelListenerManager.java:54)
[03:32:09] [Server thread/WARN]: 	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[03:32:09] [Server thread/WARN]: 	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[03:32:09] [Server thread/WARN]: 	at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54)
[03:32:09] [Server thread/WARN]: 	... 20 more
[03:32:09] [Server thread/ERROR]: Could not pass event InventoryClickEvent to BentoBox v3.2.4-SNAPSHOT-b2813
java.lang.NullPointerException: Cannot invoke "world.bentobox.bentobox.BentoBox.getIWM()" because "this.plugin" is null
	at BentoBox.jar/world.bentobox.bentobox.api.flags.clicklisteners.CycleClick.onClick(CycleClick.java:76) ~[BentoBox.jar:?]
	at BentoBox.jar/world.bentobox.bentobox.listeners.PanelListenerManager.lambda$onInventoryClick$0(PanelListenerManager.java:56) ~[BentoBox.jar:?]
	at java.base/java.util.Optional.ifPresent(Optional.java:178) ~[?:?]
	at BentoBox.jar/world.bentobox.bentobox.listeners.PanelListenerManager.onInventoryClick(PanelListenerManager.java:54) ~[BentoBox.jar:?]
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
	at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.handleContainerClick(ServerGamePacketListenerImpl.java:3188) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:69) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:14) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:29) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:155) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1448) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:176) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:129) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1428) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1422) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:139) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.MinecraftServer.managedBlock(MinecraftServer.java:1379) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1387) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1264) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:310) ~[paper-1.21.4.jar:1.21.4-114-cd9d6d6]
	at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
[03:32:09] [Server thread/WARN]: com.destroystokyo.paper.exception.ServerEventException: Could not pass event InventoryClickEvent to BentoBox v3.2.4-SNAPSHOT-b2813
[03:32:09] [Server thread/WARN]: 	at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:72)
[03:32:09] [Server thread/WARN]: 	at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131)
[03:32:09] [Server thread/WARN]: 	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.network.ServerGamePacketListenerImpl.handleContainerClick(ServerGamePacketListenerImpl.java:3188)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:69)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:14)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:29)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.TickTask.run(TickTask.java:18)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:155)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1448)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:176)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:129)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1428)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1422)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:139)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.managedBlock(MinecraftServer.java:1379)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1387)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1264)
[03:32:09] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:310)
[03:32:09] [Server thread/WARN]: 	at java.base/java.lang.Thread.run(Thread.java:1583)
[03:32:09] [Server thread/WARN]: Caused by: java.lang.NullPointerException: Cannot invoke "world.bentobox.bentobox.BentoBox.getIWM()" because "this.plugin" is null
[03:32:09] [Server thread/WARN]: 	at BentoBox.jar//world.bentobox.bentobox.api.flags.clicklisteners.CycleClick.onClick(CycleClick.java:76)
[03:32:09] [Server thread/WARN]: 	at BentoBox.jar//world.bentobox.bentobox.listeners.PanelListenerManager.lambda$onInventoryClick$0(PanelListenerManager.java:56)
[03:32:09] [Server thread/WARN]: 	at java.base/java.util.Optional.ifPresent(Optional.java:178)
[03:32:09] [Server thread/WARN]: 	at BentoBox.jar//world.bentobox.bentobox.listeners.PanelListenerManager.onInventoryClick(PanelListenerManager.java:54)
[03:32:09] [Server thread/WARN]: 	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[03:32:09] [Server thread/WARN]: 	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[03:32:09] [Server thread/WARN]: 	at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54)
[03:32:09] [Server thread/WARN]: 	... 20 more

Steps/models to reproduce

Unsure, looking at the logs, 2 players executed /is controlpanel about 30 seconds before exceptions...

We use custom logging plugin, we log coordinates and worlds for every cmd executed and each time /is controlpanel was executed player was in bskyblock_world world.

In this case

protected final BentoBox plugin = BentoBox.getInstance();
was null? Which also shouldn't be possible?

Unless this could be somehow caused by custom flags registered by other plugins via BentoBox API?

BentoBox version

bbox ver
[03:38:50 INFO]: Running PAPER 1.21.4.
[03:38:50 INFO]: (1.21.4-114-cd9d6d6 (MC: 1.21.4))
[03:38:50 INFO]: BentoBox version: 3.2.4-SNAPSHOT-b2813
[03:38:50 INFO]: Database: JSON
[03:38:50 INFO]: Loaded Game Worlds:
[03:38:50 INFO]: bskyblock_world (BSkyBlock): Overworld, Nether, The End
[03:38:50 INFO]: Loaded Addons:
[03:38:50 INFO]: Bank 1.9.0 (ENABLED)
[03:38:50 INFO]: Biomes 2.2.0 (ENABLED)
[03:38:50 INFO]: Border 4.4.3-SNAPSHOT-b233 (ENABLED)
[03:38:50 INFO]: BSkyBlock 1.19.1-SNAPSHOT-b789 (ENABLED)
[03:38:50 INFO]: Challenges 1.4.0 (ENABLED)
[03:38:50 INFO]: CheckMeOut 1.2.0 (ENABLED)
[03:38:50 INFO]: ControlPanel 1.14.0-SNAPSHOT-b80 (ENABLED)
[03:38:50 INFO]: DimensionalTrees 1.8.0 (ENABLED)
[03:38:50 INFO]: ExtraMobs 1.14.0 (ENABLED)
[03:38:50 INFO]: IslandFly 1.14.1 (ENABLED)
[03:38:50 INFO]: Likes 2.5.0-SNAPSHOT-b119 (ENABLED)
[03:38:50 INFO]: MagicCobblestoneGenerator 2.6.0-SNAPSHOT-b297 (ENABLED)
[03:38:50 INFO]: TwerkingForTrees 1.6.0-SNAPSHOT-b101 (ENABLED)
[03:38:50 INFO]: Warps 1.16.0 (ENABLED)

Plugin list

No response

Other

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant