[Crash] NullPointerException in Ars Nouveau Spellbook GUI - Rendering Tooltip (MC 1.21.1, AN 5.9.1)
Root-DE opened this issue ยท 0 comments
Minecraft Version: 1.21.1
NeoForge Version: 21.1.185
Ars Nouveau Version: 5.9.1
(
All the Mods 10: 10.4.2)
Relevant Ars Nouveau Addons Present:
- ars_elemental 0.7.4.1
- ars_elemancy 1.8
- not_enough_glyphs 4.2.1.0
- ars_technica 2.2.2
(see full modlist in crash log)
Describe the Crash:
When opening the Ars Nouveau Spellbook GUI (or while rendering a spellbook tooltip), my game immediately crashes with a NullPointerException. The stack trace points to the spell construction (Spell.<init>(Spell.java:77)), with the error message: NullPointerException: at index 3. It appears to be caused by a null entry in a list when copying elements (Guava ImmutableList), likely due to missing or corrupted spell or glyph data.
I did not find any other reports of this exact crash on the tracker.
What I Have Tried:
- Searched existing issues and could not find similar reports.
- Verified that all Ars Nouveau core/addon mods are up to date.
- Reviewed modlist for possible conflicts but found nothing obvious.
Steps to Reproduce:
- Open Ars Nouveau Spellbook GUI (or hover over a spell tooltip).
- Game crashes immediately with NullPointerException.
Relevant Section of Crash Log:
java.lang.NullPointerException: at index 3
at MC-BOOTSTRAP/[email protected]/com.google.common.collect.ObjectArrays.checkElementNotNull(ObjectArrays.java:232)
at MC-BOOTSTRAP/[email protected]/com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:265)
at TRANSFORMER/[email protected]/com.hollingsworth.arsnouveau.api.spell.Spell.<init>(Spell.java:77)
at TRANSFORMER/[email protected]/com.hollingsworth.arsnouveau.client.gui.book.GuiSpellBook.getClientImageTooltip(GuiSpellBook.java:865)
...
Full crash log attached.
Expected Behavior:
The spellbook GUI and tooltips should render even if bad or missing spell data is present, without crashing the game.
Additional Notes:
- The crash happens on my world/save every time this GUI is opened.
- If further information is needed, please advise.
Attachments:
- Crash log file
Thank you for your support and for developing Ars Nouveau!