Cold Sweat

Cold Sweat

5M Downloads

Crash when opening inventory (related to new versions of Iceberg)

VaOnechezz opened this issue · 1 comments

commented

I'm encountering a consistent crash when using Cold Sweat 2.3.12 with Iceberg 1.3.0+ on NeoForge 1.21.1.

It happens instantly after opening inventory.

The issue occurs because Cold Sweat's compatibility handler attempts to access:
com.anthonyhilyard.iceberg.util.Tooltips$TitleBreakComponent

This class was present in older versions of Iceberg (≤ 1.2.9.2), but was removed in 1.3.0. As a result, if Iceberg ≥ 1.3.0 is present (even without Legendary Tooltips installed), the game crashes with a NoClassDefFoundError when rendering tooltips or opening the inventory.

This happens because the integration code in CompatManager$LegendaryTooltips assumes that the class exists when Iceberg is detected, but does not check whether the class is actually available.

Crash sample:

java.lang.NoClassDefFoundError: com/anthonyhilyard/iceberg/util/Tooltips$TitleBreakComponent
    at com.momosoftworks.coldsweat.compat.CompatManager$LegendaryTooltips.getTooltipStartIndex(...)

I tried to delete "Legendary Tooltips", delete all config files of legendary tooltips and Cold Sweat, I tried to reinstall Cold Sweat after this, but nothing helped, so I just downloaded older version of Iceberg (1.2.9.2, where this class exists) and had to degrade also Leg tooltips and some other mod to lower version because of Iceberg lowering, so it works fine now.

crash-2025-05-25_21.33.06-client.txt
crash-2025-05-25_22.16.47-client.txt
crash-2025-05-25_22.33.01-client.txt
crash-2025-05-26_14.49.37-client.txt

commented

Newer (2.4 beta) versions of Cold Sweat are equipped to be compatible with newer versions of Iceberg (the library mod for Legendary Tooltips). You will have to downgrade Iceberg if you want to use CS 2.3.12