question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[1.2.4] Autocrafting crash

See original GitHub issue

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

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
random51commented, Nov 30, 2016

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.

0reactions
way2muchnoisecommented, Nov 30, 2016

The issue that I guess people abuse the oreDict pattern, maybe I should add some extra enforcing there. We’ll see how this goes first. 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

save now crashes on startup and cannot be loaded ... - GitHub
Issue description: I had finished setting up the crafting patterns for IC2 electronic circuits. I order one to craft, and the game crashes....
Read more >
AE2 autocrafting problem : r/feedthebeast - Reddit
I'm mid-game in Project Ozone 2 Titan Mode, I have my ME system set up and want to start autocrafting. I've got a...
Read more >
All The Mods 4 Modpack Ep. 24 Refined Storage Autocrafting
PLEASE READ DESCRIPTION!▽LIKE/COMMENT/SUBSCRIBE!▻Seed: ChosenArchitect▻Twitch: ...
Read more >
HandyHands - Automatic handcrafting - Community update
Updated version by Ieuan. Automatically start handcrafting an item on the quickbar that you don't have enough of whenever your crafting queue is...
Read more >
Applied Energistics 2 Wireless Terminals - Changelog
fix a rare crash with the magnet card [wip] allow for better addon support ... allow alpha.2 of ae2 you might encounter bugs...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found