-
Notifications
You must be signed in to change notification settings - Fork 77
Closed
Labels
16.xRelates to CM4 betas for 1.16.xRelates to CM4 betas for 1.16.x
Description
We're currently running into a 1.16 era problem where dimensions don't load, reason yet to be determined and most likely unrelated to CM. The workaround in CompactMachines 4.0.0-alpha.6 at
CompactMachines/src/main/java/com/robotgryphon/compactmachines/data/SavedMachineData.java
Line 29 in 7300fd2
| if (compactWorld == null) |
doesn't appear to deal with initializing
SERVER_DATA properly, which will lead to the following NPE a bit later:
net.minecraft.crash.ReportedException: Exception ticking world
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:854) ~[?:?]
at net.minecraft.server.dedicated.DedicatedServer.updateTimeLightAndEntities(DedicatedServer.java:291) ~[?:?]
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:786) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:641) ~[?:?]
at net.minecraft.server.MinecraftServer.lambda$startServer$0(MinecraftServer.java:232) ~[?:?]
at java.lang.Thread.run(Thread.java:832) [?:?]
Caused by: java.lang.NullPointerException
at com.robotgryphon.compactmachines.data.CompactMachineServerData.getInstance(CompactMachineServerData.java:42) ~[compactmachines:4.0.0-alpha.6]
at com.robotgryphon.compactmachines.block.tiles.CompactMachineTile.getMachineData(CompactMachineTile.java:261) ~[compactmachines:4.0.0-alpha.6]
at com.robotgryphon.compactmachines.block.tiles.CompactMachineTile.doChunkload(CompactMachineTile.java:280) ~[compactmachines:4.0.0-alpha.6]
at com.robotgryphon.compactmachines.block.tiles.CompactMachineTile.validate(CompactMachineTile.java:61) ~[compactmachines:4.0.0-alpha.6]
at net.minecraft.world.chunk.Chunk.addTileEntity(Chunk.java:409) ~[?:?]
at net.minecraft.world.chunk.Chunk.addTileEntity(Chunk.java:399) ~[?:?]
at net.minecraft.world.chunk.storage.ChunkSerializer.readEntities(ChunkSerializer.java:402) ~[?:?]
at net.minecraft.world.chunk.storage.ChunkSerializer.lambda$read$2(ChunkSerializer.java:133) ~[?:?]
at net.minecraft.world.chunk.Chunk.postLoad(Chunk.java:457) ~[?:?]
at net.minecraft.world.server.ChunkManager.lambda$null$25(ChunkManager.java:582) ~[?:?]
at com.mojang.datafixers.util.Either.lambda$mapLeft$0(Either.java:162) ~[?:?]
at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[?:?]
at com.mojang.datafixers.util.Either.mapLeft(Either.java:162) ~[?:?]
at net.minecraft.world.server.ChunkManager.lambda$func_219200_b$26(ChunkManager.java:569) ~[?:?]
at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?]
at java.util.concurrent.CompletableFuture$C
Metadata
Metadata
Assignees
Labels
16.xRelates to CM4 betas for 1.16.xRelates to CM4 betas for 1.16.x