java.lang.IllegalArgumentException: Unable to find a field that matches {modifiers=[required: 10000, banned: 1000], type={ type input instanceof interface java.util.Map }}
FairfieldTekLLC opened this issue · 5 comments
[16:23:51] [Server thread/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 com.comphenix.protocol.reflect.FuzzyReflection.getField(FuzzyReflection.java:352)
at com.comphenix.protocol.injector.packet.PacketRegistry.createNewRegister(PacketRegistry.java:183)
at com.comphenix.protocol.injector.packet.PacketRegistry.initialize(PacketRegistry.java:334)
at com.comphenix.protocol.injector.packet.PacketRegistry.getClientPacketTypes(PacketRegistry.java:369)
at com.comphenix.protocol.injector.PacketFilterManager.(PacketFilterManager.java:120)
at com.comphenix.protocol.injector.PacketFilterBuilder.build(PacketFilterBuilder.java:121)
at com.comphenix.protocol.ProtocolLib.onLoad(ProtocolLib.java:183)
at org.bukkit.craftbukkit.v1_21_R1.CraftServer.loadPlugins(CraftServer.java:469)
at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:236)
at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1017)
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318)
at java.base/java.lang.Thread.run(Thread.java:1583)
Dump:
Parameters:
[NULL]
Sender:
com.comphenix.protocol.ProtocolLib@2cabaa18[
statistics=
packetTask=
tickCounter=0
configExpectedMod=-1
updater=com.comphenix.protocol.updater.SpigotUpdater@241514dd
redirectHandler=
scheduler=com.comphenix.protocol.scheduler.DefaultScheduler@551f812d
commandProtocol=
commandPacket=
commandFilter=
packetLogging=
skipDisable=false
isEnabled=false
loader=org.bukkit.plugin.java.JavaPluginLoader@34d41d7f
server=CraftServer{serverName=CraftBukkit,serverVersion=4287-Spigot-fb8fb72-759061b,minecraftVersion=1.21}
file=plugins\ProtocolLib (1).jar
description=org.bukkit.plugin.PluginDescriptionFile@429fc0c8
dataFolder=plugins\ProtocolLib
classLoader=org.bukkit.plugin.java.PluginClassLoader@37ec299f
naggable=true
newConfig=YamlConfiguration[path='', root='YamlConfiguration']
configFile=plugins\ProtocolLib\config.yml
logger=org.bukkit.plugin.PluginLogger@7694a104
]
Version:
ProtocolLib v5.2.0-SNAPSHOT-679
Java Version:
21.0.3
Server:
4287-Spigot-fb8fb72-759061b (MC: 1.21)
Yes, I have a similar problem as well
14:28:17] [Server thread/ERROR]: [MythicMobs] �[31m[EVENTS] Exception thrown whilst handling event: com.comphenix.protocol.events.PacketEvent�[37m [14:28:17] [Server thread/WARN]: java.lang.IllegalArgumentException: Unable to find a field that matches {modifiers=[required: 0, banned: 0], type={ type exactly class net.minecraft.server.v1_12_R1.Entity }} [14:28:17] [Server thread/WARN]: at com.comphenix.protocol.reflect.FuzzyReflection.getField(FuzzyReflection.java:352) [14:28:17] [Server thread/WARN]: at com.comphenix.protocol.injector.EntityUtilities.lambda$getEntity$0(EntityUtilities.java:127) [14:28:17] [Server thread/WARN]: at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660) [14:28:17] [Server thread/WARN]: at com.comphenix.protocol.injector.EntityUtilities.getEntity(EntityUtilities.java:117) [14:28:17] [Server thread/WARN]: at com.comphenix.protocol.injector.PacketFilterManager.getEntityFromID(PacketFilterManager.java:409) [14:28:17] [Server thread/WARN]: at com.comphenix.protocol.wrappers.BukkitConverters$13.getSpecific(BukkitConverters.java:840) [14:28:17] [Server thread/WARN]: at com.comphenix.protocol.wrappers.BukkitConverters$13.getSpecific(BukkitConverters.java:825) [14:28:17] [Server thread/WARN]: at com.comphenix.protocol.reflect.StructureModifier.readInternal(StructureModifier.java:301) [14:28:17] [Server thread/WARN]: at com.comphenix.protocol.reflect.StructureModifier.read(StructureModifier.java:251) [14:28:17] [Server thread/WARN]: at io.lumine.xikage.mythicmobs.compatibility.ProtocolLibSupport.lambda$load$1(ProtocolLibSupport.java:28) [14:28:17] [Server thread/WARN]: at io.lumine.xikage.mythicmobs.utils.Delegates$ConsumerToBiConsumerSecond.accept(Delegates.java:144) [14:28:17] [Server thread/WARN]: at io.lumine.xikage.mythicmobs.utils.events.functional.protocol.ProtocolListener.onPacket(ProtocolListener.java:122) [14:28:17] [Server thread/WARN]: at io.lumine.xikage.mythicmobs.utils.events.functional.protocol.ProtocolListener.onPacketSending(ProtocolListener.java:81) [14:28:17] [Server thread/WARN]: at com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:219) [14:28:17] [Server thread/WARN]: at com.comphenix.protocol.injector.SortedPacketListenerList.invokeUnpackedPacketSending(SortedPacketListenerList.java:204) [14:28:17] [Server thread/WARN]: at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149) [14:28:17] [Server thread/WARN]: at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:139) [14:28:17] [Server thread/WARN]: at com.comphenix.protocol.injector.PacketFilterManager.postPacketToListeners(PacketFilterManager.java:553) [14:28:17] [Server thread/WARN]: at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:526) [14:28:17] [Server thread/WARN]: at com.comphenix.protocol.injector.netty.manager.NetworkManagerInjector.onPacketSending(NetworkManagerInjector.java:100) [14:28:17] [Server thread/WARN]: at com.comphenix.protocol.injector.netty.channel.NettyChannelInjector.processOutbound(NettyChannelInjector.java:565) [14:28:17] [Server thread/WARN]: at com.comphenix.protocol.injector.netty.channel.NettyChannelInjector$2.doProxyRunnable(NettyChannelInjector.java:468) [14:28:17] [Server thread/WARN]: at com.comphenix.protocol.injector.netty.channel.NettyEventLoopProxy.proxyRunnable(NettyEventLoopProxy.java:43) [14:28:17] [Server thread/WARN]: at com.comphenix.protocol.injector.netty.channel.NettyEventLoopProxy.execute(NettyEventLoopProxy.java:252) [14:28:17] [Server thread/WARN]: at net.minecraft.server.v1_12_R1.NetworkManager.a(NetworkManager.java:209) [14:28:17] [Server thread/WARN]: at net.minecraft.server.v1_12_R1.NetworkManager.sendPacket(NetworkManager.java:157) [14:28:17] [Server thread/WARN]: at net.minecraft.server.v1_12_R1.PlayerConnection.sendPacket(PlayerConnection.java:1203) [14:28:17] [Server thread/WARN]: at net.minecraft.server.v1_12_R1.EntityTrackerEntry.track(EntityTrackerEntry.java:225) [14:28:17] [Server thread/WARN]: at net.minecraft.server.v1_12_R1.EntityTracker.updatePlayers(EntityTracker.java:182) [14:28:17] [Server thread/WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:937) [14:28:17] [Server thread/WARN]: at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) [14:28:17] [Server thread/WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) [14:28:17] [Server thread/WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) [14:28:17] [Server thread/WARN]: at java.lang.Thread.run(Thread.java:750)
Another similar problem:
[10:41:46 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.<init>(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:1215)
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:330)
at java.base/java.lang.Thread.run(Thread.java:1583)
Dump:
Parameters:
[NULL]
Sender:
com.comphenix.protocol.ProtocolLib@5b83aca3[
statistics=<null>
packetTask=<null>
tickCounter=0
configExpectedMod=-1
updater=com.comphenix.protocol.updater.SpigotUpdater@1568623d
redirectHandler=<null>
scheduler=com.comphenix.protocol.scheduler.DefaultScheduler@53c82287
commandProtocol=<null>
commandPacket=<null>
commandFilter=<null>
packetLogging=<null>
skipDisable=false
isEnabled=false
loader=io.papermc.paper.plugin.manager.DummyBukkitPluginLoader@7432c090
server=CraftServer{serverName=Paper,serverVersion=1.21.1-10-098bd39,minecraftVersion=1.21.1}
file=plugins\.paper-remapped\ProtocolLib.jar
description=org.bukkit.plugin.PluginDescriptionFile@5d9062a4
pluginMeta=org.bukkit.plugin.PluginDescriptionFile@5d9062a4
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@5a0bd704
lifecycleEventManager=io.papermc.paper.plugin.lifecycle.event.PaperLifecycleEventManager@74cc45d2
allowsLifecycleRegistration=true
]
Version:
ProtocolLib v5.2.0-SNAPSHOT-679
Java Version:
21.0.1
Server:
1.21.1-10-098bd39 (MC: 1.21.1)```
Should be fixed in the latest dev build so please use the latest dev build and try again: https://ci.dmulloy2.net/job/ProtocolLib/lastSuccessfulBuild/
Should be fixed in the latest dev build so please use the latest dev build and try again: https://ci.dmulloy2.net/job/ProtocolLib/lastSuccessfulBuild/
My server is 1.12.2, when will it be supported in the new version?