Mekanism Additions

Mekanism Additions

24M Downloads

java.lang.IllegalStateException: Do not call getCapability on an invalid cache or from the invalidation listener!

ZwiebelTVDE opened this issue ยท 4 comments

commented

Issue description

Our server experieces frequent crashes when playing AllTheMods 10 with Mekanism version 10.7.12 it appeares to be linked to some advanced logistigal pipes in one of our bases.

Steps to reproduce

  1. Create a server with neoforge and the modpack ATM10
  2. Place Advanced Logisical pipes to connect some inventories
  3. Leave the server and join back on the server

Minecraft version

1.21.1 (Latest)

NeoForge version

21.1.133

Mekanism version

10.7.12

Other relevant versions

See bottom of crashlog:

If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)

https://gist.github.com/ZwiebelTVDE/d541a16bca337a403ed7fa1d830ce9e7

commented

@NanobotZ True, it's connected to a ME interface to import items into our ME system.

edit: Basic Logistical Transporter seem to be fine though

commented

I need to be able to reproduce this reliably - something is setting the Transporter as removed (e.g. chunk unloaded) or the tile isn't loaded but it is getting ticked in that state, which should not happen

commented

2670ee5 (in next release) might fix it, but I can't say for sure

commented

I have an identical problem, for me it was a logistical pipe connected to an AE2 block (ME Interface).
If I had to guess, the chunk with the pipe loaded before the entire AE2 network was loaded.

Issue poster, according to your logs, problematic pipe is at coords (-243,30,153).
Is it also connected to an AE2 block?