DarkPacks / SkyFactory-4

SkyFactory 4 offers a brand-new experience never before seen in the series. Full automation, tech, magic, and bacon resources! This iteration offers over 30+ world types so you can play the pack like never before!
https://minecraft.curseforge.com/projects/skyfactory-4/
134 stars 44 forks source link

Soft game crash when trying to take out filled Symbol Portfolio (Mystcraft) from ME terminal #1639

Open Jack-McKalling opened 4 years ago

Jack-McKalling commented 4 years ago

Bug Description

The ME System from Applied Energistics 2 cannot output a stored (filled) Symbol Portfolio from Mystcraft, if it has a lot of symbols in it, from any terminal. Somewhere in the world log I find java.lang.IllegalArgumentException: Payload may not be larger than 32767 bytes (see here in the log).

Did this behavior use to work in the previous version?

The previous SF4 modpack version also had this problem.

Steps to Reproduce (for bugs)

  1. Place an ME Chest and put an empty 1k ME Storage Cell in it
  2. Fill a Symbol Portfolio with a lot of symbols
  3. Open the ME Chest from its terminal and put the portfolio in to store it onto the storage cell
  4. Try to take it out again :x: the game gets extremely slow (apparent by cursor movement) and you have to kill the java process through task manager :x: sometimes you get the connection lost error instead and get kicked to the multiplayer screen eventhough this is singleplayer

Logs

World Information

Client Information

Jack-McKalling commented 4 years ago

In both version 4.1.0 and 4.2.2 I accidentally stumbled upon this problem when clicking a conversion monitor in various ways with trial and error. Both times I accidentally clicked with a CompactStorage backpack in hand, and got frustrated that it disappeared into storage, and tried to take it back out again from the ME chest. All exactly the same on both occasions.

After a couple of dosen times deliberately crashing my game I finally found the specific item that "exceeds" the terminal's payload limit if you try to take it out. It is a partially filled Symbol Portfolio from Mystcraft, with a lot of symbols in it. An empty one works fine. It appears not related to the CompactStorage backpack it was in or the conversion monitor I clicked it on.

Also note a workaround for not being able to get the problematic item out of the system, is to flush it out of the digital network with an IO Port, into a regular chest. This works because the crash/problem doesn't seem to corrupt the game in any way.