#[1.21.3] (Maxime) Failed to register script event [...] 'BiomeEnterExitScriptEvent'

17 messages · Page 1 of 1 (latest)

copper jay
#

https://paste.denizenscript.com/View/127711

Seems like this ScriptEvent breaked with : https://github.com/PaperMC/Paper/pull/11543

[12:14:54 INFO]:  ERROR!
                 Error Message: Failed to register script event 'com.denizenscript.denizen.events.player.BiomeEnterExitScriptEvent': 
[12:14:54 INFO]: Additional Error Info: Internal exception was thrown!
[Error Continued] java.lang.VerifyError: Bad type on operand stack
Exception Details:
  Location:
    com/denizenscript/denizen/events/player/BiomeEnterExitScriptEvent.couldMatch(Lcom/denizenscript/denizencore/events/ScriptEvent$ScriptPath;)Z @31: invokestatic
  Reason:
    Type '[Lorg/bukkit/block/Biome;' (current frame, stack[1]) is not assignable to '[Ljava/lang/Enum;'
  Current Frame:
    bci: @31
    flags: { }
    locals: { 'com/denizenscript/denizen/events/player/BiomeEnterExitScriptEvent', 'com/denizenscript/denizencore/events/ScriptEvent$ScriptPath' }
    stack: { 'java/lang/String', '[Lorg/bukkit/block/Biome;' }
  Bytecode:
    0000000: 2a2b b700 2c9a 0005 03ac 2b05 b600 3012
    0000010: 22b6 0034 9a00 132b 05b6 0030 b800 cab8
    0000020: 003e 9a00 0503 ac04 ac                 
  Stackmap Table:
    same_frame(@10)
    same_frame(@39)

[Error Continued]   java.base/java.lang.Class.getDeclaredConstructors0(Native Method)
[Error Continued]   java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3621)
[Error Continued]   java.base/java.lang.Class.getConstructor0(Class.java:3826)
[Error Continued]   java.base/java.lang.Class.getConstructor(Class.java:2501)
[Error Continued]   Denizen-1.3.1-b7085-DEV.jar//com.denizenscript.denizencore.events.ScriptEvent.registerScriptEvent(ScriptEvent.java:87)
[Error Continued]   Denizen-1.3.1-b7085-DEV.jar//com.denizenscript.denizen.events.ScriptEventRegistry.registerMainEvents(ScriptEventRegistry.java:173)
[Error Continued]   Denizen-1.3.1-b7085-DEV.jar//com.denizenscript.denizen.Denizen.onEnable(Denizen.java:329)
[Error Continued]   org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:288)
[Error Continued]   io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202)
[Error Continued]   io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109)
[Error Continued]   org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520)
[Error Continued]   org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:643)
[Error Continued]   org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:592)
[Error Continued]   net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:767)
[Error Continued]   net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:529)
[Error Continued]   net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:326)
[Error Continued]   net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1233)
[Error Continued]   net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:339)
[Error Continued]   java.base/java.lang.Thread.run(Thread.java:1575)
GitHub

Upstream has released updates that appear to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing
Bukkit Changes:
97c59261 PR-1...

brittle radishBOT
#

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.

copper jay
simple minnowBOT
# copper jay !logcheck https://paste.denizenscript.com/View/127711
Server Version

Paper version 1.21.3-10-master@92131ad (2024-11-01T21:30:00Z)

Plugin Version(s)

Citizens v2.0.36-SNAPSHOT (build 3622) -- (Current build :white_check_mark:)
Denizen v1.3.1-SNAPSHOT (build 7085-DEV) -- (Current build :white_check_mark:)
Depenizen v2.1.1 (build 865) -- (Current build :white_check_mark:)
dDiscordBot v0.7 (build 303) -- (Current build :white_check_mark:)

Checked For

@copper jay

Online/Offline

Offline, but proxied.

Java Version

23 :warning: - Only Java versions 21 or 17 are fully supported (or 8 for legacy Minecraft)

Potentially Bad Line(s)

Starting Minecraft server on 0.0.0.0:30067 - server is offline but has no address bind. This might mean you're using a system level firewall, but if not, it means your proxy is bypassable by hackers. Either enable a system level firewall, or bind your server to localhost in server.properties via server-ip=127.0.0.1.

spark lanceBOT
#
Changed to Bug

Thread is now a Bug thread. This indicates a core code bug that a developer must resolved, not an error message or other support topic. Please do not misuse the Bug label. Use </helpthread:1028674284870180883> to switch the thread back to a normal help thread if you are not 100% confident it is a code bug.

copper jay
#

[1.21.3] (Maxime) Failed to register script event [...] 'BiomeEnterExitScriptEvent'

cyan hull
cloud flare
#

#denizen-contrib message should fix this

#

(once merged)

copper jay
#

Got it

#

will confirm asap

cloud flare
#

Should be fixed ref #commit-log message

spark lanceBOT
#
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.)

#

@copper jay

copper jay
#

Fixed confirmed

#

Thank you Aya