ProtocolLib

3M Downloads

Cannot compile structure Compiler Error

Savagent opened this issue ยท 2 comments

commented

[22:06:46 ERROR]: [ProtocolLib] INTERNAL ERROR: Cannot compile structure. Disabing compiler.
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.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @1da4e861
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:357)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199)
at java.base/java.lang.reflect.Method.setAccessible(Method.java:193)
at com.comphenix.protocol.reflect.compiler.StructureCompiler.generateClass(StructureCompiler.java:299)
at com.comphenix.protocol.reflect.compiler.StructureCompiler.compile(StructureCompiler.java:213)
at com.comphenix.protocol.reflect.compiler.BackgroundCompiler$2.call(BackgroundCompiler.java:204)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:831)
Dump:
Parameters:
com.comphenix.protocol.reflect.StructureModifier@79fac789[
targetType=class net.minecraft.server.v1_16_R3.PacketPlayInFlying$PacketPlayInPositionLook
target=
converter=
fieldType=class java.lang.Object
data=[public double net.minecraft.server.v1_16_R3.PacketPlayInFlying.x, public double net.minecraft.server.v1_16_R3.PacketPlayInFlying.y, public double net.minecraft.server.v1_16_R3.PacketPlayInFlying.z, public float net.minecraft.server.v1_16_R3.PacketPlayInFlying.yaw, public float net.minecraft.server.v1_16_R3.PacketPlayInFlying.pitch, protected boolean net.minecraft.server.v1_16_R3.PacketPlayInFlying.f, public boolean net.minecraft.server.v1_16_R3.PacketPlayInFlying.hasPos, public boolean net.minecraft.server.v1_16_R3.PacketPlayInFlying.hasLook]
defaultFields={}
subtypeCache={double=StructureModifier[fieldType=double, data=[public double net.minecraft.server.v1_16_R3.PacketPlayInFlying.x, public double net.minecraft.server.v1_16_R3.PacketPlayInFlying.y, public double net.minecraft.server.v1_16_R3.PacketPlayInFlying.z]], boolean=StructureModifier[fieldType=boolean, data=[protected boolean net.minecraft.server.v1_16_R3.PacketPlayInFlying.f, public boolean net.minecraft.server.v1_16_R3.PacketPlayInFlying.hasPos, public boolean net.minecraft.server.v1_16_R3.PacketPlayInFlying.hasLook]], float=StructureModifier[fieldType=float, data=[public float net.minecraft.server.v1_16_R3.PacketPlayInFlying.yaw, public float net.minecraft.server.v1_16_R3.PacketPlayInFlying.pitch]]}
customConvertHandling=false
useStructureCompiler=true
]
manager:
com.comphenix.protocol.injector.PacketFilterManager@2bd5845[
unhookTask=com.comphenix.protocol.injector.DelayedSingleTask@3ab7dbf5
packetListeners=[PacketAdapter[plugin=Themis, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=NORMAL, packets=[ABILITIES[class=PacketPlayInAbilities, id=26]], gamephase=PLAYING, options=[]]], PacketAdapter[plugin=Themis, sending=ListeningWhitelist[priority=NORMAL, packets=[EXPLOSION[class=PacketPlayOutExplosion, id=27]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=Themis, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=NORMAL, packets=[FLYING[class=PacketPlayInFlying, id=21], POSITION_LOOK[class=PacketPlayInPositionLook, id=19], LOOK[class=PacketPlayInLook, id=20], POSITION[class=PacketPlayInPosition, id=18]], gamephase=PLAYING, options=[]]], PacketAdapter[plugin=Themis, sending=ListeningWhitelist[priority=NORMAL, packets=[KEEP_ALIVE[class=PacketPlayInKeepAlive, id=16], KEEP_ALIVE[class=PacketPlayOutKeepAlive, id=31]], gamephase=PLAYING, options=[]], receiving=ListeningWhitelist[priority=NORMAL, packets=[KEEP_ALIVE[class=PacketPlayInKeepAlive, id=16], KEEP_ALIVE[class=PacketPlayOutKeepAlive, id=31]], gamephase=PLAYING, options=[]]], PacketAdapter[plugin=Themis, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=LOW, packets=[FLYING[class=PacketPlayInFlying, id=21], POSITION_LOOK[class=PacketPlayInPositionLook, id=19], LOOK[class=PacketPlayInLook, id=20], POSITION[class=PacketPlayInPosition, id=18]], gamephase=PLAYING, options=[]]], PacketAdapter[plugin=HolographicDisplays, sending=ListeningWhitelist[priority=NORMAL, packets=[SPAWN_ENTITY_LIVING[class=PacketPlayOutSpawnEntityLiving, id=2], SPAWN_ENTITY[class=PacketPlayOutSpawnEntity, id=0], ENTITY_METADATA[class=PacketPlayOutEntityMetadata, id=68], REL_ENTITY_MOVE[class=PacketPlayOutRelEntityMove, id=39], REL_ENTITY_MOVE_LOOK[class=PacketPlayOutRelEntityMoveLook, id=40]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=ChatItemDisplay, sending=ListeningWhitelist[priority=LOWEST, packets=[CHAT[class=PacketPlayOutChat, id=14]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=ChatItemDisplay, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=LOWEST, packets=[AUTO_RECIPE[class=PacketPlayInAutoRecipe, id=25]], gamephase=PLAYING, options=[]]], com.guillaumevdn.gcorelegacy.lib.npc.NpcPacketListener@560d64f]
packetInjector=com.comphenix.protocol.injector.netty.ProtocolInjector$5@5d785573
playerInjection=com.comphenix.protocol.injector.netty.ProtocolInjector$4@5006e169
inputBufferedPackets=[]
recievedListeners=com.comphenix.protocol.injector.SortedPacketListenerList@3891e45c
sendingListeners=com.comphenix.protocol.injector.SortedPacketListenerList@3c7de8c8
hasClosed=false
classLoader=PluginClassLoader{plugin=ProtocolLib v4.6.0, pluginEnabled=true, url=plugins/ProtocolLib.jar}
reporter=com.comphenix.protocol.ProtocolLib$1@23b1f1f9
server=CraftServer{serverName=Paper,serverVersion=git-Paper-775,minecraftVersion=1.16.5}
library=ProtocolLib v4.6.0
asyncFilterManager=com.comphenix.protocol.async.AsyncFilterManager@735fee8c
knowsServerPackets=true
knowsClientPackets=true
phaseLoginCount=0
phasePlayingCount=10
packetCreation=false
nettyInjector=com.comphenix.protocol.injector.netty.ProtocolInjector@1e4daeec
pluginVerifier=com.comphenix.protocol.injector.PluginVerifier@57dcde9
hasRecycleDistance=true
minecraftVersion=(MC: 1.16.5)
debug=false
]
Sender:
com.comphenix.protocol.reflect.compiler.BackgroundCompiler@227d02ff[
listeners={com.comphenix.protocol.reflect.compiler.StructureCompiler$StructureKey@5058a91c=[com.comphenix.protocol.injector.StructureCache$1@6098a082]}
listenerLock=java.lang.Object@13d148b3
compiler=com.comphenix.protocol.reflect.compiler.StructureCompiler@7828cda5
enabled=false
shuttingDown=false
executor=java.util.concurrent.Executors$FinalizableDelegatedExecutorService@328852a5
reporter=com.comphenix.protocol.ProtocolLib$1@23b1f1f9
unknownPermGenBean=java.lang.Object@173168c6
permGenBean=
disablePermGenFraction=0.65
]
Version:
ProtocolLib v4.6.0
Java Version:
16.0.1
Server:
git-Paper-775 (MC: 1.16.5)

commented

X2

commented

See #1190. Using the recommended dev build for 1.16 does fix it.