dmulloy2 / ProtocolLib

Provides read and write access to the Minecraft protocol with Bukkit.
GNU General Public License v2.0
1.04k stars 257 forks source link

Bukkit server load error - 1.21.1 #3282

Open MatyasBorecek opened 1 month ago

MatyasBorecek commented 1 month ago

At server start I've got this error: [09:46:24] [Server thread/INFO]: Error Cannot perform automatic updates. (java.lang.NullPointerException: Cannot invoke "com.comphenix.protocol.updater.Updater.isChecking()" because "this.updater" is null) occurred in ProtocolLib v5.3.0-SNAPSHOT-732. [09:46:24] [Server thread/ERROR]: [ProtocolLib] INTERNAL ERROR: Cannot perform automatic updates.

And then this context:

Stack Trace:
  java.lang.NullPointerException: Cannot invoke "com.comphenix.protocol.updater.Updater.isChecking()" because "this.updater" is null
        at com.comphenix.protocol.ProtocolLib.checkUpdates(ProtocolLib.java:514)
        at com.comphenix.protocol.ProtocolLib.lambda$createPacketTask$0(ProtocolLib.java:485)
        at org.bukkit.craftbukkit.v1_21_R1.scheduler.CraftTask.run(CraftTask.java:77)
        at org.bukkit.craftbukkit.v1_21_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:414)
        at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:1382)
        at net.minecraft.server.dedicated.DedicatedServer.c(DedicatedServer.java:393)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1284)
        at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1036)
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:310)
        at java.base/java.lang.Thread.run(Thread.java:1583)
  Dump:
    manager:
      com.comphenix.protocol.injector.PacketFilterManager@58205638[
        plugin=ProtocolLib v5.3.0-SNAPSHOT-732
        server=CraftServer{serverName=CraftBukkit,serverVersion=4295-Bukkit-7548afc,minecraftVersion=1.21.1}
        reporter=com.comphenix.protocol.ProtocolLib$1@3b8abac6
        minecraftVersion=(MC: 1.21.1)
        asyncFilterManager=com.comphenix.protocol.async.AsyncFilterManager@7801caa0
        pluginVerifier=com.comphenix.protocol.injector.PluginVerifier@22cad20e
        mainThreadPacketTypes=com.comphenix.protocol.concurrent.PacketTypeListenerSet@4eb26e8b
        inboundListeners=com.comphenix.protocol.injector.collection.InboundPacketListenerSet@2080b111
        outboundListeners=com.comphenix.protocol.injector.collection.OutboundPacketListenerSet@56222b6b
        registeredListeners=[PacketAdapter[plugin=QualityArmory, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=NORMAL, packets=[ARM_ANIMATION[class=PacketPlayInArmAnimation, id=54]], gamephase=PLAYING, options=[]]], PacketAdapter[plugin=QualityArmory, sending=ListeningWhitelist[priority=NORMAL, packets=[ENTITY_EQUIPMENT[class=PacketPlayOutEntityEquipment, id=91]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST]]
        networkManagerInjector=com.comphenix.protocol.injector.netty.manager.NetworkManagerInjector@228cc903
        debug=false
        closed=false
        injected=true
      ]
  Sender:
    com.comphenix.protocol.ProtocolLib@7f973def[
      statistics=com.comphenix.protocol.metrics.Statistics@5aba1335
      packetTask=com.comphenix.protocol.scheduler.DefaultTask@1d04027a
      tickCounter=20
      configExpectedMod=1
      updater=<null>
      redirectHandler=com.comphenix.protocol.ProtocolLib$2@59841408
      scheduler=com.comphenix.protocol.scheduler.DefaultScheduler@1fba2292
      commandProtocol=com.comphenix.protocol.CommandProtocol@1593b9eb
      commandPacket=com.comphenix.protocol.CommandPacket@28b97ef1
      commandFilter=com.comphenix.protocol.CommandFilter@51e40bba
      packetLogging=com.comphenix.protocol.PacketLogging@1f841da6
      skipDisable=false
      isEnabled=true
      loader=org.bukkit.plugin.java.JavaPluginLoader@1750b35c
      server=CraftServer{serverName=CraftBukkit,serverVersion=4295-Bukkit-7548afc,minecraftVersion=1.21.1}
      file=plugins/ProtocolLib.jar
      description=org.bukkit.plugin.PluginDescriptionFile@74fd09b1
      dataFolder=plugins/ProtocolLib
      classLoader=org.bukkit.plugin.java.PluginClassLoader@544026a4
      naggable=true
      newConfig=YamlConfiguration[path='', root='YamlConfiguration']
      configFile=plugins/ProtocolLib/config.yml
      logger=org.bukkit.plugin.PluginLogger@3ae32162
    ]
  Version:
    ProtocolLib v5.3.0-SNAPSHOT-732
  Java Version:
    21.0.4
  Server:
    4295-Bukkit-7548afc (MC: 1.21.1)