This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
_CR_'s profile picture

[CC1.65][SSp/SMP]crash when placing on cart [Bug]

Started by _CR_, 12 August 2014 - 10:19 PM
_CR_ #1
Posted 13 August 2014 - 12:19 AM
The game crashes if a turtle tries to place something (with turtle.place()) where there is a minecart, or a minecart with hopper, a minecart withchest, a minecart with furnace, even a boat, but not a minecart with tnt.


here's the console output if you need it.

Spoiler2014-08-13 01:11:15 [Informazioni] [STDERR] net.minecraft.util.ReportedException: Ticking tile entity
2014-08-13 01:11:15 [Informazioni] [STDERR] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:674)
2014-08-13 01:11:15 [Informazioni] [STDERR] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:587)
2014-08-13 01:11:15 [Informazioni] [STDERR] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
2014-08-13 01:11:15 [Informazioni] [STDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
2014-08-13 01:11:15 [Informazioni] [STDERR] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
2014-08-13 01:11:15 [Informazioni] [STDERR] Caused by: java.lang.NullPointerException
2014-08-13 01:11:15 [Informazioni] [STDERR] at net.minecraft.entity.player.EntityPlayerMP.displayGUIHopperMinecart(EntityPlayerMP.java:678)
2014-08-13 01:11:15 [Informazioni] [STDERR] at net.minecraft.entity.item.EntityMinecartHopper.interactFirst(EntityMinecartHopper.java:65)
2014-08-13 01:11:15 [Informazioni] [STDERR] at dan200.computercraft.shared.turtle.core.TurtlePlaceCommand.deployOnEntity(TurtlePlaceCommand.java:193)
2014-08-13 01:11:15 [Informazioni] [STDERR] at dan200.computercraft.shared.turtle.core.TurtlePlaceCommand.deploy(TurtlePlaceCommand.java:79)
2014-08-13 01:11:15 [Informazioni] [STDERR] at dan200.computercraft.shared.turtle.core.TurtlePlaceCommand.execute(TurtlePlaceCommand.java:52)
2014-08-13 01:11:15 [Informazioni] [STDERR] at dan200.computercraft.shared.turtle.core.TurtleBrain.updateCommands(TurtleBrain.java:776)
2014-08-13 01:11:15 [Informazioni] [STDERR] at dan200.computercraft.shared.turtle.core.TurtleBrain.update(TurtleBrain.java:92)
2014-08-13 01:11:15 [Informazioni] [STDERR] at dan200.computercraft.shared.turtle.blocks.TileTurtle.updateEntity(TileTurtle.java:255)
2014-08-13 01:11:15 [Informazioni] [STDERR] at net.minecraft.world.World.updateEntities(World.java:2209)
2014-08-13 01:11:15 [Informazioni] [STDERR] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:550)
2014-08-13 01:11:15 [Informazioni] [STDERR] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:668)
2014-08-13 01:11:15 [Informazioni] [STDERR] … 4 more
2014-08-13 01:11:15 [Grave] [Minecraft-Server] Encountered an unexpected exception ReportedException
net.minecraft.util.ReportedException: Ticking tile entity
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:674)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:587)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
Caused by: java.lang.NullPointerException
at net.minecraft.entity.player.EntityPlayerMP.displayGUIHopperMinecart(EntityPlayerMP.java:678)
at net.minecraft.entity.item.EntityMinecartHopper.interactFirst(EntityMinecartHopper.java:65)
at dan200.computercraft.shared.turtle.core.TurtlePlaceCommand.deployOnEntity(TurtlePlaceCommand.java:193)
at dan200.computercraft.shared.turtle.core.TurtlePlaceCommand.deploy(TurtlePlaceCommand.java:79)
at dan200.computercraft.shared.turtle.core.TurtlePlaceCommand.execute(TurtlePlaceCommand.java:52)
at dan200.computercraft.shared.turtle.core.TurtleBrain.updateCommands(TurtleBrain.java:776)
at dan200.computercraft.shared.turtle.core.TurtleBrain.update(TurtleBrain.java:92)
at dan200.computercraft.shared.turtle.blocks.TileTurtle.updateEntity(TileTurtle.java:255)
at net.minecraft.world.World.updateEntities(World.java:2209)
at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:550)
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:668)
… 4 more
Cranium #2
Posted 13 August 2014 - 06:44 PM
Have you tried this with the most recent beta version?
_CR_ #3
Posted 14 August 2014 - 12:44 AM
tried on 1.64-pr4. Same bug.

SpoilerClient> [01:42:09] [Server thread/ERROR]: Encountered an unexpected exception
Client> net.minecraft.util.ReportedException: Ticking block entity
Client> at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:642) ~[MinecraftServer.class:?]
Client> at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547) ~[MinecraftServer.class:?]
Client> at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:111) ~[bsx.class:?]
Client> at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427) [MinecraftServer.class:?]
Client> at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685) [?:?]
Client> Caused by: java.lang.NullPointerException
Client> at net.minecraft.entity.player.EntityPlayerMP.func_70078_a(EntityPlayerMP.java:588) ~[mw.class:?]
Client> at net.minecraft.entity.item.EntityMinecartEmpty.func_130002_c(EntityMinecartEmpty.java:35) ~[xs.class:?]
Client> at dan200.computercraft.shared.turtle.core.TurtlePlaceCommand.deployOnEntity(TurtlePlaceCommand.java:194) ~[TurtlePlaceCommand.class:?]
Client> at dan200.computercraft.shared.turtle.core.TurtlePlaceCommand.deploy(TurtlePlaceCommand.java:80) ~[TurtlePlaceCommand.class:?]
Client> at dan200.computercraft.shared.turtle.core.TurtlePlaceCommand.execute(TurtlePlaceCommand.java:53) ~[TurtlePlaceCommand.class:?]
Client> at dan200.computercraft.shared.turtle.core.TurtleBrain.updateCommands(TurtleBrain.java:790) ~[TurtleBrain.class:?]
Client> at dan200.computercraft.shared.turtle.core.TurtleBrain.update(TurtleBrain.java:99) ~[TurtleBrain.class:?]
Client> at dan200.computercraft.shared.turtle.blocks.TileTurtle.func_145845_h(TileTurtle.java:274) ~[TileTurtle.class:?]
Client> at net.minecraft.world.World.func_72939_s(World.java:1888) ~[ahb.class:?]
Client> at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:501) ~[mt.class:?]
Client> at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636) ~[MinecraftServer.class:?]
Client> … 4 more
_CR_ #4
Posted 25 October 2014 - 12:16 PM
also on 1.65
Bomb Bloke #5
Posted 25 October 2014 - 01:00 PM
It may be worth hitting the Edit button on your first post, switching into the Full Editor, then updating the title of this thread to reflect that.