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.

Exception in thread "RS crafting preview calculation"

See original GitHub issue

Issue description:

Seriously bad lag spikes and can’t craft a hardened upgrade, or access two of my crafters, one of which contained the pattern for it.

What happens:

I opened up my wireless crafting terminal to make a hardened upgrade for a machine, and also requested a reinforced. I then realised that I wanted another hardened for another machine, and when I clicked on the start button, it just greyed out. This is within ~5-10 seconds After getting really confused and requesting it a couple more times, I closed the wireless crafting terminal and went to check on the crafter and noticed that I was getting extremely bad lag. I went down to my crafters to check on them and right clicking would open some of them, but not two that I tried. I broke a cable and the network controller, still massive lag so I clicked save and quit.

After reloading the world, it looks like the save and quit failed hard as the cable and controller were still in place and I’d never made the requests. As it turns out I was out of nickel, but it never made it that far - my nickel would be in a locked storage drawer if I had any, so it might be related to that.

What you expected to happen:

It to make a hardened upgrade for me!

Steps to reproduce:

  1. Unsure, it worked completely fine up until now (I’ve crafted dozens of upgrades) and since, hopefully a one-off. I wanted to report this just in case it is something you can easily stop from happening, in case it corrupts someone’s world next time.

Version (make sure you are on the latest version before reporting):

  • Minecraft: .1.12.2
  • Forge: 8.0.99.99
  • Refined Storage: 1.5.28

Does this issue occur on a server? no

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

Exception in thread "RS crafting preview calculation" [00:21:19] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: java.lang.NullPointerException [00:21:19] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.raoulvdberge.refinedstorage.apiimpl.util.StackListItem.remove(StackListItem.java:44) [00:21:19] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.raoulvdberge.refinedstorage.apiimpl.util.StackListItem.remove(StackListItem.java:17) [00:21:19] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.raoulvdberge.refinedstorage.apiimpl.autocrafting.task.CraftingTask.calculate(CraftingTask.java:259) [00:21:19] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.raoulvdberge.refinedstorage.apiimpl.autocrafting.task.CraftingTask.calculate(CraftingTask.java:251) [00:21:19] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.raoulvdberge.refinedstorage.apiimpl.autocrafting.task.CraftingTask.calculate(CraftingTask.java:108) [00:21:19] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.raoulvdberge.refinedstorage.apiimpl.network.grid.handler.ItemGridHandler.lambda$onCraftingPreviewRequested$0(ItemGridHandler.java:186) [00:21:19] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at java.lang.Thread.run(Unknown Source) Exception in thread "RS crafting preview calculation" [00:21:22] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: java.lang.NullPointerException [00:21:22] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.raoulvdberge.refinedstorage.apiimpl.util.StackListItem.remove(StackListItem.java:44) [00:21:22] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.raoulvdberge.refinedstorage.apiimpl.util.StackListItem.remove(StackListItem.java:17) [00:21:22] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.raoulvdberge.refinedstorage.apiimpl.autocrafting.task.CraftingTask.calculate(CraftingTask.java:259) [00:21:22] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.raoulvdberge.refinedstorage.apiimpl.autocrafting.task.CraftingTask.calculate(CraftingTask.java:251) [00:21:22] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.raoulvdberge.refinedstorage.apiimpl.autocrafting.task.CraftingTask.calculate(CraftingTask.java:108) [00:21:22] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.raoulvdberge.refinedstorage.apiimpl.network.grid.handler.ItemGridHandler.lambda$onCraftingPreviewRequested$0(ItemGridHandler.java:186) [00:21:22] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at java.lang.Thread.run(Unknown Source) Exception in thread "RS crafting preview calculation" [00:21:26] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: java.lang.NullPointerException [00:21:26] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.raoulvdberge.refinedstorage.apiimpl.util.StackListItem.remove(StackListItem.java:44) [00:21:26] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.raoulvdberge.refinedstorage.apiimpl.util.StackListItem.remove(StackListItem.java:17) [00:21:26] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.raoulvdberge.refinedstorage.apiimpl.autocrafting.task.CraftingTask.calculate(CraftingTask.java:259) [00:21:26] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.raoulvdberge.refinedstorage.apiimpl.autocrafting.task.CraftingTask.calculate(CraftingTask.java:251) [00:21:26] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.raoulvdberge.refinedstorage.apiimpl.autocrafting.task.CraftingTask.calculate(CraftingTask.java:108) [00:21:26] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.raoulvdberge.refinedstorage.apiimpl.network.grid.handler.ItemGridHandler.lambda$onCraftingPreviewRequested$0(ItemGridHandler.java:186) [00:21:26] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at java.lang.Thread.run(Unknown Source) Exception in thread "RS crafting preview calculation" [00:21:31] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: java.lang.NullPointerException Exception in thread "RS crafting preview calculation" [00:21:39] [RS crafting preview calculation/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: java.lang.NullPointerException [00:23:11] [Netty Local Client IO #1/INFO] [Astral Sorcery]: [AstralSorcery] Cleaning client cache... [00:23:11] [Netty Local Client IO #1/INFO] [Astral Sorcery]: [AstralSorcery] Cleared cached client data! Disconnected from server. [00:23:11] [Netty Local Client IO #1/INFO] [SimplyJetpacks]: Loading configuration files [00:23:11] [main/INFO] [journeymap]: Mapping halted in G:\Minecraft\FTBFILES\FTBPresentsDirewolf20112\minecraft\journeymap\data\sp\DW20LP\DIM0 [00:23:25] [Forestry Greenhouse/WARN] [forestry]: GREENHOUSE TAKING 1129 ms LONGER THAN NORMAL [00:24:05] [Forestry Greenhouse/WARN] [forestry]: GREENHOUSE TAKING 1127 ms LONGER THAN NORMAL [00:25:16] [Forestry Greenhouse/WARN] [forestry]: GREENHOUSE TAKING 1144 ms LONGER THAN NORMAL [00:26:48] [Forestry Greenhouse/WARN] [forestry]: GREENHOUSE TAKING 1133 ms LONGER THAN NORMAL [00:28:52] [Forestry Greenhouse/WARN] [forestry]: GREENHOUSE TAKING 1111 ms LONGER THAN NORMAL [00:31:14] [Forestry Greenhouse/WARN] [forestry]: GREENHOUSE TAKING 1117 ms LONGER THAN NORMAL

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:18

github_iconTop GitHub Comments

1reaction
Parilcommented, Jan 30, 2018

Since this is drawer-related, I wonder if this bug I reported to StorageDrawers is relevant at all?

https://github.com/jaquadro/StorageDrawers/issues/616

1reaction
KirbyQKcommented, Jan 21, 2018

OK I’ve replicated it properly now;

  1. Have an RS network with a storage drawer controller attached via an external storage.
  2. Have an empty compacting drawer attached locked to, say, nickel.
  3. Have another empty drawer locked to NOTHING.
  4. Request a non-processing recipe requiring an item from the compacting drawer.

Random AF and probably a corner case (who besides me would actually attach an empty drawer on purpose? I was mapping out my storage room) but there you go.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Exception in thread "RS crafting preview calculation" #1629
Issue description: Seriously bad lag spikes and can't craft a hardened upgrade, or access two of my crafters, one of which contained the ......
Read more >
Magical Thread Drop Rate: The Science : r/runescape - Reddit
Run through my math yourself. Take my initial 10,000 and divide by the number of essence per run, 43. You get the number...
Read more >
Reactor 3 Reference Guide
How Do I Ensure Thread Affinity when I Use publishOn() ? C.7. ... Milestones and developer previews are distributed through the Spring Milestones...
Read more >
Secure Coding Guidelines for Java SE - Oracle
This web page contains Secure Coding Guidelines for the Java Programming Language.
Read more >
News | 7 Days to Die | The Survival Horde Crafting Game
Cosplay must be the original creation of the Entrant and the Entrant must personally create the majority of the Cosplay, in the Sponsor's...
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