Plugin crashes during load
sentrywasbored opened this issue ยท 0 comments
[ProtocolLib] INTERNAL ERROR: Cannot enable 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.IllegalStateException: Unable to access field private final java.util.List net.minecraft.network.NetworkSystem.field_151274_e
at com.comphenix.protocol.reflect.accessors.MethodHandleHelper.getFieldAccessor(MethodHandleHelper.java:103)
at com.comphenix.protocol.reflect.accessors.Accessors.getFieldAccessor(Accessors.java:84)
at com.comphenix.protocol.injector.netty.manager.NetworkManagerInjector.inject(NetworkManagerInjector.java:202)
at com.comphenix.protocol.injector.PacketFilterManager.registerEvents(PacketFilterManager.java:451)
at com.comphenix.protocol.ProtocolLib.onEnable(ProtocolLib.java:336)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:351)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480)
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:526)
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:405)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:246)
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:826)
at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:286)
at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.NoSuchFieldException: no such field: net.minecraft.network.NetworkSystem.listeningChannels/java.util.List/getField
at java.lang.invoke.MemberName.makeAccessException(MemberName.java:873)
at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:1003)
at java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:1377)
at java.lang.invoke.MethodHandles$Lookup.findGetter(MethodHandles.java:1026)
at com.comphenix.protocol.reflect.accessors.MethodHandleHelper.getFieldAccessor(MethodHandleHelper.java:87)
... 13 more
Caused by: java.lang.NoSuchMethodError: field resolution failed
at java.lang.invoke.MethodHandleNatives.resolve(Native Method)
at java.lang.invoke.MemberName$Factory.resolve(MemberName.java:975)
at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:1000)
... 16 more
Dump:
manager:
com.comphenix.protocol.injector.PacketFilterManager@3a7d213[
plugin=ProtocolLib v5.0.0-SNAPSHOT-b614
server=CraftServer{serverName=Magma,serverVersion=git-Magma-1.16.5-c1c5a946,minecraftVersion=1.16.5}
reporter=com.comphenix.protocol.ProtocolLib$1@224bce6a
minecraftVersion=(MC: 1.16.5)
asyncFilterManager=com.comphenix.protocol.async.AsyncFilterManager@7c7fe706
pluginVerifier=com.comphenix.protocol.injector.PluginVerifier@41f585d0
inboundListeners=com.comphenix.protocol.injector.SortedPacketListenerList@10311dff
outboundListeners=com.comphenix.protocol.injector.SortedPacketListenerList@6cf5b90d
registeredListeners=[]
packetInjector=com.comphenix.protocol.injector.netty.manager.NetworkManagerPacketInjector@6fb13442
playerInjectionHandler=com.comphenix.protocol.injector.netty.manager.NetworkManagerPlayerInjector@287f761
networkManagerInjector=com.comphenix.protocol.injector.netty.manager.NetworkManagerInjector@1ac1cc2b
debug=false
closed=false
injected=true
]
Sender:
com.comphenix.protocol.ProtocolLib@5bbd33af[
statistics=
packetTask=-1
tickCounter=0
configExpectedMod=-1
updater=com.comphenix.protocol.updater.SpigotUpdater@3dc81fbe
redirectHandler=com.comphenix.protocol.ProtocolLib$2@c9cb99
commandProtocol=com.comphenix.protocol.CommandProtocol@14fdef3f
commandPacket=com.comphenix.protocol.CommandPacket@26ef8644
commandFilter=com.comphenix.protocol.CommandFilter@5b2758c8
packetLogging=com.comphenix.protocol.PacketLogging@157cd536
skipDisable=false
isEnabled=true
loader=org.bukkit.plugin.java.JavaPluginLoader@6e0344b1
server=CraftServer{serverName=Magma,serverVersion=git-Magma-1.16.5-c1c5a946,minecraftVersion=1.16.5}
file=plugins/ProtocolLib(3).jar
description=org.bukkit.plugin.PluginDescriptionFile@34842293
dataFolder=plugins/ProtocolLib
classLoader=org.bukkit.plugin.java.PluginClassLoader@1941b6e6
naggable=true
newConfig=YamlConfiguration[path='', root='YamlConfiguration']
configFile=plugins/ProtocolLib/config.yml
logger=org.bukkit.plugin.PluginLogger@26a27730
]
Version:
ProtocolLib v5.0.0-SNAPSHOT-b614
Java Version:
1.8.0_322
Server:
git-Magma-1.16.5-c1c5a946 (MC: 1.16.5)