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

[1.64] [SMP] Crash when using turtle.place with bucket

Started by MudkipTheEpic, 29 September 2014 - 08:40 PM
MudkipTheEpic #1
Posted 29 September 2014 - 10:40 PM
VERSION:
ComputerCraft 1.64 Release
DESCRIPTION:
When having a turtle place with an empty or full bucket of any type, the server crashed with this error:
Spoiler

[Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.util.ReportedException: Ticking block entity
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:642) ~[MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334) ~[lt.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547) ~[MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685) [li.class:?]
Caused by: java.lang.NullPointerException
at net.minecraft.server.management.UserListOps.func_152699_b(SourceFile:39) ~[oj.class:?]
at net.minecraft.server.management.UserListOps.func_152681_a(SourceFile:9) ~[oj.class:?]
at net.minecraft.server.management.UserList.func_152692_d(SourceFile:85) ~[om.class:?]
at net.minecraft.server.management.ServerConfigurationManager.func_152596_g(ServerConfigurationManager.java:704) ~[oi.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_96290_a(DedicatedServer.java:451) ~[lt.class:?]
at net.minecraft.world.WorldServer.canMineBlockBody(WorldServer.java:695) ~[mt.class:?]
at net.minecraft.world.WorldProvider.canMineBlock(WorldProvider.java:480) ~[aqo.class:?]
at net.minecraft.world.World.func_72962_a(World.java:3598) ~[ahb.class:?]
at net.minecraft.world.WorldServer.func_72962_a(WorldServer.java:690) ~[mt.class:?]
at net.minecraft.item.ItemBucket.func_77659_a(ItemBucket.java:69) ~[abo.class:?]
at dan200.computercraft.shared.turtle.core.TurtlePlaceCommand.deployOnBlock(TurtlePlaceCommand.java:286) ~[TurtlePlaceCommand.class:?]
at dan200.computercraft.shared.turtle.core.TurtlePlaceCommand.deploy(TurtlePlaceCommand.java:105) ~[TurtlePlaceCommand.class:?]
at dan200.computercraft.shared.turtle.core.TurtlePlaceCommand.execute(TurtlePlaceCommand.java:53) ~[TurtlePlaceCommand.class:?]
at dan200.computercraft.shared.turtle.core.TurtleBrain.updateCommands(TurtleBrain.java:786) ~[TurtleBrain.class:?]
at dan200.computercraft.shared.turtle.core.TurtleBrain.update(TurtleBrain.java:99) ~[TurtleBrain.class:?]
at dan200.computercraft.shared.turtle.blocks.TileTurtle.func_145845_h(TileTurtle.java:274) ~[TileTurtle.class:?]
at net.minecraft.world.World.func_72939_s(World.java:1912) ~[ahb.class:?]
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489) ~[mt.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636) ~[MinecraftServer.class:?]
... 4 more
EXPECTED RESULT:
The turtle to pick up / place down the liquid in(to) the bucket.
REPRODUCTION STEPS:
Place any type of bucket in a turtle's selected slot and run the function turtle.place()

Edit: This seems to only happen in multiplayer.
Edited on 05 October 2014 - 07:49 PM
Bomb Bloke #2
Posted 30 September 2014 - 04:35 AM
Are you running any other mods, and have you tested without them?
MudkipTheEpic #3
Posted 30 September 2014 - 08:57 PM
Are you running any other mods, and have you tested without them?

No mods, just vanilla 1.7.10 with CC 1.64.\

Seems this issue has to do with operator privileges for ComputerCraft Turtles…
Lignum #4
Posted 01 October 2014 - 05:32 PM
Seems this issue has to do with operator privileges for ComputerCraft Turtles…

That would make sense. Since turtles have no UUID, they can't be operators.
AlxMcA #5
Posted 01 October 2014 - 09:02 PM
Can confirm, only appears to crash on servers though, SP works like standard.

Server Crash Report—- Minecraft Crash Report —-
// Don't do that.
Time: 01/10/14 19:08
Description: Ticking block entity
java.lang.NullPointerException: Ticking block entity
at net.minecraft.server.management.UserListOps.func_152699_b(SourceFile:39)
at net.minecraft.server.management.UserListOps.func_152681_a(SourceFile:9)
at net.minecraft.server.management.UserList.func_152692_d(SourceFile:85)
at net.minecraft.server.management.ServerConfigurationManager.func_152596_g(ServerConfigurationManager.java:704)
at net.minecraft.server.dedicated.DedicatedServer.func_96290_a(DedicatedServer.java:452)
at net.minecraft.world.WorldServer.canMineBlockBody(WorldServer.java:695)
at net.minecraft.world.WorldProvider.canMineBlock(WorldProvider.java:480)
at net.minecraft.world.World.func_72962_a(World.java:3598)
at net.minecraft.world.WorldServer.func_72962_a(WorldServer.java:690)
at net.minecraft.item.ItemBucket.func_77659_a(ItemBucket.java:69)
at dan200.computercraft.shared.turtle.core.TurtlePlaceCommand.deployOnBlock(TurtlePlaceCommand.java:286)
at dan200.computercraft.shared.turtle.core.TurtlePlaceCommand.deploy(TurtlePlaceCommand.java:105)
at dan200.computercraft.shared.turtle.core.TurtlePlaceCommand.execute(TurtlePlaceCommand.java:53)
at dan200.computercraft.shared.turtle.core.TurtleBrain.updateCommands(TurtleBrain.java:786)
at dan200.computercraft.shared.turtle.core.TurtleBrain.update(TurtleBrain.java:99)
at dan200.computercraft.shared.turtle.blocks.TileTurtle.func_145845_h(TileTurtle.java:274)
at net.minecraft.world.World.func_72939_s(World.java:1912)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:335)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

A detailed walkthrough of the error, its code path and all known details is as follows:
—————————————————————————————
– Head –
Stacktrace:
at net.minecraft.server.management.UserListOps.func_152699_b(SourceFile:39)
at net.minecraft.server.management.UserListOps.func_152681_a(SourceFile:9)
at net.minecraft.server.management.UserList.func_152692_d(SourceFile:85)
at net.minecraft.server.management.ServerConfigurationManager.func_152596_g(ServerConfigurationManager.java:704)
at net.minecraft.server.dedicated.DedicatedServer.func_96290_a(DedicatedServer.java:452)
at net.minecraft.world.WorldServer.canMineBlockBody(WorldServer.java:695)
at net.minecraft.world.WorldProvider.canMineBlock(WorldProvider.java:480)
at net.minecraft.world.World.func_72962_a(World.java:3598)
at net.minecraft.world.WorldServer.func_72962_a(WorldServer.java:690)
at net.minecraft.item.ItemBucket.func_77659_a(ItemBucket.java:69)
at dan200.computercraft.shared.turtle.core.TurtlePlaceCommand.deployOnBlock(TurtlePlaceCommand.java:286)
at dan200.computercraft.shared.turtle.core.TurtlePlaceCommand.deploy(TurtlePlaceCommand.java:105)
at dan200.computercraft.shared.turtle.core.TurtlePlaceCommand.execute(TurtlePlaceCommand.java:53)
at dan200.computercraft.shared.turtle.core.TurtleBrain.updateCommands(TurtleBrain.java:786)
at dan200.computercraft.shared.turtle.core.TurtleBrain.update(TurtleBrain.java:99)
at dan200.computercraft.shared.turtle.blocks.TileTurtle.func_145845_h(TileTurtle.java:274)
– Block entity being ticked –
Details:
Name: turtleex // dan200.computercraft.shared.turtle.blocks.TileTurtleExpanded
Block type: ID #482 (tile.computercraft:turtle // dan200.computercraft.shared.turtle.blocks.BlockTurtle)
Block data value: 0 / 0x0 / 0b0000
Block location: World: (-304,69,-52), Chunk: (at 0,4,12 in -19,-4; contains blocks -304,0,-64 to -289,255,-49), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
Actual block type: ID #482 (tile.computercraft:turtle // dan200.computercraft.shared.turtle.blocks.BlockTurtle)
Actual block data value: 0 / 0x0 / 0b0000
Stacktrace:
at net.minecraft.world.World.func_72939_s(World.java:1912)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)
– Affected level –
Details:
Level name: world
All players: 1 total; [EntityPlayerMP['AlxMcA'/260, l='world', x=-304.17, y=69.48, z=-50.82]]
Chunk stats: ServerChunkCache: 566 Drop: 0
Level seed: 4586922692675814871
Level generator: ID 00 - default, ver 1. Features enabled: true
Level generator options:
Level spawn location: World: (-244,64,48), Chunk: (at 12,4,0 in -16,3; contains blocks -256,0,48 to -241,255,63), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Level time: 89246 game time, 76959 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 2357 (now: false), thunder time: 77061 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Stacktrace:
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:335)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
– System Details –
Details:
Minecraft Version: 1.7.10
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_67, Oracle Corporation
Java VM Version: Java HotSpotâ„¢ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 266401656 bytes (254 MB) / 768606208 bytes (733 MB) up to 1908932608 bytes (1820 MB)
JVM Flags: 2 total; -Xmx2G -XX:MaxPermSize=256M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
FML: MCP v9.05 FML v7.10.25.1208 Minecraft Forge 10.13.0.1208 4 mods loaded, 4 mods active
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{7.10.25.1208} [Forge Mod Loader] (forge-1.7.10-10.13.0.1208-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{10.13.0.1208} [Minecraft Forge] (forge-1.7.10-10.13.0.1208-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ComputerCraft{1.64} [ComputerCraft] (ComputerCraft1.64.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Player Count: 1 / 20; [EntityPlayerMP['AlxMcA'/260, l='world', x=-304.17, y=69.48, z=-50.82]]
Is Modded: Definitely; Server brand changed to 'fml,forge'
Type: Dedicated Server (map_server.txt)
ezoerner #6
Posted 04 October 2014 - 12:20 PM
I am getting this same error in the same situation with essentially the same stack dump, also using a 1.7.10 server with CC 1.64.
(I do also have Galacticraft mod installed, but based on the above report that likely has nothing to do with it).
dan200 #7
Posted 10 October 2014 - 12:40 PM
Fixed in ComputerCraft 1.65