Applied Energistics 2

Applied Energistics 2

137M Downloads

Typing in AE2 search bar causes crash

Closed this issue ยท 7 comments

commented

Describe the bug

Typing in AE2 search bar causes crash

How to reproduce the bug

type in AE2 terminal search bar

Expected behavior

not crash

Additional details

No response

Which minecraft version are you using?

1.21

On which mod loaders does it happen?

NeoForge

Crash log

Typing in AE2 search bar causes crash

commented

please add the crash report. (found in the crash-reports folder)

commented

Not quite sure where he got 1.21 from.. It's 1.20 and here's the log: https://hastebin.skyra.pw/vinuhufunu.yaml

commented

Not quite sure where he got 1.21 from.. It's 1.20 and here's the log: https://hastebin.skyra.pw/vinuhufunu.yaml

From the stacktrace that looks like some mod is trying to add a null attribute as part of their tooltip, which leads to AE crashing when it tries to gather the tooltip text. So this is not per se a bug in AE2, although we could try to cover for broken mods.

Based on this line, it may be a Mixin from something called "trinkets"? Does that ring a bell?

at net.minecraft.class_1799.md230bc2$trinkets$lambda$getTooltip$0$4(class_1799.java:16205)

commented

trinkets is the fabric equivalent of curios

I found the code where it crashes: https://github.com/emilyploszaj/trinkets/blob/7cb63ce066f7f56e12c5e83bba4914a6054e8dee/src/main/java/dev/emi/trinkets/mixin/ItemStackMixin.java#L160

however the cause is somewhere else entirely, likely in another mod

commented

Looking into this further it seems to be caused by Lodestone/Malum

commented

I'll still keep this on my list to potentially catch errors caused by the other mods tooltip functions and log something about the item causing the crash.

commented

@ImAK9 Fixed in https://github.com/AppliedEnergistics/Applied-Energistics-2/releases/tag/fabric%2Fv15.2.8 by catching exceptions thrown by other mods in the tooltip function and logging it / returning dummy tooltip