ProtocolLib

3M Downloads

ProtocolLib bug

MrVodenoiYT opened this issue ยท 0 comments

commented

Server Version: Paper 1.16.5

[18:33:40] [Server thread/ERROR]: [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.server.v1_16_R3.ServerConnection.listeningChannels
at com.comphenix.protocol.reflect.accessors.MethodHandleHelper.getFieldAccessor(MethodHandleHelper.java:119)
at com.comphenix.protocol.reflect.accessors.Accessors.getFieldAccessor(Accessors.java:84)
at com.comphenix.protocol.injector.netty.manager.NetworkManagerInjector.inject(NetworkManagerInjector.java:203)
at com.comphenix.protocol.injector.PacketFilterManager.registerEvents(PacketFilterManager.java:458)
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:370)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500)
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:518)
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:432)
at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:270)
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1074)
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291)
at net.minecraft.server.v1_16_R3.MinecraftServer$$Lambda$3170/0x000000004db15b10.run(Unknown Source)
at java.base/java.lang.Thread.run(Thread.java:853)
Caused by: java.lang.IllegalAccessException: illegal setter on final field
at java.base/java.lang.invoke.MethodHandles$Lookup.findSetter(MethodHandles.java:1080)
at com.comphenix.protocol.reflect.accessors.MethodHandleHelper.getFieldAccessor(MethodHandleHelper.java:96)
... 14 more
Dump:
manager:
com.comphenix.protocol.injector.PacketFilterManager@3c3d7d[
plugin=ProtocolLib v5.0.0
server=CraftServer{serverName=Paper,serverVersion=git-Paper-790,minecraftVersion=1.16.5}
reporter=com.comphenix.protocol.ProtocolLib$1@b09c7d22
minecraftVersion=(MC: 1.16.5)
asyncFilterManager=com.comphenix.protocol.async.AsyncFilterManager@b285c831
pluginVerifier=com.comphenix.protocol.injector.PluginVerifier@f02155fb
inboundListeners=com.comphenix.protocol.injector.SortedPacketListenerList@75c81af4
outboundListeners=com.comphenix.protocol.injector.SortedPacketListenerList@61f8f0ad
registeredListeners=[]
packetInjector=com.comphenix.protocol.injector.netty.manager.NetworkManagerPacketInjector@98b73b67
playerInjectionHandler=com.comphenix.protocol.injector.netty.manager.NetworkManagerPlayerInjector@f7103625
networkManagerInjector=com.comphenix.protocol.injector.netty.manager.NetworkManagerInjector@acdfbc12
debug=false
closed=false
injected=true
]
Sender:
com.comphenix.protocol.ProtocolLib@137f140b[
statistics=
packetTask=-1
tickCounter=0
configExpectedMod=-1
updater=com.comphenix.protocol.updater.SpigotUpdater@b8a26824
redirectHandler=com.comphenix.protocol.ProtocolLib$2@5b5b5d4
commandProtocol=com.comphenix.protocol.CommandProtocol@296d0ef4
commandPacket=com.comphenix.protocol.CommandPacket@352c44c1
commandFilter=com.comphenix.protocol.CommandFilter@fe299e8a
packetLogging=com.comphenix.protocol.PacketLogging@4b652f54
skipDisable=false
isEnabled=true
loader=org.bukkit.plugin.java.JavaPluginLoader@55f84171
server=CraftServer{serverName=Paper,serverVersion=git-Paper-790,minecraftVersion=1.16.5}
file=plugins/ProtocolLib.jar
description=org.bukkit.plugin.PluginDescriptionFile@49a65b02
dataFolder=plugins/ProtocolLib
classLoader=PluginClassLoader{plugin=ProtocolLib v5.0.0, pluginEnabled=true, url=plugins/ProtocolLib.jar}
naggable=true
newConfig=YamlConfiguration[path='', root='YamlConfiguration']
configFile=plugins/ProtocolLib/config.yml
logger=com.destroystokyo.paper.utils.PaperPluginLogger@99ee4df8
]
Version:
ProtocolLib v5.0.0
Java Version:
16.0.1
Server:
git-Paper-790 (MC: 1.16.5)