kettingpowered / Ketting-1-20-x

A fork of MinecraftForge with added Bukkit & Spigot patches
Other
81 stars 15 forks source link

[1.20.1] [ProtocolLib] | Problem with the plugin not opening after the last update #370

Open TeQTabanca opened 1 day ago

TeQTabanca commented 1 day ago

Basic questions:

What Minecraft Version is your Server on?

1.20.1

Full Ketting Version

1.20.1-47.3.11-0.3.29

Description of behavior

Even though it is just the ProtocolLib plugin, it gives an error in the console.

[21:32:29] [Server thread/INFO] [co.co.pr.ProtocolLib/]: [ProtocolLib] Loading ProtocolLib v5.2.0-SNAPSHOT-679
[21:32:34] [Server thread/ERROR] [or.bu.cr.v1.CraftServer/]: null initializing ProtocolLib v5.2.0-SNAPSHOT-679 (Is it up to date?)
java.lang.ExceptionInInitializerError: null
        at com.comphenix.protocol.injector.netty.manager.NetworkManagerInjector.<clinit>(NetworkManagerInjector.java:39) ~[?:?] {}
        at com.comphenix.protocol.injector.PacketFilterManager.<init>(PacketFilterManager.java:111) ~[?:?] {}
        at com.comphenix.protocol.injector.PacketFilterBuilder.build(PacketFilterBuilder.java:121) ~[?:?] {}
        at com.comphenix.protocol.ProtocolLib.onLoad(ProtocolLib.java:183) ~[?:?] {}
        at org.bukkit.craftbukkit.v1_20_R1.CraftServer.loadPlugins(CraftServer.java:420) ~[?:?] {re:classloading}
        at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:210) ~[?:?] {re:computing_frames,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:connector_pre_launch:A}
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:887) ~[?:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraftserver,xf:fml:xaerominimap:xaero_minecraftserver,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraftserver,xf:fml:xaerominimap:xaero_minecraftserver,pl:mixin:APP:citadel.mixins.json:MinecraftServerMixin from mod citadel,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin from mod balm,pl:mixin:APP:connectormod.mixins.json:registries.MinecraftServerMixin from mod connectormod,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:MinecraftServerMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:automodpack-main.mixins.json:core.MinecraftServerMixin from mod (unknown),pl:mixin:APP:fabric-resource-loader-v0.mixins.json:MinecraftServerMixin from mod fabric_resource_loader_v0,pl:mixin:APP:fabric-message-api-v1.mixins.json:MinecraftServerMixin from mod fabric_message_api_v1,pl:mixin:A,pl:connector_pre_launch:A}
        at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:269) ~[?:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraftserver,xf:fml:xaerominimap:xaero_minecraftserver,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraftserver,xf:fml:xaerominimap:xaero_minecraftserver,pl:mixin:APP:citadel.mixins.json:MinecraftServerMixin from mod citadel,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin from mod balm,pl:mixin:APP:connectormod.mixins.json:registries.MinecraftServerMixin from mod connectormod,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:MinecraftServerMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:automodpack-main.mixins.json:core.MinecraftServerMixin from mod (unknown),pl:mixin:APP:fabric-resource-loader-v0.mixins.json:MinecraftServerMixin from mod fabric_resource_loader_v0,pl:mixin:APP:fabric-message-api-v1.mixins.json:MinecraftServerMixin from mod fabric_message_api_v1,pl:mixin:A,pl:connector_pre_launch:A}
        at java.lang.Thread.run(Thread.java:1575) ~[?:?] {re:mixin}
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 @5494a2ea
        at com.comphenix.net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection$Dispatcher$Initializable$Unavailable.defineClass(ClassInjector.java:472) ~[?:?] {}
        at com.comphenix.net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection.injectRaw(ClassInjector.java:284) ~[?:?] {}
        at com.comphenix.net.bytebuddy.dynamic.loading.ClassInjector$AbstractBase.inject(ClassInjector.java:118) ~[?:?] {}
        at com.comphenix.net.bytebuddy.dynamic.loading.ClassLoadingStrategy$Default$InjectionDispatcher.load(ClassLoadingStrategy.java:241) ~[?:?] {}
        at com.comphenix.net.bytebuddy.dynamic.loading.ClassLoadingStrategy$Default.load(ClassLoadingStrategy.java:148) ~[?:?] {}
        at com.comphenix.net.bytebuddy.dynamic.TypeResolutionStrategy$Passive.initialize(TypeResolutionStrategy.java:101) ~[?:?] {}
        at com.comphenix.net.bytebuddy.dynamic.DynamicType$Default$Unloaded.load(DynamicType.java:6325) ~[?:?] {}
        at com.comphenix.protocol.injector.temporary.TemporaryPlayerFactory.setupProxyPlayerConstructor(TemporaryPlayerFactory.java:159) ~[?:?] {}
        at com.comphenix.protocol.injector.temporary.TemporaryPlayerFactory.<clinit>(TemporaryPlayerFactory.java:47) ~[?:?] {}
        ... 9 more
[21:32:34] [Server thread/INFO] [co.co.pr.ProtocolLib/]: [ProtocolLib] Enabling ProtocolLib v5.2.0-SNAPSHOT-679
[21:32:34] [Server thread/ERROR] [Minecraft/]: ******************************************************
[21:32:34] [Server thread/ERROR] [Minecraft/]: *** ProtocolLib does not support plugin reloaders! ***
[21:32:34] [Server thread/ERROR] [Minecraft/]: *** Please use the built-in reload command!        ***
[21:32:34] [Server thread/ERROR] [Minecraft/]: ******************************************************
[21:32:34] [Server thread/INFO] [co.co.pr.ProtocolLib/]: [ProtocolLib] Disabling ProtocolLib v5.2.0-SNAPSHOT-679

Reproduction Steps

Steps to reproduce the behavior:
1. Just install ProtocolLib plugin.
2. Run the server
3. See the plugin error

Logs

Logs

Additional context

No response

p0t4t0sandwich commented 1 day ago

Double check that you have the right version of ProtocolLib, as if you're using a newer or older release it may not work right (especially on hybrids)

According to my notes, ProtocolLib v5.1.0 should work with 1.20.1

TeQTabanca commented 1 day ago

Double check that you have the right version of ProtocolLib, as if you're using a newer or older release it may not work right (especially on hybrids)

This version was working fine...

p0t4t0sandwich commented 1 day ago

Try ProtocolLib v5.1.0 and see how that goes, working fine previously doesn't mean working fine now lol (Arclight needs v5.1.0 last I checked as well)

p0t4t0sandwich commented 1 day ago

ProtocolLib uses lots of weird reflection stuff, so compat can differ quite a bit between plugin versions when working with hybrids.

TeQTabanca commented 1 day ago

Try ProtocolLib v5.1.0 and see how that goes, working fine previously doesn't mean working fine now lol (Arclight needs v5.1.0 last I checked as well)

This is the version you suggested. The problem is not in the plugin, the problem is in the ketting.

[21:49:47] [Server thread/INFO] [co.co.pr.ProtocolLib/]: [ProtocolLib] Loading ProtocolLib v5.1.0
[21:49:51] [Server thread/ERROR] [or.bu.cr.v1.CraftServer/]: null initializing ProtocolLib v5.1.0 (Is it up to date?)
java.lang.ExceptionInInitializerError: null
        at com.comphenix.protocol.injector.netty.manager.NetworkManagerInjector.<clinit>(NetworkManagerInjector.java:40) ~[?:?] {}
        at com.comphenix.protocol.injector.PacketFilterManager.<init>(PacketFilterManager.java:111) ~[?:?] {}
        at com.comphenix.protocol.injector.PacketFilterBuilder.build(PacketFilterBuilder.java:121) ~[?:?] {}
        at com.comphenix.protocol.ProtocolLib.onLoad(ProtocolLib.java:183) ~[?:?] {}
        at org.bukkit.craftbukkit.v1_20_R1.CraftServer.loadPlugins(CraftServer.java:420) ~[?:?] {re:classloading}
        at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:210) ~[?:?] {re:computing_frames,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:connector_pre_launch:A}
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:887) ~[?:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraftserver,xf:fml:xaerominimap:xaero_minecraftserver,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraftserver,xf:fml:xaerominimap:xaero_minecraftserver,pl:mixin:APP:citadel.mixins.json:MinecraftServerMixin from mod citadel,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin from mod balm,pl:mixin:APP:connectormod.mixins.json:registries.MinecraftServerMixin from mod connectormod,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:MinecraftServerMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:automodpack-main.mixins.json:core.MinecraftServerMixin from mod (unknown),pl:mixin:APP:fabric-resource-loader-v0.mixins.json:MinecraftServerMixin from mod fabric_resource_loader_v0,pl:mixin:APP:fabric-message-api-v1.mixins.json:MinecraftServerMixin from mod fabric_message_api_v1,pl:mixin:A,pl:connector_pre_launch:A}
        at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:269) ~[?:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraftserver,xf:fml:xaerominimap:xaero_minecraftserver,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraftserver,xf:fml:xaerominimap:xaero_minecraftserver,pl:mixin:APP:citadel.mixins.json:MinecraftServerMixin from mod citadel,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin from mod balm,pl:mixin:APP:connectormod.mixins.json:registries.MinecraftServerMixin from mod connectormod,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:MinecraftServerMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:automodpack-main.mixins.json:core.MinecraftServerMixin from mod (unknown),pl:mixin:APP:fabric-resource-loader-v0.mixins.json:MinecraftServerMixin from mod fabric_resource_loader_v0,pl:mixin:APP:fabric-message-api-v1.mixins.json:MinecraftServerMixin from mod fabric_message_api_v1,pl:mixin:A,pl:connector_pre_launch:A}
        at java.lang.Thread.run(Thread.java:1575) ~[?:?] {re:mixin}
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 @7fe57aa5
        at com.comphenix.net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection$Dispatcher$Initializable$Unavailable.defineClass(ClassInjector.java:472) ~[?:?] {}
        at com.comphenix.net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection.injectRaw(ClassInjector.java:284) ~[?:?] {}
        at com.comphenix.net.bytebuddy.dynamic.loading.ClassInjector$AbstractBase.inject(ClassInjector.java:118) ~[?:?] {}
        at com.comphenix.net.bytebuddy.dynamic.loading.ClassLoadingStrategy$Default$InjectionDispatcher.load(ClassLoadingStrategy.java:241) ~[?:?] {}
        at com.comphenix.net.bytebuddy.dynamic.loading.ClassLoadingStrategy$Default.load(ClassLoadingStrategy.java:148) ~[?:?] {}
        at com.comphenix.net.bytebuddy.dynamic.TypeResolutionStrategy$Passive.initialize(TypeResolutionStrategy.java:101) ~[?:?] {}
        at com.comphenix.net.bytebuddy.dynamic.DynamicType$Default$Unloaded.load(DynamicType.java:6317) ~[?:?] {}
        at com.comphenix.protocol.injector.temporary.TemporaryPlayerFactory.setupProxyPlayerConstructor(TemporaryPlayerFactory.java:159) ~[?:?] {}
        at com.comphenix.protocol.injector.temporary.TemporaryPlayerFactory.<clinit>(TemporaryPlayerFactory.java:47) ~[?:?] {}
        ... 9 more
[21:49:51] [Server thread/INFO] [co.co.pr.ProtocolLib/]: [ProtocolLib] Enabling ProtocolLib v5.1.0
[21:49:51] [Server thread/ERROR] [Minecraft/]: ******************************************************
[21:49:51] [Server thread/ERROR] [Minecraft/]: *** ProtocolLib does not support plugin reloaders! ***
[21:49:51] [Server thread/ERROR] [Minecraft/]: *** Please use the built-in reload command!        ***
[21:49:51] [Server thread/ERROR] [Minecraft/]: ******************************************************
[21:49:51] [Server thread/INFO] [co.co.pr.ProtocolLib/]: [ProtocolLib] Disabling ProtocolLib v5.1.0