refinedstorage: [1.2.4] Autocrafting crash

Issue description:

The server crashed while an autocrafting job was running.

What happens:

The server crashes with the following stacktrace:

java.lang.NullPointerException: Ticking block entity
	at com.raoulvdberge.refinedstorage.apiimpl.autocrafting.CraftingPattern.getOutputs(CraftingPattern.java:203)
	at com.raoulvdberge.refinedstorage.apiimpl.autocrafting.task.CraftingStepCraft.execute(CraftingStepCraft.java:121)
	at com.raoulvdberge.refinedstorage.apiimpl.autocrafting.task.CraftingTask.update(CraftingTask.java:351)
	at com.raoulvdberge.refinedstorage.tile.TileController.func_73660_a(TileController.java:269)
	at net.minecraft.world.World.func_72939_s(World.java:1804)
	at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:619)
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:709)
	at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387)
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
	at java.lang.Thread.run(Thread.java:745)

What you expected to happen:

No crash šŸ˜›

Steps to reproduce:

I don’t know exactly what may have caused this since the autocrafting job had been running for some time already. My guess would be a recipe containing an item which doesn’t get used up and there aren’t any output slots for it. In this case the job involved IC2 Iron Plates.

Version:

  • Minecraft: 1.10.2
  • Forge: 12.18.2.2151
  • Refined Storage: 1.2.4

I’m using the ā€œAll the Modsā€ modpack. The issue occured on a server.

If a (crash)log is relevant for this issue, link it here:

http://hastebin.com/ujigakizew

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 20 (8 by maintainers)

Commits related to this issue

Most upvoted comments

Yes. It showed all the required items and allowed me to start the process. I don’t believe it crashed until it tried to make an iron plate or tried to request an iron plate to make the electronic circuit. I narrowed it down to that point by working from the reactor down to each part, crashed all the way down to the electronic circuit. It could craft the parts for the circuit without crashing but try to craft the circuit and it’d would crash.