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

Please fix this error #3257

Closed
chromitemc opened this issue Sep 30, 2024 · 3 comments
Closed

Please fix this error #3257

chromitemc opened this issue Sep 30, 2024 · 3 comments
Labels
outdated Related to an outdate version

Comments

@chromitemc
Copy link

[04:32:15 ERROR]: [ProtocolLib] Assuming package version: v1_21_R1
[04:32:15 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:546)
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:292)
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1214)
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:329)
at java.base/java.lang.Thread.run(Thread.java:1570)
Dump:
Parameters:
[NULL]
Sender:
com.comphenix.protocol.ProtocolLib@3100764b[
statistics=
packetTask=
tickCounter=0
configExpectedMod=-1
updater=com.comphenix.protocol.updater.SpigotUpdater@4da676ea
redirectHandler=
scheduler=com.comphenix.protocol.scheduler.DefaultScheduler@7f26e33b
commandProtocol=
commandPacket=
commandFilter=
packetLogging=
skipDisable=false
isEnabled=false
loader=io.papermc.paper.plugin.manager.DummyBukkitPluginLoader@2914e9d9
server=CraftServer{serverName=Paper,serverVersion=1.21.1-99-1bc02e6,minecraftVersion=1.21.1}
file=plugins/.paper-remapped/ProtocolLib.jar
description=org.bukkit.plugin.PluginDescriptionFile@2eff541f
pluginMeta=org.bukkit.plugin.PluginDescriptionFile@2eff541f
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@183a6e69
lifecycleEventManager=io.papermc.paper.plugin.lifecycle.event.PaperLifecycleEventManager@2d3723ca
allowsLifecycleRegistration=true
]
Version:
ProtocolLib v5.2.0-SNAPSHOT-679
Java Version:
22.0.2
Server:
1.21.1-99-1bc02e6 (MC: 1.21.1)

@RoyvanEmpel
Copy link

+1. Same issue on 1.21.1

 - EpicHomes (1.1.1), JukeboxExtendedReborn (2.0.8), LuckPerms (5.4.141), Orebfuscator (5.5.0), ProtocolLib (5.2.0-SNAPSHOT-679), SimpleTpa (7.3), UltraCosmetics (3.8-RELEASE), mcMMO (2.2.021)
[17:04:21 WARN]: You specified a resource pack without providing a sha1 hash. Pack will be updated on the client only if you change the name of the pack.
>....
[17:04:30 WARN]: [JEXT] Async task for JukeboxExtendedReborn v2.0.8 generated an exception
>....
[17:04:26 ERROR]: [ProtocolLib] Assuming package version: v1_21_R1
>....
[17:04:25 WARN]: [ProtocolLib] Version (MC: 1.21.1) has not yet been tested! Proceed with caution.
>....
[17:04:25 INFO]: [ProtocolLib] Loading server plugin ProtocolLib v5.2.0-SNAPSHOT-679
    1.21.1-2315-2a50638 (MC: 1.21.1)
  Java Version:
    21.0.4
  Server:
    ProtocolLib v5.2.0-SNAPSHOT-679
  Version:
    ]
      classLoader=PluginClassLoader{plugin=ProtocolLib v5.2.0-SNAPSHOT-679, pluginEnabled=false, url=plugins/.paper-remapped/ProtocolLib.jar}
      allowsLifecycleRegistration=true
      lifecycleEventManager=io.papermc.paper.plugin.lifecycle.event.PaperLifecycleEventManager@66ba7592
      configFile=plugins/ProtocolLib/config.yml
      logger=com.destroystokyo.paper.utils.PaperPluginLogger@705203c0
      newConfig=YamlConfiguration[path='', root='YamlConfiguration']
      naggable=true
      dataFolder=plugins/ProtocolLib
      pluginMeta=org.bukkit.plugin.PluginDescriptionFile@64647041
      description=org.bukkit.plugin.PluginDescriptionFile@64647041
      file=plugins/.paper-remapped/ProtocolLib.jar
      server=CraftServer{serverName=Purpur,serverVersion=1.21.1-2315-2a50638,minecraftVersion=1.21.1}
      loader=io.papermc.paper.plugin.manager.DummyBukkitPluginLoader@33abf3bf
      isEnabled=false
      skipDisable=false
      packetLogging=<null>
      commandFilter=<null>
      commandPacket=<null>
      commandProtocol=<null>
      scheduler=com.comphenix.protocol.scheduler.DefaultScheduler@7b5d5cfc
      redirectHandler=<null>
      updater=com.comphenix.protocol.updater.SpigotUpdater@7d54edee
      configExpectedMod=-1
      tickCounter=0
      packetTask=<null>
    com.comphenix.protocol.ProtocolLib@3d476919[
      statistics=<null>
  Sender:
    [NULL]
  Parameters: 
  Dump:
  	at java.base/java.lang.Thread.run(Unknown Source)
  	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:333)
  	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1230)
  	at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:329)
  	at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:560)
  	at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(LaunchEntryPointHandler.java:40)
  	at io.papermc.paper.plugin.storage.SimpleProviderStorage.enter(SimpleProviderStorage.java:39)
  	at io.papermc.paper.plugin.storage.ServerPluginProviderStorage.processProvided(ServerPluginProviderStorage.java:18)
  	at io.papermc.paper.plugin.storage.ServerPluginProviderStorage.processProvided(ServerPluginProviderStorage.java:59)
  	at ProtocolLib.jar//com.comphenix.protocol.ProtocolLib.onLoad(ProtocolLib.java:183)
  	at ProtocolLib.jar//com.comphenix.protocol.injector.PacketFilterBuilder.build(PacketFilterBuilder.java:121)
  	at ProtocolLib.jar//com.comphenix.protocol.injector.packet.PacketRegistry.getClientPacketTypes(PacketRegistry.java:369)
  	at ProtocolLib.jar//com.comphenix.protocol.injector.PacketFilterManager.<init>(PacketFilterManager.java:120)
  	at ProtocolLib.jar//com.comphenix.protocol.injector.packet.PacketRegistry.initialize(PacketRegistry.java:334)
  	at ProtocolLib.jar//com.comphenix.protocol.injector.packet.PacketRegistry.createNewRegister(PacketRegistry.java:183)
  	at ProtocolLib.jar//com.comphenix.protocol.reflect.FuzzyReflection.getField(FuzzyReflection.java:352)
  java.lang.IllegalArgumentException: Unable to find a field that matches {modifiers=[required: 10000, banned: 1000], type={ type input instanceof interface java.util.Map }}
  Stack Trace:
  at https://github.com/dmulloy2/ProtocolLib/issues with the following data:
  If this problem hasn't already been reported, please open a ticket
>....
[17:04:26 ERROR]:   [ProtocolLib] INTERNAL ERROR: Cannot load ProtocolLib.

@RoyvanEmpel
Copy link

Seems to not crash with the latest 5.3.0 build from jenkins https://ci.dmulloy2.net/job/ProtocolLib/lastSuccessfulBuild/artifact/build/libs/ProtocolLib.jar

@chromitemc
Copy link
Author

tysm

@Ingrim4 Ingrim4 added the outdated Related to an outdate version label Oct 21, 2024
@Ingrim4 Ingrim4 closed this as completed Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
outdated Related to an outdate version
Projects
None yet
Development

No branches or pull requests

3 participants