Error: java.lang.NullPointerException: Cannot invoke "java.util.List.indexOf(Object)" because "blusunrize.immersiveengineering.api.IEApi.modPreference" is null
dimondking2016 opened this issue ยท 11 comments
Minecraft Version
1.18
Immersive Engineering Version
8.3.0-155
How did it happen?
I was in the middle of a raid watching as my army of iron golems were fighting an army of vindicators and pillagers, It was night time and the sun started coming up just before the game crashed. I am now locked out of my world as it crashes whenever I load it.
Crash Log
Please upload the full log, this should not be possible unless the IE config isn't loaded for some reason. Both logs/latest.log
and logs/debug.log
would be useful.
So when the issue came up after uploading this I deleted the mod and all my configs and later last night I re-downloaded immersive engineering and It's working fine again.
Nonetheless here is my log and debug closest to the time of the crashes.
If the same issue comes up again I'll post the logs here.
Proxwian could you also post your logs too? The more logs the better probably.
Looks like we've both have the same issue in one hour and it just disappears for now. Will keep my eye on logs next time
@Proxwian are you also using CoroUtil 1.18.1-1.2.42 or above? I suspect that this code added in that release causes the issue, that would also explain why it started popping up without any relevant changes to IE.
@ColinVaughn please upload the crashlog and the full client log. The problematic code in CoroUtil is not in any 1.19.2 builds, so that can't be the issue in your case.
Since that code is a very plausible cause (especially as a CoroUtil config is added+loaded right when the IE config is added in the logs), and the issue seems to be random and rare-ish, I'll close this for now. If anyone runs into this crash without CoroUtil or with a fixed version (once that is available), please comment on this issue and include links to the crashlog and the full debug log.
I'm getting this crash and I don't have CoroUtil. I'll send a crash report when I get a new one.
crash-2023-01-14_23.26.29-server.txt
It does not look like issue with coroutil, but IE API