Concurrent Chunk Management Engine (Fabric)

Concurrent Chunk Management Engine (Fabric)

231k Downloads

[STDERR]: java.lang.NoSuchFieldException: theUnsafe

Kalkoen31 opened this issue ยท 2 comments

commented

Getting this error at every startup, (also mclogs link here: https://mclo.gs/Eo2iU3D ):

[14:52:51] [Server thread/INFO]: [STDERR]: java.lang.NoSuchFieldException: theUnsafe
[14:52:51] [Server thread/INFO]: [STDERR]: at java.base/java.lang.Class.getField(Class.java:2117)
[14:52:51] [Server thread/INFO]: [STDERR]: at com.ishland.c2me.rewrites.chunk_serializer.common.utils.ReflectionUtils.getReflectedField(ReflectionUtils.java:48)
[14:52:51] [Server thread/INFO]: [STDERR]: at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
[14:52:51] [Server thread/INFO]: [STDERR]: at com.ishland.c2me.rewrites.chunk_serializer.common.utils.ReflectionUtils.getField(ReflectionUtils.java:17)
[14:52:51] [Server thread/INFO]: [STDERR]: at com.ishland.c2me.rewrites.chunk_serializer.common.utils.UnsafeUtils.getUnsafeWithoutAccessController(UnsafeUtils.java:45)
[14:52:51] [Server thread/INFO]: [STDERR]: at com.ishland.c2me.rewrites.chunk_serializer.common.utils.UnsafeUtils.lambda$findUnsafe$0(UnsafeUtils.java:21)
[14:52:51] [Server thread/INFO]: [STDERR]: at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
[14:52:51] [Server thread/INFO]: [STDERR]: at com.ishland.c2me.rewrites.chunk_serializer.common.utils.AccessControllerUtils.runWithAccessController(AccessControllerUtils.java:8)
[14:52:51] [Server thread/INFO]: [STDERR]: at com.ishland.c2me.rewrites.chunk_serializer.common.utils.UnsafeUtils.findUnsafe(UnsafeUtils.java:19)
[14:52:51] [Server thread/INFO]: [STDERR]: at com.ishland.c2me.rewrites.chunk_serializer.common.utils.UnsafeUtils.(UnsafeUtils.java:8)
[14:52:51] [Server thread/INFO]: [STDERR]: at com.ishland.c2me.rewrites.chunk_serializer.common.NbtWriter.(NbtWriter.java:22)
[14:52:51] [Server thread/INFO]: [STDERR]: at com.ishland.c2me.rewrites.chunk_serializer.common.ChunkDataSerializer.(ChunkDataSerializer.java:85)
[14:52:51] [Server thread/INFO]: [STDERR]: at java.base/java.lang.Class.forName0(Native Method)
[14:52:51] [Server thread/INFO]: [STDERR]: at java.base/java.lang.Class.forName(Class.java:467)
[14:52:51] [Server thread/INFO]: [STDERR]: at net.fabricmc.loader.impl.launch.knot.MixinServiceKnot.findClass(MixinServiceKnot.java:96)
[14:52:51] [Server thread/INFO]: [STDERR]: at org.spongepowered.asm.mixin.transformer.MixinProcessor.audit(MixinProcessor.java:254)
[14:52:51] [Server thread/INFO]: [STDERR]: at org.spongepowered.asm.mixin.transformer.MixinTransformer.audit(MixinTransformer.java:171)
[14:52:51] [Server thread/INFO]: [STDERR]: at org.spongepowered.asm.mixin.MixinEnvironment.audit(MixinEnvironment.java:1425)
[14:52:51] [Server thread/INFO]: [STDERR]: at ca.fxco.memoryleakfix.fabric.MemoryLeakFixFabric.internalForceLoadAllMixinsAndClearSpongePoweredCache(MemoryLeakFixFabric.java:40)
[14:52:51] [Server thread/INFO]: [STDERR]: at ca.fxco.memoryleakfix.fabric.MemoryLeakFixFabric.forceLoadAllMixinsAndClearSpongePoweredCache(MemoryLeakFixFabric.java:32)
[14:52:51] [Server thread/INFO]: [STDERR]: at net.minecraft.server.MinecraftServer.handler$bdi000$memoryleakfix$memoryLeakFix$loadAllMixinsServerSide(MinecraftServer.java:4821)
[14:52:51] [Server thread/INFO]: [STDERR]: at net.minecraft.server.MinecraftServer.method_3735(MinecraftServer.java:340)
[14:52:51] [Server thread/INFO]: [STDERR]: at net.minecraft.class_3176.method_3823(class_3176.java:169)
[14:52:51] [Server thread/INFO]: [STDERR]: at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:650)
[14:52:51] [Server thread/INFO]: [STDERR]: at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:266)
[14:52:51] [Server thread/INFO]: [STDERR]: at java.base/java.lang.Thread.run(Thread.java:833)

commented

It is an issue of memoryleakfix and should be fixed on their side. Try updating it.

commented

The mod got updated a few days ago, I switched to the newest version of memoryleakfix, and there is no error anymore. Thanks!