Cannot load ProtocolLib
Haz1234 opened this issue ยท 1 comments
Stack Trace:
java.lang.ExceptionInInitializerError
at ProtocolLib (1).jar//com.comphenix.protocol.injector.netty.ProtocolInjector.(ProtocolInjector.java:69)
at ProtocolLib (1).jar//com.comphenix.protocol.injector.PacketFilterManager.(PacketFilterManager.java:202) at ProtocolLib (1).jar//com.comphenix.protocol.injector.PacketFilterBuilder.buildInternal(PacketFilterBuilder.java:185)
at ProtocolLib (1).jar//com.comphenix.protocol.injector.PacketFilterBuilder.build(PacketFilterBuilder.java:177)
at ProtocolLib (1).jar//com.comphenix.protocol.ProtocolLib.onLoad(ProtocolLib.java:203)
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:36)
at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(LaunchEntryPointHandler.java:36)
at org.bukkit.craftbukkit.v1_19_R2.CraftServer.loadPlugins(CraftServer.java:442)
at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:309)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1117)
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:321)
at java.base/java.lang.Thread.run(Thread.java:1623)
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 @342557c8
at ProtocolLib (1).jar//com.comphenix.net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection$Dispatcher$Initializable$Unavailable.defineClass(ClassInjector.java:471)
at ProtocolLib (1).jar//com.comphenix.net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection.injectRaw(ClassInjector.java:283)
at ProtocolLib (1).jar//com.comphenix.net.bytebuddy.dynamic.loading.ClassInjector$AbstractBase.inject(ClassInjector.java:117)
at ProtocolLib (1).jar//com.comphenix.net.bytebuddy.dynamic.loading.ClassLoadingStrategy$Default$InjectionDispatcher.load(ClassLoadingStrategy.java:243)
at ProtocolLib (1).jar//com.comphenix.net.bytebuddy.dynamic.loading.ClassLoadingStrategy$Default.load(ClassLoadingStrategy.java:150)
at ProtocolLib (1).jar//com.comphenix.net.bytebuddy.dynamic.TypeResolutionStrategy$Passive.initialize(TypeResolutionStrategy.java:101)
at ProtocolLib (1).jar//com.comphenix.net.bytebuddy.dynamic.DynamicType$Default$Unloaded.load(DynamicType.java:6161)
at ProtocolLib (1).jar//com.comphenix.protocol.injector.server.TemporaryPlayerFactory.setupProxyPlayerConstructor(TemporaryPlayerFactory.java:187)
at ProtocolLib (1).jar//com.comphenix.protocol.injector.server.TemporaryPlayerFactory.(TemporaryPlayerFactory.java:51)
... 14 more
Dump:
Parameters:
[NULL]
Sender:
com.comphenix.protocol.ProtocolLib@16244ba[
statistics=
backgroundCompiler=
packetTask=-1
tickCounter=0
unhookTask=com.comphenix.protocol.injector.DelayedSingleTask@13d091f5
configExpectedMod=-1
updater=com.comphenix.protocol.updater.SpigotUpdater@8450a1
redirectHandler=
commandProtocol=
commandPacket=
commandFilter=
packetLogging=
skipDisable=false
isEnabled=false
loader=io.papermc.paper.plugin.manager.DummyBukkitPluginLoader@175c6c0f
server=CraftServer{serverName=Purpur,serverVersion=git-Purpur-1933,minecraftVersion=1.19.3}
file=plugins\ProtocolLib (1).jar
description=org.bukkit.plugin.PluginDescriptionFile@2faf174c
pluginMeta=org.bukkit.plugin.PluginDescriptionFile@2faf174c
dataFolder=plugins\ProtocolLib
classLoader=PluginClassLoader{plugin=ProtocolLib v4.8.0, pluginEnabled=false, url=plugins\ProtocolLib (1).jar}
naggable=true
newConfig=YamlConfiguration[path='', root='YamlConfiguration']
configFile=plugins\ProtocolLib\config.yml
logger=com.destroystokyo.paper.utils.PaperPluginLogger@7c9b39b4
]
Version:
ProtocolLib v4.8.0
Java Version:
20
Server:
git-Purpur-1933 (MC: 1.19.3)
This is fixed in the latest dev builds. Find them here: https://ci.dmulloy2.net/job/ProtocolLib/