ProtocolLib icon indicating copy to clipboard operation
ProtocolLib copied to clipboard

INTERNAL ERROR: Cannot load ProtocolLib.

Open Renan230 opened this issue 1 year ago • 7 comments

[12:16:03 WARN]: [ProtocolLib] Version (MC: 1.21.1) has not yet been tested! Proceed with caution. [12:16:04 ERROR]: [ProtocolLib] Assuming package version: v1_21_R1 [12:16:04 ERROR]: [ProtocolLib] INTERNAL ERROR: Cannot load ProtocolLib. If this problem hasn't already been reported, please open a ticket at https://github.com/dmulloy2/ProtocolLib/issues with the following data: Stack Trace: java.lang.IllegalArgumentException: Unable to find a field that matches {modifiers=[required: 10000, banned: 1000], type={ type input instanceof interface java.util.Map }} at ProtocolLib.jar//com.comphenix.protocol.reflect.FuzzyReflection.getField(FuzzyReflection.java:352) at ProtocolLib.jar//com.comphenix.protocol.injector.packet.PacketRegistry.createNewRegister(PacketRegistry.java:183) at ProtocolLib.jar//com.comphenix.protocol.injector.packet.PacketRegistry.initialize(PacketRegistry.java:334) at ProtocolLib.jar//com.comphenix.protocol.injector.packet.PacketRegistry.getClientPacketTypes(PacketRegistry.java:369) at ProtocolLib.jar//com.comphenix.protocol.injector.PacketFilterManager.(PacketFilterManager.java:120) at ProtocolLib.jar//com.comphenix.protocol.injector.PacketFilterBuilder.build(PacketFilterBuilder.java:121) at ProtocolLib.jar//com.comphenix.protocol.ProtocolLib.onLoad(ProtocolLib.java:183) at io.papermc.paper.plugin.storage.ServerPluginProviderStorage.processProvided(ServerPluginProviderStorage.java:59) at io.papermc.paper.plugin.storage.ServerPluginProviderStorage.processProvided(ServerPluginProviderStorage.java:18) at io.papermc.paper.plugin.storage.SimpleProviderStorage.enter(SimpleProviderStorage.java:39) at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(LaunchEntryPointHandler.java:40) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:560) at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:329) at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1231) at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:334) at java.base/java.lang.Thread.run(Thread.java:1583) Dump: Parameters: [NULL] Sender: com.comphenix.protocol.ProtocolLib@21a28645[ statistics= packetTask= tickCounter=0 configExpectedMod=-1 updater=com.comphenix.protocol.updater.SpigotUpdater@6ec98901 redirectHandler= scheduler=com.comphenix.protocol.scheduler.DefaultScheduler@5becba33 commandProtocol= commandPacket= commandFilter= packetLogging= skipDisable=false isEnabled=false loader=io.papermc.paper.plugin.manager.DummyBukkitPluginLoader@272ca1db server=CraftServer{serverName=Purpur,serverVersion=1.21.1-2298-a61db94,minecraftVersion=1.21.1} file=plugins/.paper-remapped/ProtocolLib.jar description=org.bukkit.plugin.PluginDescriptionFile@1d164383 pluginMeta=org.bukkit.plugin.PluginDescriptionFile@1d164383 dataFolder=plugins/ProtocolLib classLoader=PluginClassLoader{plugin=ProtocolLib v5.2.0-SNAPSHOT-679, pluginEnabled=false, url=plugins/.paper-remapped/ProtocolLib.jar} naggable=true newConfig=YamlConfiguration[path='', root='YamlConfiguration'] configFile=plugins/ProtocolLib/config.yml logger=com.destroystokyo.paper.utils.PaperPluginLogger@75030300 lifecycleEventManager=io.papermc.paper.plugin.lifecycle.event.PaperLifecycleEventManager@3fc74d59 allowsLifecycleRegistration=true ] Version: ProtocolLib v5.2.0-SNAPSHOT-679 Java Version: 21.0.3 Server: 1.21.1-2298-a61db94 (MC: 1.21.1)

Renan230 avatar Aug 27 '24 15:08 Renan230

I second this; it's happening to me, too. I'm running Purpur build 2655 (plain 1.21), and I am also using ProtocolLib v5.2.0-SNAPSHOT-679

xtb7 avatar Aug 28 '24 20:08 xtb7

Should be fixed in the latest dev build so please use the latest dev build and try again: https://ci.dmulloy2.net/job/ProtocolLib/lastSuccessfulBuild/

Ingrim4 avatar Aug 28 '24 21:08 Ingrim4

Should be fixed in the latest dev build so please use the latest dev build and try again: https://ci.dmulloy2.net/job/ProtocolLib/lastSuccessfulBuild/

Can confirm, the issue doesn't persist in the newest dev build as of now.

xtb7 avatar Aug 28 '24 21:08 xtb7

hey sorry to post the bug here but im getting this issue for last 2 months and posted in issues already but no repsonse https://mclo.gs/Il5b8ZE im getting this error on my server

Rexmen1 avatar Aug 29 '24 01:08 Rexmen1

This could be an issue with another plugin that has ProtocolLib as a dependency. First, download the latest dev build, and then if the issue persists, check the other plugins.

On 29 August 2024 02:14:16 BST, Rex @.***> wrote:

hey sorry to post the bug here but im getting this issue for last 2 months and posted in issues already but no repsonse https://mclo.gs/Il5b8ZE im getting this error on my server

-- Reply to this email directly or view it on GitHub: https://github.com/dmulloy2/ProtocolLib/issues/3207#issuecomment-2316531519 You are receiving this because you commented.

Message ID: @.***>

xtb7 avatar Aug 29 '24 10:08 xtb7

removed mythic mobs, advanced enchantments, etc many plugins but still happens, even removed protocol lib and issuecontinues reported here #3210

Rexmen1 avatar Aug 29 '24 14:08 Rexmen1

Issue is kick do happen and its very random, not an easy way to trigger and happens with almost all plugins seems like.. when killing a mythic mob, claiming rewards from battlepass, using /disguise command, or getting vouchers from crazy vouchers all these plugins kicks with same error

and using latest version or protocollib

Rexmen1 avatar Aug 29 '24 14:08 Rexmen1