[ProtocolLib] INTERNAL ERROR: Cannot compile structure. Disabing compiler.
loromms opened this issue ยท 0 comments
Make sure you're doing the following
- [ x] You're using the latest build for your server version
- [ x] This isn't an issue caused by another plugin
- [x ] You've checked for duplicate issues
- [ x] You didn't use
/reload
Describe the question
A clear and concise description of what your question is.
this error made when i connect to the server
API method(s) used
List what API method(s) you're using
Expected behavior
A clear and concise description of what you expected to happen.
Code
If applicable, add relevant code from your project
[02:45:52 INFO]: LorOmms se ha conectado a SupremeCraftSurvival.
[02:45:56 INFO]: Error Cannot compile structure. Disabing compiler. (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 @5eca7eb0) occured in com.comphenix.protocol.reflect.compiler.BackgroundCompiler@f2690b1.
[02:45:56 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 @5eca7eb0
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@36506334[
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={}
customConvertHandling=false
useStructureCompiler=true
]
manager:
com.comphenix.protocol.injector.PacketFilterManager@52326113[
unhookTask=com.comphenix.protocol.injector.DelayedSingleTask@6aab1e4d
packetListeners=[PacketAdapter[plugin=AntiCheatReloaded, sending=ListeningWhitelist[priority=LOWEST, packets=[POSITION_LOOK[class=PacketPlayInPositionLook, id=19], POSITION[class=PacketPlayInPosition, id=18], POSITION[class=PacketPlayOutPosition, id=52]], gamephase=PLAYING, options=[]], receiving=ListeningWhitelist[priority=LOWEST, packets=[POSITION_LOOK[class=PacketPlayInPositionLook, id=19], POSITION[class=PacketPlayInPosition, id=18], POSITION[class=PacketPlayOutPosition, id=52]], gamephase=PLAYING, options=[]]], PacketAdapter[plugin=AntiCheatReloaded, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=LOWEST, packets=[BLOCK_DIG[class=PacketPlayInBlockDig, id=27]], gamephase=PLAYING, options=[]]], PacketAdapter[plugin=VotingPlugin, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=NORMAL, packets=[UPDATE_SIGN[class=PacketPlayInUpdateSign, id=43]], gamephase=PLAYING, options=[]]], PacketAdapter[plugin=AuthMe, sending=ListeningWhitelist[priority=NORMAL, packets=[WINDOW_ITEMS[class=PacketPlayOutWindowItems, id=19], SET_SLOT[class=PacketPlayOutSetSlot, id=21]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=AntiCheatReloaded, sending=ListeningWhitelist[priority=LOWEST, packets=[KEEP_ALIVE[class=PacketPlayInKeepAlive, id=16], KEEP_ALIVE[class=PacketPlayOutKeepAlive, id=31]], gamephase=PLAYING, options=[]], receiving=ListeningWhitelist[priority=LOWEST, packets=[KEEP_ALIVE[class=PacketPlayInKeepAlive, id=16], KEEP_ALIVE[class=PacketPlayOutKeepAlive, id=31]], gamephase=PLAYING, options=[]]]]
packetInjector=com.comphenix.protocol.injector.netty.ProtocolInjector$5@234f661
playerInjection=com.comphenix.protocol.injector.netty.ProtocolInjector$4@37487cd0
inputBufferedPackets=[]
recievedListeners=com.comphenix.protocol.injector.SortedPacketListenerList@76b3b9d3
sendingListeners=com.comphenix.protocol.injector.SortedPacketListenerList@4458883e
hasClosed=false
classLoader=PluginClassLoader{plugin=ProtocolLib v4.6.0, pluginEnabled=true, url=plugins/ProtocolLib.jar}
reporter=com.comphenix.protocol.ProtocolLib$1@617af92a
server=CraftServer{serverName=Paper,serverVersion=git-Paper-777,minecraftVersion=1.16.5}
library=ProtocolLib v4.6.0
asyncFilterManager=com.comphenix.protocol.async.AsyncFilterManager@7eb6f96f
knowsServerPackets=true
knowsClientPackets=true
phaseLoginCount=0
phasePlayingCount=7
packetCreation=false
nettyInjector=com.comphenix.protocol.injector.netty.ProtocolInjector@11179a90
pluginVerifier=com.comphenix.protocol.injector.PluginVerifier@1305e732
hasRecycleDistance=true
minecraftVersion=(MC: 1.16.5)
debug=false
]
Sender:
com.comphenix.protocol.reflect.compiler.BackgroundCompiler@f2690b1[
listeners={com.comphenix.protocol.reflect.compiler.StructureCompiler$StructureKey@72df2dea=[com.comphenix.protocol.injector.StructureCache$1@4c2de482]}
listenerLock=java.lang.Object@61c3348d
compiler=com.comphenix.protocol.reflect.compiler.StructureCompiler@5d4373f0
enabled=false
shuttingDown=false
executor=java.util.concurrent.Executors$FinalizableDelegatedExecutorService@665bd3f1
reporter=com.comphenix.protocol.ProtocolLib$1@617af92a
unknownPermGenBean=java.lang.Object@4571224c
permGenBean=
disablePermGenFraction=0.65
]
Version:
ProtocolLib v4.6.0
Java Version:
16
Server:
git-Paper-777 (MC: 1.16.5)
Additional context
Add any other context about the problem here.