PluginBugs / Issues-ItemsAdder

Repository used to keep track of issues of my plugin ItemsAdder
https://itemsadder.devs.beer
54 stars 21 forks source link

java.lang.VerifyError: Illegal type at constant pool entry 549 in class ia.m.ca #4001

Closed wiflow closed 2 months ago

wiflow commented 2 months ago

Terms

Discord Username (optional)

w1fl0w

What happened?

When using 1.21.x the plugin works fine. But when switching to 1.20.6 the plugin won't load, and causes an error.

Steps to reproduce the issue

Install Paper 1.20.6 Install the plugin ,and dependenceis Start server

Server version

version [10:27:31 INFO]: Checking version, please wait... [10:27:32 INFO]: This server is running Paper version 1.20.6-149-ver/1.20.6@6e71f41 (2024-08-24T09:37:06Z) (Implementing API version 1.20.6-R0.1-SNAPSHOT) You are running the latest version

ItemsAdder Version

ItemsAdder 4.0.2-beta-release-10 | | | |\/| /` /\ | \ | \ | |) LoneLibs 1.0.58 | | | | | ./ /--\ |/ |__/ |___ | \ Paper 1.20.6-149-6e71f41 (MC: 1.20.6)

10:21:08 WARN: [ItemsAdder] This is a test version of ItemsAdder v4 for Minecraft 1.20.6, 1.21, 1.21.1. 10:21:08 WARN: [ItemsAdder] Please make backups before using this version. 10:21:08 WARN: [ItemsAdder] Use this only on a test server. 10:21:08 WARN: [ItemsAdder] I am not responsible for any damage done to your server.

ProtocolLib Version

[10:28:11 INFO]: ProtocolLib version 5.3.0-SNAPSHOT-726 [10:28:11 INFO]: Provides read/write access to the Minecraft protocol. [10:28:11 INFO]: Authors: dmulloy2 and comphenix

LoneLibs Version

version lonelibs [10:28:20 INFO]: LoneLibs version 1.0.58 [10:28:20 INFO]: Collection of libs used by my plugins [10:28:20 INFO]: Authors: LoneDev and others

Full Server Log

https://mclo.gs/53aBoCT

Error (optional)

[10:21:07 INFO]: [ItemsAdder] Enabling ItemsAdder v4.0.2-beta-release-10
[10:21:08 INFO]: [ItemsAdder] 
  ___  ___        __        __   __   ___  __      ItemsAdder 4.0.2-beta-release-10
|  |  |__   |\/| /__`  /\  |  \ |  \ |__  |__)     LoneLibs 1.0.58
|  |  |___  |  | .__/ /--\ |__/ |__/ |___ |  \     Paper 1.20.6-149-6e71f41 (MC: 1.20.6)

[10:21:08 WARN]: [ItemsAdder]  
[10:21:08 WARN]: [ItemsAdder] This is a test version of ItemsAdder v4 for Minecraft 1.20.6, 1.21, 1.21.1.
[10:21:08 WARN]: [ItemsAdder] Please make backups before using this version.
[10:21:08 WARN]: [ItemsAdder] Use this only on a test server.
[10:21:08 WARN]: [ItemsAdder] I am not responsible for any damage done to your server.
[10:21:08 WARN]: [ItemsAdder]  
[10:21:08 ERROR]: Error occurred while enabling ItemsAdder v4.0.2-beta-release-10 (Is it up to date?)
java.lang.VerifyError: Illegal type at constant pool entry 549 in class ia.m.ca
Exception Details:
  Location:
    ia/m/ca.b(Lorg/bukkit/event/player/PlayerAnimationEvent;)V @171: invokeinterface
  Reason:
    Constant pool index 549 is invalid
  Bytecode:
    0000000: 2bb6 01ff b202 05a5 0004 b12b b602 094d
    0000010: 2cb9 020d 0100 b202 13a6 0004 b111 00c8
    0000020: 2cb9 01af 0100 1100 c860 b801 b53e 2ab4
    0000030: 001d 2cb6 01ac 9900 1cb8 01a3 2ab4 001d
    0000040: 2cb6 01b6 c001 a5b6 01b9 651d 8594 9c00
    0000050: 04b1 2ab4 001b 2cb6 01ac 9900 1cb8 01a3
    0000060: 2ab4 001b 2cb6 01b6 c001 a5b6 01b9 651d
    0000070: 8594 9c00 04b1 2ab4 001f 2cb6 01ac 9900
    0000080: 1cb8 01a3 2ab4 001f 2cb6 01b6 c001 a5b6
    0000090: 01b9 651d 8594 9c00 04b1 b202 192c b602
    00000a0: 1c99 0004 b12c b902 2001 00b9 0225 0100
    00000b0: b202 2ba5 0015 2cb9 0220 0100 b902 2501
    00000c0: 00b2 022e a500 04b1 b202 192c b602 3099
    00000d0: 0004 b12c b802 343a 0419 04c6 0059 b202
    00000e0: 192b b602 0919 04b6 0237 9900 04b1 2ab4
    00000f0: 001d 2cb8 01a3 b801 a8b6 01a9 572a 1904
    0000100: 2cb6 0057 9900 04b1 2cb9 020d 0100 b202
    0000110: 3aa6 000c 1904 b802 40c6 0004 b12a 1904
    0000120: 2cb6 005b 2a2c 1904 2bba 0249 0000 1402
    0000130: 4ab8 0250 b1                           
  Stackmap Table:
    same_frame(@11)
    append_frame(@29,Object[#83])
    append_frame(@82,Integer)
    same_frame(@118)
    chop_frame(@154,1)
    same_frame(@165)
    same_frame(@200)
    same_frame(@211)
    append_frame(@238,Top,Object[#63])
    same_frame(@264)
    same_frame(@285)
    full_frame(@308,{},{})

        at ItemsAdder_4.0.2-beta-release-10 (2).jar/ia.m.G.a(SourceFile:532) ~[ItemsAdder_4.0.2-beta-release-10 (2).jar:?]
        at ItemsAdder_4.0.2-beta-release-10 (2).jar/ia.m.G.k(SourceFile:278) ~[ItemsAdder_4.0.2-beta-release-10 (2).jar:?]
        at ItemsAdder_4.0.2-beta-release-10 (2).jar/dev.lone.itemsadder.Main.iW(SourceFile:513) ~[ItemsAdder_4.0.2-beta-release-10 (2).jar:?]
        at ItemsAdder_4.0.2-beta-release-10 (2).jar/dev.lone.itemsadder.Main.onEnable(SourceFile:425) ~[ItemsAdder_4.0.2-beta-release-10 (2).jar:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:288) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202) ~[paper-1.20.6.jar:1.20.6-149-6e71f41]
        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) ~[paper-1.20.6.jar:1.20.6-149-6e71f41]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:626) ~[paper-1.20.6.jar:1.20.6-149-6e71f41]
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:575) ~[paper-1.20.6.jar:1.20.6-149-6e71f41]
        at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:675) ~[paper-1.20.6.jar:1.20.6-149-6e71f41]
        at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:437) ~[paper-1.20.6.jar:1.20.6-149-6e71f41]
        at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:323) ~[paper-1.20.6.jar:1.20.6-149-6e71f41]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1136) ~[paper-1.20.6.jar:1.20.6-149-6e71f41]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[paper-1.20.6.jar:1.20.6-149-6e71f41]
        at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
[10:21:08 INFO]: [ItemsAdder] Disabling ItemsAdder v4.0.2-beta-release-10

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

LoneDev6 commented 2 months ago

Duplicate of #3985

More info: https://github.com/PluginBugs/Issues-ItemsAdder/issues/3985#issuecomment-2334209674