important plugin error
rafi67000 opened this issue ยท 23 comments
- This issue is not solved in a development build
Describe the bug
when I'm trying to start server protocollib can't load
latest paper 1.8.8 445(build)
EDIT: I've installed protocollib 5.0 on my bedwars server with swm and everything works so I don't know what's wrong....
4.8.0 works but 5.0 don't (I need 5.0)
ANOTHER EDIT: I changed version to 5.0.0-SNAPSHOT-b556 and now works
To Reproduce
Steps to reproduce the behavior:
- install 1.8.8 server (this problem occurs on differents fork's and clear paper too)
- install protocollib 5.0
- start server
enjoy bug ๐
Expected behavior
protocollib will load
Screenshots
nah
Version Info
I can't cause plugin can't load
Additional context
[15:54:59] [Server thread/INFO]: [ProtocolLib] Loading ProtocolLib v5.0.0-SNAPSHOT-b600
[15:54:59] [Server thread/WARN]: java.lang.IllegalStateException: Unable to access field private final org.bukkit.craftbukkit.v1_8_R3.CraftWorld net.minecraft.server.v1_8_R3.World.world
[15:54:59] [Server thread/WARN]: at com.comphenix.protocol.reflect.accessors.MethodHandleHelper.getFieldAccessor(MethodHandleHelper.java:103)
[15:54:59] [Server thread/WARN]: at com.comphenix.protocol.reflect.accessors.Accessors.getFieldAccessor(Accessors.java:84)
[15:54:59] [Server thread/WARN]: at com.comphenix.protocol.reflect.accessors.Accessors.getFieldAccessor(Accessors.java:56)
[15:54:59] [Server thread/WARN]: at com.comphenix.protocol.wrappers.BukkitConverters.(BukkitConverters.java:126)
[15:54:59] [Server thread/WARN]: at com.comphenix.protocol.reflect.instances.MinecraftGenerator.(MinecraftGenerator.java:30)
[15:54:59] [Server thread/WARN]: at com.comphenix.protocol.reflect.instances.DefaultInstances.(DefaultInstances.java:40)
[15:54:59] [Server thread/WARN]: at com.comphenix.protocol.reflect.StructureModifier.getDefaultGenerator(StructureModifier.java:129)
[15:54:59] [Server thread/WARN]: at com.comphenix.protocol.reflect.StructureModifier.(StructureModifier.java:52)
[15:54:59] [Server thread/WARN]: at com.comphenix.protocol.injector.packet.PacketRegistry.createOldRegister(PacketRegistry.java:115)
[15:54:59] [Server thread/WARN]: at com.comphenix.protocol.injector.packet.PacketRegistry.initialize(PacketRegistry.java:283)
[15:54:59] [Server thread/WARN]: at com.comphenix.protocol.injector.packet.PacketRegistry.getClientPacketTypes(PacketRegistry.java:314)
[15:54:59] [Server thread/WARN]: at com.comphenix.protocol.injector.PacketFilterManager.(PacketFilterManager.java:117)
[15:54:59] [Server thread/WARN]: at com.comphenix.protocol.injector.PacketFilterBuilder.build(PacketFilterBuilder.java:120)
[15:54:59] [Server thread/WARN]: at com.comphenix.protocol.ProtocolLib.onLoad(ProtocolLib.java:175)
[15:54:59] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:298)
[15:54:59] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:202)
[15:54:59] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:563)
[15:54:59] [Server thread/WARN]: at java.base/java.lang.Thread.run(Thread.java:840)
[15:54:59] [Server thread/ERROR]: null initializing ProtocolLib v5.0.0-SNAPSHOT-b600 (Is it up to date?)
java.lang.NullPointerException: null
at com.comphenix.protocol.error.DetailedErrorReporter.reportDetailed(DetailedErrorReporter.java:394) ~[?:?]
at com.comphenix.protocol.error.DelegatedErrorReporter.reportDetailed(DelegatedErrorReporter.java:63) ~[?:?]
at com.comphenix.protocol.error.DelegatedErrorReporter.reportDetailed(DelegatedErrorReporter.java:87) ~[?:?]
at com.comphenix.protocol.ProtocolLib.onLoad(ProtocolLib.java:186) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:298) [patched_1.8.8.jar:git-PaperSpigot-445]
at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:202) [patched_1.8.8.jar:git-PaperSpigot-445]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:563) [patched_1.8.8.jar:git-PaperSpigot-445]
at java.lang.Thread.run(Thread.java:840) [?:?]
https://prnt.sc/VxgPCW-ZLVS-
check this part in your pastebin
so.. it's jre 18 compatible with minecraft 1.8.8?
well I have my fork and it has jre 18 support
https://prnt.sc/VxgPCW-ZLVS- check this part in your pastebin
idk what do you mean
version b556 works with java 17 but b600 no
b600 works with java 18/19 but with jre17 no
I found the answer on the Spigot page, it was easy to overlook.
Use the latest dev build for Minecraft 1.19
The build #600 are you trying to say?
bro I had problem with #600 so I went back to b556 and now works....
Yes, switching to build #600 stopped these errors on my servers.
That's unfortunate. I guess I lucked out with it.
java -version
java version "17.0.1" 2021-10-19 LTS
Java(TM) SE Runtime Environment (build 17.0.1+12-LTS-39)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.1+12-LTS-39, mixed mode, sharing)
ยฏ\_(ใ)_/ยฏ
@rafi67000 which Java version + vendor are you using? (Please provide the output of java -version
)
Let me test on openj9, might be that there are conflicts with our reflection handling there.
openj9 is very nice because of garbage collectors and performance
ps. b600 don't work but older version (b556 idk how about later versions) works
https://pastebin.com/Q7kpx1Cd latets.log
container@pterodactyl~ java -version
openjdk version "17.0.4.1" 2022-08-12
IBM Semeru Runtime Open Edition 17.0.4.1 (build 17.0.4.1+1)
Eclipse OpenJ9 VM 17.0.4.1 (build openj9-0.33.1, JRE 17 Linux aarch64-64-Bit Compressed References 20220812_239 (JIT enabled, AOT enabled)
OpenJ9 - 1d9d16830
OMR - b58aa2708
JCL - 1f4d354e654 based on jdk-17.0.4.1+1)
I have recently tried with the recent compilation #602 and it doesn't work.
bro I had problem with #600 so I went back to b556 and now works....
Are you still using build 556? I have the same issue and build 556 can't be downloaded anymore