#(chromakat) Could not pass event PlayerRecipeBookClickEvent to Denizen v1.3.1-SNAPSHOT (build 7065

25 messages · Page 1 of 1 (latest)

restive geode
#

Hello,

JAVA 1.21
Purpur 1.20.6 (last build)

I've been getting this for a while on the recent Denizen builds:

[16:15:16 ERROR]: Could not pass event PlayerRecipeBookClickEvent to Denizen v1.3.1-SNAPSHOT (build 7065-DEV) java.lang.IncompatibleClassChangeError: Found class org.bukkit.inventory.InventoryView, but interface was expected at Denizen-1.3.1-b7065-DEV.jar/com.denizenscript.denizen.paper.PaperEventHelpers.onRecipeBookClick(PaperEventHelpers.java:14) ~[Denizen-1.3.1-b7065-DEV.jar:?] at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor448.execute(Unknown Source) ~[?:?] at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[purpur-api-1.20.6-R0.1-SNAPSHOT.jar:?] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[purpur-api-1.20.6-R0.1-SNAPSHOT.jar:1.20.6-2233-0d6766e] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.20.6-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[purpur-api-1.20.6-R0.1-SNAPSHOT.jar:?] at org.bukkit.event.Event.callEvent(Event.java:45) ~[purpur-api-1.20.6-R0.1-SNAPSHOT.jar:?] at net.minecraft.server.network.ServerGamePacketListenerImpl.handlePlaceRecipe(ServerGamePacketListenerImpl.java:3370) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at net.minecraft.network.protocol.game.ServerboundPlaceRecipePacket.handle(ServerboundPlaceRecipePacket.java:43) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at net.minecraft.network.protocol.game.ServerboundPlaceRecipePacket.handle(ServerboundPlaceRecipePacket.java:19) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:55) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:151) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1546) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:195) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:125) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1523) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1446) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:135) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1412) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1273) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:326) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

stray whaleBOT
#

(chromakat) Could not pass event PlayerRecipeBookClickEvent to Denizen v1.3.1-SNAPSHOT (build 7065

stray whaleBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

pastel cairn
#

!logs

stark leafBOT
# pastel cairn !logs
Info: logs

Please post your full latest log file.

Background Info: One of the most helpful tools to identifying the source of a problem is your server logs file! Logs contain all sorts of important information like server and plugin versions, any error messages, and a lot more important information (More Info).

How To: Your log can be found in the logs folder within your server folder. The most recent log is a text file labeled latest.log. To get help using these logs, please open that file in a text editor and copy all of the text, then open https://paste.denizenscript.com/New/Log and paste the text into the box on the page. Then click "Submit" and copy the URL and paste that back into this channel.

Please do not upload the file to Discord or to other pastebin services, use the log pastebin linked above.

pastel cairn
#

or a debug

#

!debug

stark leafBOT
# pastel cairn !debug
Info: debug

If you need help with a script issue, one of the most powerful tools Denizen has to offer is full debug output. This is displaying in your console whenever scripts are running until you turn debug off. To share a debug log quickly and easily with helpers, simply run the command /denizen debug -r in-game to begin recording, then run through the part of the script you need help with, then run the command /denizen submit. This will give you a link to a paste of the debug log, which you can then copy/paste back to us!

restive geode
sharp cypress
stark leafBOT
#
Server Version

Purpur version 1.20.6-2233-ver/1.20.6@0d6766e (2024-06-18T04:01:10Z)

Plugin Version(s)

Citizens v2.0.35-SNAPSHOT (build 3501) -- (:warning:Outdated build, behind by 29)
Denizen v1.3.1-SNAPSHOT (build 7065-DEV) -- (Outdated build, behind by 1)
Depenizen v2.1.1 (build 864) -- (Current build :white_check_mark:)

Checked For

@sharp cypress

Online/Offline

Offline, but proxied.

UUID Version

4 (:white_check_mark: Online)

Java Version

21.0.3 :white_check_mark:

Other Noteworthy Plugin(s)

WorldGuard v7.0.11-SNAPSHOT+2274-ead1e1b, ProtocolLib v5.2.1-SNAPSHOT-689

Problematic Plugin(s)

floodgate v2.2.3-SNAPSHOT (b109-49bd564) - Bedrock clients are unsupportable. Please do all testing with a Java Edition client.

Possibly Relevant Plugin(s)

ViaVersion v5.0.3 - Mixed client vs server versions can sometimes cause packet-related issues.
Multiverse-Core v4.3.12 - Multi-world configuration plugins may affect NPCs in unexpected ways.
FastAsyncWorldEdit v2.11.2-SNAPSHOT-879;d1e2511 - This plugin has been known to break the plugin load order on many servers, due to usage of the 'loadbefore' directive in its 'plugin.yml'.

Potentially Bad Line(s)

[16:13:36] [Server thread/ERROR]: Could not pass event PlayerRecipeBookClickEvent to Denizen v1.3.1-SNAPSHOT (build 7065-DEV) :warning: Log contains error messages.

sharp cypress
restive geode
#

Not sure what you mean by "latest paper" this is a Purpur 1.20.6 server

sharp cypress
#

It means use paper.

#

Not purpur.

#

!forks

stark leafBOT
# sharp cypress !forks
Info: forks

Our plugins (Citizens, Sentinel, and Denizen) officially support both Spigot and Paper.
Any other forks of the Bukkit project are not supported, but may or may not work in practice.

  • Lower forks, like CraftBukkit, do not function. You must upgrade to a higher fork (Spigot or Paper).

  • Hard forks and cross-forks, like Cauldron/Magma/Mohist/Any other Forge-integration fork, or Cardboard/any other Fabric-integration fork, will not work. Some unofficial custom builds of Citizens are made to support these servers, but we cannot provide any support for them here.

  • Higher forks above Spigot/Paper, such as Purpur, Airplane, etc. are compatible with Citizens only as much as they are compatible with Spigot/Paper. They are generally expected to work in most cases, but we cannot make any guarantees. We will still offer support to users running such forks, but be aware that if you encounter bugs while running such a fork, we may ask you to replicate them on Spigot/Paper to confirm they aren't caused by changes the fork made.

sharp cypress
#

!update paper

stark leafBOT
# sharp cypress !update paper
Update Paper

Paper is a higher-performance alternative to Spigot that is 100% compatible with the equivalent Spigot version. It's much easier to update than Spigot itself, and carries a lot of performance and quality-of-life benefits.

Latest Paper builds are at https://papermc.io/downloads/paper.

(If you would prefer to use a Spigot build, refer to !update spigot).

sharp cypress
#

Just to make sure this isn't a purpur issue.

fallen crystal
#

Same issue as #1270826564908486828 , can watch that thread

robust wagonBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@restive geode