Dungeon Now Loading 2%

Dungeon Now Loading 2%

5M Downloads

Game Crash – Chaos Spawner Entity Causes NullPointerException (v1.5, Forge 1.20.1)

MartinVR009 opened this issue · 6 comments

commented

I encountered a game crash while using Dungeon Now Loading v1.5 on Forge 1.20.1. The crash happens when the Chaos Spawner entity tries to access a missing or null damage source. This results in a NullPointerException, causing the server to crash.

Steps to Reproduce:
Encounter a Chaos Spawner entity (either naturally or by summoning).
The game crashes due to a missing damage source reference.

Crash Report Message :
java.lang.NullPointerException: Cannot invoke
"net.minecraft.world.damagesource.DamageSource.m_7639_()"
because "this.killedDamageSource" is null
at dev.hexnowloading.dungeonnowloading.entity.boss.ChaosSpawnerEntity.m_6153_(ChaosSpawnerEntity.java:556)

commented

I have the exact same issue here, essentially just happened to me a couple hours ago.

Though in my case i did a command (/kill @e) Wich might have been the thing that triggered it.
Here's my crashlog just incase:

crash-2025-07-08_11.49.59-server.txt

commented

Having the same problem, this leads the world to crash on load.

commented

Was driving me nuts what was causing the crash but yes this happens to me too!

commented

Is this really related to my PR? I don't think it changes anything related to chunk loading/statistics.

commented

It causes chunk freeze "timeout waiting for world statistics" at sometime

commented

Is this really related to my PR? I don't think it changes anything related to chunk loading/statistics.

sorry to ask but could you upload a compiled build? I cant seem to do it successfully myself