Protocollib not working
Guney7 opened this issue ยท 0 comments
[14:30:26 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.ExceptionInInitializerError
at ProtocolLib.jar//com.comphenix.protocol.injector.netty.ProtocolInjector.(ProtocolInjector.java:69)
at ProtocolLib.jar//com.comphenix.protocol.injector.PacketFilterManager.(PacketFilterManager.java:202)
at ProtocolLib.jar//com.comphenix.protocol.injector.PacketFilterBuilder.buildInternal(PacketFilterBuilder.java:185)
at ProtocolLib.jar//com.comphenix.protocol.injector.PacketFilterBuilder.build(PacketFilterBuilder.java:177)
at ProtocolLib.jar//com.comphenix.protocol.ProtocolLib.onLoad(ProtocolLib.java:203)
at ServerUtils-Bukkit-3.5.3.jar//net.frankheijden.serverutils.bukkit.managers.BukkitPluginManager.loadPluginDescriptions(BukkitPluginManager.java:96)
at ServerUtils-Bukkit-3.5.3.jar//net.frankheijden.serverutils.common.managers.AbstractPluginManager.loadPlugins(AbstractPluginManager.java:78)
at ServerUtils-Bukkit-3.5.3.jar//net.frankheijden.serverutils.common.commands.CommandServerUtils.handleLoadPlugin(CommandServerUtils.java:191)
at ServerUtils-Bukkit-3.5.3.jar//net.frankheijden.serverutils.dependencies.cloud.execution.CommandExecutionHandler.executeFuture(CommandExecutionHandler.java:95)
at ServerUtils-Bukkit-3.5.3.jar//net.frankheijden.serverutils.dependencies.cloud.execution.CommandExecutionCoordinator$SimpleCoordinator.coordinateExecution(CommandExecutionCoordinator.java:123)
at ServerUtils-Bukkit-3.5.3.jar//net.frankheijden.serverutils.dependencies.cloud.CommandManager.executeCommand(CommandManager.java:188)
at ServerUtils-Bukkit-3.5.3.jar//net.frankheijden.serverutils.dependencies.cloud.bukkit.BukkitCommand.execute(BukkitCommand.java:116)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159)
at org.bukkit.craftbukkit.v1_18_R2.CraftServer.dispatchCommand(CraftServer.java:906)
at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2307)
at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2118)
at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2099)
at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:46)
at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:6)
at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$ensureRunningOnSameThread$1(PlayerConnectionUtils.java:51)
at net.minecraft.server.TickTask.run(TickTask.java:18)
at net.minecraft.util.thread.IAsyncTaskHandler.d(IAsyncTaskHandler.java:153)
at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(IAsyncTaskHandlerReentrant.java:24)
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1400)
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:188)
at net.minecraft.util.thread.IAsyncTaskHandler.y(IAsyncTaskHandler.java:126)
at net.minecraft.server.MinecraftServer.be(MinecraftServer.java:1377)
at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1370)
at net.minecraft.util.thread.IAsyncTaskHandler.c(IAsyncTaskHandler.java:136)
at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1348)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1230)
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316)
at java.base/java.lang.Thread.run(Thread.java:1589)
Caused by: java.lang.UnsupportedOperationException: Cannot define class using reflection: Unable to make protected java.lang.Package java.lang.ClassLoader.getPackage(java.lang.String) accessible: module java.base does not "opens java.lang" to unnamed module @21a42f07
at ProtocolLib.jar//com.comphenix.net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection$Dispatcher$Initializable$Unavailable.defineClass(ClassInjector.java:471)
at ProtocolLib.jar//com.comphenix.net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection.injectRaw(ClassInjector.java:283)
at ProtocolLib.jar//com.comphenix.net.bytebuddy.dynamic.loading.ClassInjector$AbstractBase.inject(ClassInjector.java:117)
at ProtocolLib.jar//com.comphenix.net.bytebuddy.dynamic.loading.ClassLoadingStrategy$Default$InjectionDispatcher.load(ClassLoadingStrategy.java:243)
at ProtocolLib.jar//com.comphenix.net.bytebuddy.dynamic.loading.ClassLoadingStrategy$Default.load(ClassLoadingStrategy.java:150)
at ProtocolLib.jar//com.comphenix.net.bytebuddy.dynamic.TypeResolutionStrategy$Passive.initialize(TypeResolutionStrategy.java:101)
at ProtocolLib.jar//com.comphenix.net.bytebuddy.dynamic.DynamicType$Default$Unloaded.load(DynamicType.java:6161)
at ProtocolLib.jar//com.comphenix.protocol.injector.server.TemporaryPlayerFactory.setupProxyPlayerConstructor(TemporaryPlayerFactory.java:187)
at ProtocolLib.jar//com.comphenix.protocol.injector.server.TemporaryPlayerFactory.(TemporaryPlayerFactory.java:51)
... 33 more
Dump:
Parameters:
[NULL]
Sender:
com.comphenix.protocol.ProtocolLib@40cc9651[
statistics=
backgroundCompiler=
packetTask=-1
tickCounter=0
unhookTask=com.comphenix.protocol.injector.DelayedSingleTask@5e5f963e
configExpectedMod=-1
updater=com.comphenix.protocol.updater.SpigotUpdater@7a85edba
redirectHandler=
commandProtocol=
commandPacket=
commandFilter=
packetLogging=
skipDisable=false
isEnabled=false
loader=org.bukkit.plugin.java.JavaPluginLoader@60f77d70
server=CraftServer{serverName=Paper,serverVersion=git-Paper-385,minecraftVersion=1.18.2}
file=plugins\ProtocolLib.jar
description=org.bukkit.plugin.PluginDescriptionFile@5b9fa312
dataFolder=plugins\ProtocolLib
classLoader=PluginClassLoader{plugin=ProtocolLib v4.8.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@39ce60be
]
Version:
ProtocolLib v4.8.0
Java Version:
19.0.1
Server:
git-Paper-385 (MC: 1.18.2)
[14:30:26 INFO]: [ProtocolLib] Enabling ProtocolLib v4.8.0
[14:30:26 ERROR]: ******************************************************
[14:30:26 ERROR]: *** ProtocolLib does not support plugin reloaders! ***
[14:30:26 ERROR]: *** Please use the built-in reload command! ***
[14:30:26 ERROR]: ******************************************************
[14:30:26 INFO]: [ProtocolLib] Disabling ProtocolLib v4.8.0