Create

Create

86M Downloads

NPE from pulley contraption

marksteele opened this issue ยท 3 comments

commented

Had pulley contraption that went through water, then lava start pouring in from somewhere else and started forming cobble on top of the contraption moving downwards, then the server went boom.

After restarting it, the contraption is stuck, re-attaching pulley to the contraption and turning it on causes another crash.

---------------------------------------------------------------------------------------

-- Head --
Thread: Server thread
Stacktrace:
        at com.simibubi.create.content.contraptions.components.structureMovement.Contraption.writeNBT(Contraption.java:647) ~[create:mc1.16.3_v0.3e] {re:classloading}
        at com.simibubi.create.content.contraptions.components.structureMovement.pulley.PulleyContraption.writeNBT(PulleyContraption.java:45) ~[create:mc1.16.3_v0.3e] {re:classloading}
        at com.simibubi.create.content.contraptions.components.structureMovement.AbstractContraptionEntity.writeAdditional(AbstractContraptionEntity.java:375) ~[create:mc1.16.3_v0.3e] {re:classloading,pl:runtimedistcleaner:A}
        at com.simibubi.create.content.contraptions.components.structureMovement.ControlledContraptionEntity.writeAdditional(ControlledContraptionEntity.java:80) ~[create:mc1.16.3_v0.3e] {re:classloading,pl:runtimedistcleaner:A}
        at com.simibubi.create.content.contraptions.components.structureMovement.AbstractContraptionEntity.writeSpawnData(AbstractContraptionEntity.java:364) ~[create:mc1.16.3_v0.3e] {re:classloading,pl:runtimedistcleaner:A}
        at net.minecraftforge.fml.network.FMLPlayMessages$SpawnEntity.encode(FMLPlayMessages.java:143) ~[forge:?] {re:classloading}
        at net.minecraftforge.fml.network.simple.IndexedMessageCodec.lambda$tryEncode$4(IndexedMessageCodec.java:134) ~[forge:?] {re:classloading}
        at java.util.Optional.ifPresent(Optional.java:176) ~[?:?] {}
        at net.minecraftforge.fml.network.simple.IndexedMessageCodec.tryEncode(IndexedMessageCodec.java:132) ~[forge:?] {re:classloading}
        at net.minecraftforge.fml.network.simple.IndexedMessageCodec.build(IndexedMessageCodec.java:147) ~[forge:?] {re:classloading}
        at net.minecraftforge.fml.network.simple.SimpleChannel.encodeMessage(SimpleChannel.java:85) ~[forge:?] {re:classloading}
        at net.minecraftforge.fml.network.simple.SimpleChannel.toBuffer(SimpleChannel.java:98) ~[forge:?] {re:classloading}
        at net.minecraftforge.fml.network.simple.SimpleChannel.toVanillaPacket(SimpleChannel.java:129) ~[forge:?] {re:classloading}
        at net.minecraftforge.fml.network.NetworkHooks.getEntitySpawningPacket(NetworkHooks.java:82) ~[forge:?] {re:classloading}
        at com.simibubi.create.content.contraptions.components.structureMovement.AbstractContraptionEntity.func_213297_N(AbstractContraptionEntity.java:358) ~[create:mc1.16.3_v0.3e] {re:classloading,pl:runtimedistcleaner:A}
        at net.minecraft.world.TrackedEntity.func_219452_a(TrackedEntity.java:204) ~[?:?] {re:classloading}
        at net.minecraft.world.TrackedEntity.func_219455_b(TrackedEntity.java:193) ~[?:?] {re:classloading}
        at net.minecraft.world.server.ChunkManager$EntityTracker.func_219400_b(ChunkManager.java:1155) ~[?:?] {re:classloading}
        at net.minecraft.world.server.ChunkManager$EntityTracker.func_219397_a(ChunkManager.java:1184) ~[?:?] {re:classloading}
        at net.minecraft.world.server.ChunkManager.func_219210_a(ChunkManager.java:958) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
        at net.minecraft.world.server.ServerChunkProvider.func_217230_c(ServerChunkProvider.java:445) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
        at net.minecraft.world.server.ServerWorld.func_217465_m(ServerWorld.java:933) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
        at net.minecraft.world.server.ServerWorld.func_72838_d(ServerWorld.java:819) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
        at net.minecraft.world.server.ServerWorld.func_217376_c(ServerWorld.java:754) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
        at com.simibubi.create.content.contraptions.components.structureMovement.pulley.PulleyTileEntity.assemble(PulleyTileEntity.java:88) ~[create:mc1.16.3_v0.3e] {re:classloading}
        at com.simibubi.create.content.contraptions.components.structureMovement.piston.LinearActuatorTileEntity.func_73660_a(LinearActuatorTileEntity.java:84) ~[create:mc1.16.3_v0.3e] {re:classloading}
-- Block entity being ticked --
Details:
        Name: create:rope_pulley // com.simibubi.create.content.contraptions.components.structureMovement.pulley.PulleyTileEntity
        Block: Block{create:rope_pulley}[axis=z]
        Block location: World: (-153,87,-194), Chunk: (at 7,5,14 in -10,-13; contains blocks -160,0,-208 to -145,255,-193), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
        Block: Block{create:rope_pulley}[axis=z]
        Block location: World: (-153,87,-194), Chunk: (at 7,5,14 in -10,-13; contains blocks -160,0,-208 to -145,255,-193), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
Stacktrace:
        at net.minecraft.world.World.func_217391_K(World.java:491) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
        at net.minecraft.world.server.ServerWorld.func_72835_b(ServerWorld.java:371) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
        at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:850) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:291) ~[?:?] {re:classloading,pl:accesstransformer:B}
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:786) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
        at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:641) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
        at net.minecraft.server.MinecraftServer.lambda$startServer$0(MinecraftServer.java:232) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
        at java.lang.Thread.run(Thread.java:832) [?:?] {}


-- System Details --
Details:
        Minecraft Version: 1.16.4
        Minecraft Version ID: 1.16.4
        Operating System: Linux (amd64) version 4.14.209-160.339.amzn2.x86_64
        Java Version: 15.0.1, Amazon.com Inc.
        Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Amazon.com Inc.
        Memory: 687654776 bytes (655 MB) / 1593835520 bytes (1520 MB) up to 3670016000 bytes (3500 MB)
        CPUs: 2
        JVM Flags: 2 total; -Xms512M -Xmx3500M
        ModLauncher: 8.0.9+86+master.3cf110c
        ModLauncher launch target: fmlserver
        ModLauncher naming: srg
        ModLauncher services:
                /mixin-0.8.2.jar mixin PLUGINSERVICE
                /eventbus-4.0.0.jar eventbus PLUGINSERVICE
                /forge-1.16.4-35.1.37.jar object_holder_definalize PLUGINSERVICE
                /forge-1.16.4-35.1.37.jar runtime_enum_extender PLUGINSERVICE
                /forge-1.16.4-35.1.37.jar capability_inject_definalize PLUGINSERVICE
                /accesstransformers-3.0.1.jar accesstransformer PLUGINSERVICE
                /forge-1.16.4-35.1.37.jar runtimedistcleaner PLUGINSERVICE
                /mixin-0.8.2.jar mixin TRANSFORMATIONSERVICE
                /forge-1.16.4-35.1.37.jar fml TRANSFORMATIONSERVICE
        FML: 35.1
        Forge: net.minecraftforge:35.1.37
        FML Language Providers:
                [email protected]
                minecraft@1
        Mod List:
                forge-1.16.4-35.1.37-server.jar                   |Minecraft                     |minecraft                     |1.16.4              |DONE      |NOSIGNATURE
                forge-1.16.4-35.1.37-universal.jar                |Forge                         |forge                         |35.1.37             |DONE      |22:af:21:d8:19:82:7f:93:94:fe:2b:ac:b7:e4:41:57:68:39:87:b1:a7:5c:c6:44:f9:25:74:21:14:f5:0d:90
                create-mc1.16.3_v0.3e.jar                         |Create                        |create                        |mc1.16.3_v0.3e      |DONE      |NOSIGNATURE
                jei-1.16.4-7.6.1.65.jar                           |Just Enough Items             |jei                           |7.6.1.65            |DONE      |NOSIGNATURE
        Crash Report UUID: b00e4962-e024-48db-b075-2e476b54baf1
[04Feb2021 05:18:03.700] [Server thread/FATAL] [net.minecraftforge.common.ForgeMod/]: Preparing crash report with UUID 7989938e-15f2-496b-8fdc-b774184e1b77
[04Feb2021 05:18:03.705] [Server thread/ERROR] [net.minecraft.server.MinecraftServer/]: Encountered an unexpected exception
net.minecraft.crash.ReportedException: Exception ticking world
        at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:854) ~[?:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:291) ~[?:?]
        at net.minecraft.server.MinecraftServer.func_71217_p(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: Cannot read field "data" because "context" is null
        at com.simibubi.create.content.contraptions.components.actors.BlockBreakingMovementBehaviour.stopMoving(BlockBreakingMovementBehaviour.java:89) ~[create:mc1.16.3_v0.3e]
        at com.simibubi.create.content.contraptions.components.structureMovement.Contraption.lambda$stop$13(Contraption.java:878) ~[create:mc1.16.3_v0.3e]
        at com.simibubi.create.content.contraptions.components.structureMovement.Contraption.foreachActor(Contraption.java:888) ~[create:mc1.16.3_v0.3e]
        at com.simibubi.create.content.contraptions.components.structureMovement.Contraption.stop(Contraption.java:877) ~[create:mc1.16.3_v0.3e]
        at com.simibubi.create.content.contraptions.components.structureMovement.AbstractContraptionEntity.remove(AbstractContraptionEntity.java:443) ~[create:mc1.16.3_v0.3e]
        at net.minecraft.entity.Entity.func_70106_y(Entity.java:327) ~[?:?]
        at com.simibubi.create.content.contraptions.components.structureMovement.AbstractContraptionEntity.disassemble(AbstractContraptionEntity.java:403) ~[create:mc1.16.3_v0.3e]
        at com.simibubi.create.content.contraptions.components.structureMovement.pulley.PulleyTileEntity.disassemble(PulleyTileEntity.java:136) ~[create:mc1.16.3_v0.3e]
        at com.simibubi.create.content.contraptions.components.structureMovement.piston.LinearActuatorTileEntity.func_145843_s(LinearActuatorTileEntity.java:148) ~[create:mc1.16.3_v0.3e]
        at net.minecraft.world.World.func_217391_K(World.java:503) ~[?:?]
        at net.minecraft.world.server.ServerWorld.func_72835_b(ServerWorld.java:371) ~[?:?]
        at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:850) ~[?:?]
        ... 5 more
[04Feb2021 05:18:04.094] [Server thread/ERROR] [net.minecraft.world.chunk.storage.ChunkSerializer/]: An Entity type entity.create.stationary_contraption has thrown an exception trying to write state. It will not persist. Report this to the mod author
net.minecraft.crash.ReportedException: Saving entity NBT
        at net.minecraft.entity.Entity.func_189511_e(Entity.java:1433) ~[?:?]
        at com.simibubi.create.content.contraptions.components.structureMovement.AbstractContraptionEntity.func_189511_e(AbstractContraptionEntity.java:522) ~[create:mc1.16.3_v0.3e]
        at net.minecraft.entity.Entity.func_184198_c(Entity.java:1347) ~[?:?]
        at net.minecraft.entity.Entity.func_70039_c(Entity.java:1355) ~[?:?]
        at net.minecraft.world.chunk.storage.ChunkSerializer.func_222645_a(ChunkSerializer.java:303) ~[?:?]
        at net.minecraft.world.server.ChunkManager.func_219229_a(ChunkManager.java:682) ~[?:?]
        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:176) ~[?:?]
        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) ~[?:?]
        at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) ~[?:?]
        at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) ~[?:?]
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
        at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?]
        at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?]
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
        at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) ~[?:?]
        at net.minecraft.world.server.ChunkManager.func_219177_a(ChunkManager.java:337) ~[?:?]
        at net.minecraft.world.server.ServerChunkProvider.func_217210_a(ServerChunkProvider.java:307) ~[?:?]
        at net.minecraft.world.server.ServerWorld.func_217445_a(ServerWorld.java:698) ~[?:?]
        at net.minecraft.server.MinecraftServer.func_213211_a(MinecraftServer.java:531) ~[?:?]
        at net.minecraft.server.MinecraftServer.func_71260_j(MinecraftServer.java:567) ~[?:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71260_j(DedicatedServer.java:514) ~[?:?]
        at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:678) ~[?:?]
        at net.minecraft.server.MinecraftServer.lambda$startServer$0(MinecraftServer.java:232) ~[?:?]
        at java.lang.Thread.run(Thread.java:832) [?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "com.simibubi.create.content.contraptions.components.structureMovement.MovementContext.writeToNBT(net.minecraft.nbt.CompoundNBT)" because "actor.right" is null
        at com.simibubi.create.content.contraptions.components.structureMovement.Contraption.writeNBT(Contraption.java:647) ~[create:mc1.16.3_v0.3e]
        at com.simibubi.create.content.contraptions.components.structureMovement.pulley.PulleyContraption.writeNBT(PulleyContraption.java:45) ~[create:mc1.16.3_v0.3e]
        at com.simibubi.create.content.contraptions.components.structureMovement.AbstractContraptionEntity.writeAdditional(AbstractContraptionEntity.java:375) ~[create:mc1.16.3_v0.3e]
        at com.simibubi.create.content.contraptions.components.structureMovement.ControlledContraptionEntity.writeAdditional(ControlledContraptionEntity.java:80) ~[create:mc1.16.3_v0.3e]
        at com.simibubi.create.content.contraptions.components.structureMovement.AbstractContraptionEntity.func_213281_b(AbstractContraptionEntity.java:370) ~[create:mc1.16.3_v0.3e]
        at net.minecraft.entity.Entity.func_189511_e(Entity.java:1412) ~[?:?]
        ... 24 more
commented

This issue has been marked as stale because it has been inactive for 3 weeks. It will be closed if it remains inactive for another 3 weeks.

commented

This issue has been closed since it has been inactive for 3 weeks since it was marked as stale.

commented

Drills vanished on bedrock, after removing bedrock and reattaching the server crashed when I tried pulling it up.