CyclopsMC / IntegratedTunnels

Transfer other energy, items and fluids over Integrated Dynamics networks
MIT License
20 stars 13 forks source link

Inconsistent crash #253

Closed bangplaysgames closed 2 years ago

bangplaysgames commented 2 years ago

Issue type:


Short description:

It's very inconsistent, but there is a crash that keeps happening on my server caused by Integrated Tunnels. It's possible that this is also related to Ender Rift, as that is the storage device that my item interface is attached to, and its behavior is pretty drastically different from other storage devices.

Steps to reproduce the problem:

  1. Attach Item Interface to Ender Rift
  2. Insert and extract items via Storage Terminal
  3. It's random, it seems, when the issue shows itself.
  4. Sometimes it simply stops receiving any items and shows "####/0" as the number of items in the terminal and the maximum." Sometimes it hard crashes the server.

Expected behaviour:

Not have this crash.


Versions:

Log file:

https://pastebin.com/gSx2p6Dw

rubensworks commented 2 years ago

Thanks for reporting!

rubensworks commented 2 years ago

This may be a bug in Ender Rift. IT throws this error if item extraction during simulation and actual execution is different (because IT depends on this in it's item routing logic) https://github.com/CyclopsMC/CommonCapabilities/blob/48eb24b736a3da2a068bc6272edf91db5898adee/src/main/java/org/cyclops/commoncapabilities/ingredient/storage/IngredientComponentStorageWrapperHandlerItemStack.java#L205-L208

Could you open an issue on their tracker to see where the problem may lie?

GitHub
CommonCapabilities/IngredientComponentStorageWrapperHandlerItemStack.java at 48eb24b736a3da2a068bc6272edf91db5898adee · CyclopsMC/CommonCapabilities
Forge Capabilities that can be shared by multiple mods. - CommonCapabilities/IngredientComponentStorageWrapperHandlerItemStack.java at 48eb24b736a3da2a068bc6272edf91db5898adee · CyclopsMC/CommonCap...