Open 1.1.0: RfTools Builder + Jabba Barrel Crash

Jurgis

New Member
Jul 29, 2019
1
0
0
Version:
1.1.0

What is the bug:
Using an RfTools builder with a full or almost full Jabba barrel causes a crash. Clients in SMP get kicked, full client crash if running single player.

Exception text below, full latest.log and fml-client-latest.log at: https://www.dropbox.com/sh/lii300ltekavw91/AAAwWJv0MvtncuhqBv9S_8YDa?dl=0

[20:31:38] [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.MinecraftServer.func_71217_p(MinecraftServer.java:547) ~[MinecraftServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:111) ~[bsx.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:396) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685) [?:?]
Caused by: java.lang.RuntimeException: [JABBA] Tried to decr the stack size of the input slot
at mcp.mobius.betterbarrels.common.blocks.StorageLocal.func_70298_a(StorageLocal.java:336) ~[StorageLocal.class:?]
at mcp.mobius.betterbarrels.common.blocks.TileEntityBarrel.func_70298_a(TileEntityBarrel.java:658) ~[TileEntityBarrel.class:?]
at mcjty.rftools.blocks.spaceprojector.BuilderTileEntity.findAndConsumeBlock(BuilderTileEntity.java:1099) ~[BuilderTileEntity.class:?]
at mcjty.rftools.blocks.spaceprojector.BuilderTileEntity.consumeBlock(BuilderTileEntity.java:1154) ~[BuilderTileEntity.class:?]
at mcjty.rftools.blocks.spaceprojector.BuilderTileEntity.buildBlock(BuilderTileEntity.java:901) ~[BuilderTileEntity.class:?]
at mcjty.rftools.blocks.spaceprojector.BuilderTileEntity.handleSingleBlock(BuilderTileEntity.java:894) ~[BuilderTileEntity.class:?]
at mcjty.rftools.blocks.spaceprojector.BuilderTileEntity.handleBlockShaped(BuilderTileEntity.java:801) ~[BuilderTileEntity.class:?]
at mcjty.rftools.blocks.spaceprojector.BuilderTileEntity.checkStateServerShaped(BuilderTileEntity.java:665) ~[BuilderTileEntity.class:?]
at mcjty.rftools.blocks.spaceprojector.BuilderTileEntity.checkStateServer(BuilderTileEntity.java:686) ~[BuilderTileEntity.class:?]
at mcjty.lib.entity.GenericTileEntity.func_145845_h(GenericTileEntity.java:50) ~[GenericTileEntity.class:?]
at net.minecraft.world.World.func_72939_s(World.java:1939) ~[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
[20:31:38] [Server thread/ERROR]: This crash report has been saved to: D:\games\FTB\FTBInfinityEvolvedSkyblock\minecraft\crash-reports\crash-2016-04-16_20.31.38-server.txt

Mod & Version:
RfTools, Jabba

Paste.feed-the-beast.com log:
http://paste.feed-the-beast.com/view/46590d4d

Can it be repeated:
  1. Get an RfTools builder, shape card, a Jabba barrel, and a power source for the builder (for testing, I used a creative EIO capacitor).
  2. Place the builder with the Jabba barrel on top of it and the power source connected.
  3. Configure and select a nearby area of the world with the shape card and then put it in the builder.
    • I tested box, solid box, and bottom dome modes of the shape card.
  4. Fill the barrel to at least 63 stacks + 1 of a block (ex dirt).
    • Crash doesn't happen if there's just 63 stacks (or less).
    • Upgraded barrels appear to follow the pattern of crashing when there is less than one stack of space remaining (ex, for a barrel with a single storage upgrade, 127 stacks + 1 will crash).
  5. Apply a redstone signal to the builder to start building. This is where it crashes.

Known Fix:
As a workaround, ensuring there's always at least a full stack of remaining storage in the barrel should avoid the crash (ex, for a default barrel, having no more than 63 full stacks of blocks in the barrel).