ProtocolLib

3M Downloads

Failed to load ProtocolLib

hexett opened this issue ยท 3 comments

commented

Appeared after updating server to 1.21.5


[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.RuntimeException: Unable to find network.ProtocolInfo$a (network.ProtocolInfo$Unbound)
  	at ProtocolLib.jar//com.comphenix.protocol.utility.MinecraftReflection.lambda$getMinecraftClass$5(MinecraftReflection.java:1581)
  	at java.base/java.util.Optional.orElseThrow(Optional.java:403)
  	at ProtocolLib.jar//com.comphenix.protocol.utility.MinecraftReflection.getMinecraftClass(MinecraftReflection.java:1581)
  	at ProtocolLib.jar//com.comphenix.protocol.utility.MinecraftReflection.getProtocolInfoUnboundClass(MinecraftReflection.java:1878)
  	at ProtocolLib.jar//com.comphenix.protocol.injector.packet.PacketRegistry.createRegisterV1_20_5(PacketRegistry.java:367)
  	at ProtocolLib.jar//com.comphenix.protocol.injector.packet.PacketRegistry.initialize(PacketRegistry.java:552)
  	at ProtocolLib.jar//com.comphenix.protocol.injector.packet.PacketRegistry.getClientPacketTypes(PacketRegistry.java:604)
  	at ProtocolLib.jar//com.comphenix.protocol.injector.PacketFilterManager.<init>(PacketFilterManager.java:112)
  	at ProtocolLib.jar//com.comphenix.protocol.injector.PacketFilterBuilder.build(PacketFilterBuilder.java:121)
  	at ProtocolLib.jar//com.comphenix.protocol.ProtocolLib.onLoad(ProtocolLib.java:179)
  	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:39)
  	at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:581)
  	at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:269)
  	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1176)
  	at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:311)
  	at java.base/java.lang.Thread.run(Thread.java:1583)
  Dump:
  Parameters: 
    [NULL]
  Sender:
    com.comphenix.protocol.ProtocolLib@71bcd7a4[
      statistics=<null>
      packetTask=<null>
      tickCounter=0
      configExpectedMod=-1
      updater=com.comphenix.protocol.updater.SpigotUpdater@4a7b188d
      redirectHandler=<null>
      scheduler=com.comphenix.protocol.scheduler.DefaultScheduler@148788a3
      commandProtocol=<null>
      commandPacket=<null>
      commandFilter=<null>
      packetLogging=<null>
      skipDisable=false
      isEnabled=false
      loader=io.papermc.paper.plugin.manager.DummyBukkitPluginLoader@49bb329d
      server=CraftServer{serverName=Purpur,serverVersion=1.21.5-2441-5d3463a,minecraftVersion=1.21.5}
      file=plugins/ProtocolLib.jar
      description=org.bukkit.plugin.PluginDescriptionFile@6266df8c
      pluginMeta=org.bukkit.plugin.PluginDescriptionFile@6266df8c
      dataFolder=plugins/ProtocolLib
      classLoader=PluginClassLoader{plugin=ProtocolLib v5.3.0, pluginEnabled=false, url=plugins/ProtocolLib.jar}
      naggable=true
      newConfig=YamlConfiguration[path='', root='YamlConfiguration']
      configFile=plugins/ProtocolLib/config.yml
      logger=com.destroystokyo.paper.utils.PaperPluginLogger@79a4df12
      lifecycleEventManager=io.papermc.paper.plugin.lifecycle.event.PaperLifecycleEventManager@2deaf515
      allowsLifecycleRegistration=true
      isBeingEnabled=false
    ]
  Version:
    ProtocolLib v5.3.0
  Java Version:
    21.0.7
  Server:
    1.21.5-2441-5d3463a (MC: 1.21.5)
commented

same issue (1.21.5 papermc)

commented

Have you found a solution?

commented

Anyway, I downloaded the source code and compiled the plugin. Everything worked, no errors