Closed Nivid-IT closed 6 months ago
I resolved this for the user above by just adding some null checks to https://github.com/Delfayne/ThaumicEnergistics/blob/2795a6107945832f3ddde8fa2ca429a2b5e9898f/src/main/java/thaumicenergistics/part/PartEssentiaImportBus.java#L73
Just to check if container, container.getAspects() or container.getAspects().getAspects() is null. This is probably not the route cause of the issue but did resolve the crash.
I'd not heard that someone had ported this forward. I'll add it to the test environment and try to understand the root cause.
I currently presume this is down to chunkloading. The method that gets the connected tile entity clearly can return null if the chunk is not loaded.
The export bus logic for instance, starts with an instanceof IAspectContainer
check. This implicitly also checks for nullness. The import bus make no such check.
Describe the bug Connecting an ME Essentia Import Bus to an Advanced Alchemical Furnace immediately crashes my server due to "Ticking GridNode"
Crashlog attached below.
Steps to Reproduce Steps to reproduce the behavior:
Expected behavior For the server not to crash.
Screenshots
Version Information
Additional context Some exception handling and/or null checks seem to be missing, a third party kindly provided these which resolved the issue for my server.
Logs/Crashlogs https://pastebin.com/fNf9bcX1