ProtocolLib fails to load on Paper 1.21.5 (Java 22) — ProtocolInfo$a error
CevyPlays opened this issue · 4 comments
This issue is not solved in a development build
Describe the bug
ProtocolLib fails to initialize on Paper 1.21.5 with Java 22. The server log throws an INTERNAL ERROR: Cannot load ProtocolLib. Unable to find network.ProtocolInfo$a (network.ProtocolInfo$Unbound). This causes plugins like Oraxen, GlowAPI, and DeluxeMenus to fail or partially load.
To Reproduce
Install Paper 1.21.5 (build 99 or higher)
Add ProtocolLib 5.3.0-SNAPSHOT (latest dev build from Jenkins)
Start server with Java 22
Observe console log
Expected behavior
ProtocolLib should load without errors and provide packet support to dependent plugins.
Screenshots
N/A – log file output instead.
Version Info
Unfortunately /protocol dump doesn’t work due to the plugin not loading, but here's the environment:
Server Type: Paper 1.21.5 (Build #105)
Java Version: Java 22.0.1
ProtocolLib Version: 5.3.0-SNAPSHOT (Build #677 – June 2025)
Plugins Installed: Oraxen, DeluxeMenus, Geyser, Citizens, Vault, MythicMobs, GlowAPI, etc.
Error Snippet:
[ProtocolLib] INTERNAL ERROR: Cannot load ProtocolLib.
Unable to find network.ProtocolInfo$a (network.ProtocolInfo$Unbound)
it appears that the issue is actually stemming from Oraxen. when i remove Oraxen and its file, the issue is gone.
I switched to Java 21, per Oraxen request, and its still an issue. but it appears that this issue is on Oraxen's end. I'm running a Paper 1.21.5 server on Apex Hosting with Java 21 and ProtocolLib 5.3.0. The moment I install Oraxen (with no custom configurations or assets), the server starts without errors, but no players can connect — on both Java and Bedrock (via Geyser/Floodgate).
There are no console errors — Oraxen reports it loads correctly — but as soon as it's enabled, all join attempts hang or return connection refused. The issue is 100% tied to Oraxen: as soon as I delete the plugin, the server becomes instantly accessible again.
I’ve tested:
Clean install of Oraxen with default config
Disabling pack upload and dispatch
Adding resourcepack.enabled: false to settings.yml
Running Java 21 on Paper 1.21.5 with matching ProtocolLib
Fresh server reboots
Despite all that, the presence of Oraxen alone causes total network disconnection from clients. This appears to be an internal resourcepack hosting issue failing silently on shared hosts like Apex.
Trying to work with Oraxen's support team for a resolution, and ill post what i find.