Crash on start
zEpiixz opened this issue ยท 9 comments
Yey! I got the same crash! https://pastebin.com/E5V9Fr1v
Edit: yes, crashes during loading. Loading failed error.
I'm Sorry, this mod is not compatible with Immersive Engineering 5.0.4 or later version. Since IE changed a lot in api, and causing damage to existing saves.
As an IE dev: We did not break any API in 5.0.4, we changed internal code that is not supposed to be used by addons. The only code that is considered API is in
blusunrize.immersiveengineering.apiandblusunrize.lib.manual, while the crash is due to a change inblusunrize.immersiveengineering.common. And "causing damage to existing saves" is news to me, if it's true no one has reported it yet.
Sorry for my inaccurate expression, but updating to new IE version breaks multiblock BlockEntity data, and I got the exception:
Failed to load data for block entity frostedheart:heat_radiator
java.lang.NullPointerException: null
at java.util.Objects.requireNonNull(Objects.java:221) ~[?:?]
at blusunrize.immersiveengineering.common.blocks.IEBaseTileEntity.getWorldNonnull(IEBaseTileEntity.java:228) ~[immersiveengineering:?]
at blusunrize.immersiveengineering.common.blocks.generic.MultiblockPartTileEntity.getTileForPos(MultiblockPartTileEntity.java:433) ~[immersiveengineering:?]
at blusunrize.immersiveengineering.common.blocks.generic.MultiblockPartTileEntity.master(MultiblockPartTileEntity.java:304) ~[immersiveengineering:?]
As This method is provided by IE, I refer to IE api.
This exception breaks any existing IE multiblock structure.
As an IE dev: We did not break any API in 5.0.4, we changed internal code that is not supposed to be used by addons. The only code that is considered API is in blusunrize.immersiveengineering.api and blusunrize.lib.manual, while the crash is due to a change in blusunrize.immersiveengineering.common.
And "causing damage to existing saves" is news to me, if it's true no one has reported it yet.
- No one has reported this yet, so I'm pretty sure it's something on your end (
frostedheart:heat_radiator). And a bunch of people have updated existing worlds to 5.0.4, so "breaks any existing IE multiblock structure" is simply wrong. - That is anything but a full stacktrace, the part you're showing only tells me that something is trying to get the master BE from a BE before it is properly added to the world.
- IE API should only refer to the actual API, not to any IE code. And those methods are most certainly not part of the API.
- While I'm at it, how about you don't blindly copy code from IE: Neither of these methods should be called from addons.
- No one has reported this yet, so I'm pretty sure it's something on your end (
frostedheart:heat_radiator). And a bunch of people have updated existing worlds to 5.0.4, so "breaks any existing IE multiblock structure" is simply wrong.- That is anything but a full stacktrace, the part you're showing only tells me that something is trying to get the master BE from a BE before it is properly added to the world.
- IE API should only refer to the actual API, not to any IE code. And those methods are most certainly not part of the API.
- While I'm at it, how about you don't blindly copy code from IE:
Neither of these methods should be called from addons.
Great Thanks for your help. We would fix these problems later.