Closed xMrFishx closed 3 years ago
getting the same issue, game crashes near instantly after joining the game: https://pastebin.com/6ey6w3GK
this is with the newest version, old versions seemed to work fine
Hi there, I got so many reports about this kind of crash, and I made debugging code in the latest version. Could you install it and resend the report with the whole log file?
I wrote the bit below, but then I did some more testing - it's Husks. The issue is husks. Proven by turning off husks with InControl, the issue goes away. As soon as I enable it and reload the script permitting husks to spawn, it crashes. The logs agree. Also with Husks disabled in InControl, if I attempt to spawn one with an egg, I get the null pointer exception in the server console and no husk spawns (possibly prevented by InControl) thus backing up the issue.
Okay I've installed 4.1.1, the latest build I could find on curseforge and tried again.
Here are the files from the server directory /Minecraft/CrashLogs and /Minecraft/Logs that are relevent. I've labelled them as Crash 1 and Crash 2 etc to match the files. Crash 3 is started with me disabling Husks and flying around. I then try to spawn some by hand with them disabled in InControl, then I eventually enable Husks again and the server crashes.
The method of generating the crash was to load the server, log in, move near by where i know I can cause a crash. Stop the server. Start the server again so that the log files will be shorter, log in. Move to the region. Crash happens. Repeat a couple of times in slightly different locations. Also, I am in creative mode for convenience but they also occur in survival. My recovery is to kill myself via the server console as I log in, else I will get stuck unable to log in (same goes for players if they accidentally trigger this crash).
I've cut out what I think is the relevant bit for convenince but the whole logs are provided as requested. I know about the huge pile of errors from "incendium/starmute" which is the bulk of the log files. Those are nether-related so should (in theory) not be relevant here as I'm in the overworld.
[01Jul2021 21:23:44.253] [Server thread/INFO] [STDOUT/]: [maninhouse.epicfight.capabilities.entity.LivingData:initAttributes:86]: Debug Message Epic Fight HuskEntity['Husk'/9202, l='ServerWorld minecraft:overworld Fishbowl', x=-2939.50, y=76.00, z=-3055.50] entity.minecraft.husk
[01Jul2021 21:23:44.253] [Server thread/INFO] [STDOUT/]: [maninhouse.epicfight.capabilities.entity.LivingData:initAttributes:87]: Debug Message Epic Fight null
[01Jul2021 21:23:44.253] [Server thread/INFO] [STDOUT/]: [java.util.stream.Streams$StreamBuilderImpl:forEachRemaining:411]: HuskEntity['Husk'/9202, l='ServerWorld minecraft:overworld Fishbowl', x=-2939.50, y=76.00, z=-3055.50]
[01Jul2021 21:23:44.253] [Server thread/INFO] [STDOUT/]: [maninhouse.epicfight.capabilities.entity.LivingData:initAttributes:89]: Debug Message Epic Fight null
[01Jul2021 21:23:44.254] [Server thread/ERROR] [net.minecraftforge.eventbus.EventBus/EVENTBUS]: Exception caught during firing event: null
Index: 24
Listeners:
0: HIGHEST
1: ASM: net.minecraftforge.common.ForgeInternalHandler@bfa4de7 onEntityJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
2: ASM: class com.performant.coremod.event.ForgeBusEventHandler onEntityAdded(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
3: ASM: mcjty.incontrol.ForgeEventHandlers@6d9748f7 onEntityJoinWorldLast(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
4: HIGH
5: ASM: class me.shedaniel.architectury.event.forge.EventHandlerImplCommon event(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
6: ASM: tschipp.carryon.common.event.ItemEvents@2cace24a onItemDropped(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
7: ASM: tschipp.carryon.common.event.ItemEntityEvents@549d6ec0 onItemDropped(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
8: NORMAL
9: ASM: com.github.alexthe666.citadel.server.CitadelEvents@eeef80b onJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
10: ASM: class chumbanotz.mutantbeasts.EventHandler onEntityJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
11: ASM: class tallestegg.guardvillagers.HandlerEvents onLivingSpawned(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
12: ASM: class net.mehvahdjukaar.dummmmmmy.common.Events onEntityJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
13: ASM: doggytalents.common.event.EventHandler@5750496 onEntitySpawn(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
14: ASM: class com.infamous.sapience.mod.EventHandler onPiglinSpawn(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
15: ASM: uniquee.handler.EntityEvents@4a8917d5 onEntitySpawn(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
16: ASM: class tschipp.callablehorses.common.events.EntityEvents onJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
17: ASM: INSTANCE onEntityJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
18: ASM: class com.infamous.dungeons_mobs.MobEvents onEntityJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
19: ASM: class com.infamous.dungeons_gear.GlobalEvents onArrowJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
20: ASM: com.bobmowzie.mowziesmobs.server.ServerEventHandler@7c3bb702 onJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
21: ASM: class com.infamous.dungeons_gear.artifacts.ArtifactEvents onArrowJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
22: ASM: class com.infamous.dungeons_gear.artifacts.ArtifactEvents reAddSummonableGoals(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
23: ASM: class com.minecraftabnormals.savageandravage.core.other.SREvents onLivingSpawned(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
24: ASM: class maninhouse.epicfight.events.EntityEvents spawnEvent(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
25: ASM: vazkii.quark.content.automation.module.FeedingTroughModule@5b93ff30 onOrbSpawn(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
26: ASM: vazkii.quark.content.building.module.VariantChestsModule@77a1c3c9 onEntityJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
27: ASM: vazkii.quark.content.tools.module.SkullPikesModule@1c74306b onMonsterAppear(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
28: ASM: vazkii.quark.content.tweaks.module.PatTheDogsModule@2bc23917 onWolfAppear(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
29: ASM: vazkii.quark.content.tweaks.module.VillagersFollowEmeraldsModule@2a5bae7b onVillagerAppear(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
30: ASM: com.pam.pamhc2trees.events.TemptationTask@5e8b725c onEntitySpawn(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
31: ASM: top.theillusivec4.curios.common.event.CuriosEventHandler@31649b50 entityJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
32: ASM: top.theillusivec4.champions.common.ChampionEventsHandler@1d01ce4d onLivingJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
33: ASM: com.elenai.elenaidodge2.event.ConfigEventListener@c885d8f playerJoinsWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
34: ASM: pam.pamhc2crops.events.TemptationTask@17ce04a7 onEntitySpawn(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
35: ASM: top.theillusivec4.combustivefishing.common.CommonEventHandler@27be4b57 onOcelotJoin(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
36: ASM: com.natamus.villagernames.events.VillagerEvent@7eadc04a onSpawn(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
37: ASM: com.natamus.randomshulkercolours.events.ShulkerEvent@47d66823 onShulkerSpawn(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
38: ASM: com.natamus.collective.events.EntityEvents@263d391c onEntityJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
39: LOWEST
40: ASM: mcjty.incontrol.ForgeEventHandlers@6d9748f7 onEntityJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
java.lang.NullPointerException
at maninhouse.epicfight.capabilities.entity.LivingData.initAttributes(LivingData.java:92)
at maninhouse.epicfight.capabilities.entity.mob.ZombieData.initAttributes(ZombieData.java:44)
at maninhouse.epicfight.capabilities.entity.LivingData.onEntityJoinWorld(LivingData.java:77)
at maninhouse.epicfight.capabilities.entity.MobData.onEntityJoinWorld(MobData.java:48)
at maninhouse.epicfight.capabilities.entity.MobData.onEntityJoinWorld(MobData.java:35)
at maninhouse.epicfight.events.EntityEvents.spawnEvent(EntityEvents.java:80)
at net.minecraftforge.eventbus.ASMEventHandler_952_EntityEvents_spawnEvent_EntityJoinWorldEvent.invoke(.dynamic)
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85)
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302)
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283)
at net.minecraft.world.server.ServerWorld.func_72838_d(ServerWorld.java:813)
at net.minecraft.world.server.ServerWorld.func_217376_c(ServerWorld.java:754)
at java.base/java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411)
at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734)
at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658)
at net.minecraft.world.IServerWorld.func_242417_l(SourceFile:11)
at net.minecraft.world.spawner.WorldEntitySpawner.func_234966_a_(WorldEntitySpawner.java:178)
at net.minecraft.world.spawner.WorldEntitySpawner.func_234967_a_(WorldEntitySpawner.java:124)
at net.minecraft.world.spawner.WorldEntitySpawner.func_234979_a_(WorldEntitySpawner.java:110)
at net.minecraft.world.server.ServerChunkProvider.func_217220_m(ServerChunkProvider.java:666)
at net.minecraft.world.server.ServerChunkProvider.func_217207_a(ServerChunkProvider.java:321)
at net.minecraft.world.server.ServerWorld.func_72835_b(ServerWorld.java:333)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:851)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:291)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:787)
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:642)
at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:232)
at java.base/java.lang.Thread.run(Thread.java:829)
[01Jul2021 21:23:44.263] [Server thread/FATAL] [net.minecraftforge.common.ForgeMod/]: Preparing crash report with UUID 71f54f47-27b8-4489-82cf-1a50a7f2049b
[01Jul2021 21:23:44.266] [Server thread/ERROR] [net.minecraft.server.MinecraftServer/]: Encountered an unexpected exception
net.minecraft.crash.ReportedException: Exception ticking world
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:855) ~[?:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:291) ~[?:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:787) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:642) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:232) ~[?:?]
at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: java.lang.NullPointerException
at maninhouse.epicfight.capabilities.entity.LivingData.initAttributes(LivingData.java:92) ~[epicfight:1.0]
at maninhouse.epicfight.capabilities.entity.mob.ZombieData.initAttributes(ZombieData.java:44) ~[epicfight:1.0]
at maninhouse.epicfight.capabilities.entity.LivingData.onEntityJoinWorld(LivingData.java:77) ~[epicfight:1.0]
at maninhouse.epicfight.capabilities.entity.MobData.onEntityJoinWorld(MobData.java:48) ~[epicfight:1.0]
at maninhouse.epicfight.capabilities.entity.MobData.onEntityJoinWorld(MobData.java:35) ~[epicfight:1.0]
at maninhouse.epicfight.events.EntityEvents.spawnEvent(EntityEvents.java:80) ~[epicfight:1.0]
at net.minecraftforge.eventbus.ASMEventHandler_952_EntityEvents_spawnEvent_EntityJoinWorldEvent.invoke(.dynamic) ~[?:?]
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?]
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?]
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?]
at net.minecraft.world.server.ServerWorld.func_72838_d(ServerWorld.java:813) ~[?:?]
at net.minecraft.world.server.ServerWorld.func_217376_c(ServerWorld.java:754) ~[?:?]
at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411) ~[?:?]
at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734) ~[?:?]
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658) ~[?:?]
at net.minecraft.world.IServerWorld.func_242417_l(SourceFile:11) ~[?:?]
at net.minecraft.world.spawner.WorldEntitySpawner.func_234966_a_(WorldEntitySpawner.java:178) ~[?:?]
at net.minecraft.world.spawner.WorldEntitySpawner.func_234967_a_(WorldEntitySpawner.java:124) ~[?:?]
at net.minecraft.world.spawner.WorldEntitySpawner.func_234979_a_(WorldEntitySpawner.java:110) ~[?:?]
at net.minecraft.world.server.ServerChunkProvider.func_217220_m(ServerChunkProvider.java:666) ~[?:?]
at net.minecraft.world.server.ServerChunkProvider.func_217207_a(ServerChunkProvider.java:321) ~[?:?]
at net.minecraft.world.server.ServerWorld.func_72835_b(ServerWorld.java:333) ~[?:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:851) ~[?:?]
... 5 more
[01Jul2021 20:57:34.191] [Server thread/DEBUG] [mixin/]: Mixing DamageCalculatorMixin from armorcurve.mixins.json into net.minecraft.util.CombatRules
[01Jul2021 20:57:35.176] [Server thread/INFO] [STDOUT/]: [maninhouse.epicfight.capabilities.entity.LivingData:initAttributes:86]: Debug Message Epic Fight HuskEntity['Husk'/7059, l='ServerWorld minecraft:overworld Fishbowl', x=-2071.50, y=67.00, z=-2356.50] entity.minecraft.husk
[01Jul2021 20:57:35.177] [Server thread/INFO] [STDOUT/]: [maninhouse.epicfight.capabilities.entity.LivingData:initAttributes:87]: Debug Message Epic Fight null
[01Jul2021 20:57:35.177] [Server thread/INFO] [STDOUT/]: [java.util.stream.Streams$StreamBuilderImpl:forEachRemaining:411]: HuskEntity['Husk'/7059, l='ServerWorld minecraft:overworld Fishbowl', x=-2071.50, y=67.00, z=-2356.50]
[01Jul2021 20:57:35.177] [Server thread/INFO] [STDOUT/]: [maninhouse.epicfight.capabilities.entity.LivingData:initAttributes:89]: Debug Message Epic Fight null
[01Jul2021 20:57:35.178] [Server thread/ERROR] [net.minecraftforge.eventbus.EventBus/EVENTBUS]: Exception caught during firing event: null
Index: 24
Listeners:
0: HIGHEST
1: ASM: net.minecraftforge.common.ForgeInternalHandler@7664806c onEntityJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
2: ASM: class com.performant.coremod.event.ForgeBusEventHandler onEntityAdded(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
3: ASM: mcjty.incontrol.ForgeEventHandlers@b2bd46 onEntityJoinWorldLast(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
4: HIGH
5: ASM: class me.shedaniel.architectury.event.forge.EventHandlerImplCommon event(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
6: ASM: tschipp.carryon.common.event.ItemEvents@38e8d59b onItemDropped(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
7: ASM: tschipp.carryon.common.event.ItemEntityEvents@5a72c2bd onItemDropped(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
8: NORMAL
9: ASM: com.github.alexthe666.citadel.server.CitadelEvents@5df5ae7c onJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
10: ASM: class tallestegg.guardvillagers.HandlerEvents onLivingSpawned(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
11: ASM: class chumbanotz.mutantbeasts.EventHandler onEntityJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
12: ASM: class net.mehvahdjukaar.dummmmmmy.common.Events onEntityJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
13: ASM: doggytalents.common.event.EventHandler@4708d7c0 onEntitySpawn(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
14: ASM: class com.infamous.sapience.mod.EventHandler onPiglinSpawn(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
15: ASM: uniquee.handler.EntityEvents@297cb0c7 onEntitySpawn(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
16: ASM: class tschipp.callablehorses.common.events.EntityEvents onJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
17: ASM: class com.infamous.dungeons_mobs.MobEvents onEntityJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
18: ASM: INSTANCE onEntityJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
19: ASM: com.bobmowzie.mowziesmobs.server.ServerEventHandler@76c8ae47 onJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
20: ASM: class com.infamous.dungeons_gear.GlobalEvents onArrowJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
21: ASM: class com.infamous.dungeons_gear.artifacts.ArtifactEvents onArrowJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
22: ASM: class com.infamous.dungeons_gear.artifacts.ArtifactEvents reAddSummonableGoals(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
23: ASM: class com.minecraftabnormals.savageandravage.core.other.SREvents onLivingSpawned(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
24: ASM: class maninhouse.epicfight.events.EntityEvents spawnEvent(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
25: ASM: vazkii.quark.content.automation.module.FeedingTroughModule@1df1a7e1 onOrbSpawn(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
26: ASM: vazkii.quark.content.building.module.VariantChestsModule@501c12a6 onEntityJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
27: ASM: vazkii.quark.content.tools.module.SkullPikesModule@4061f425 onMonsterAppear(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
28: ASM: vazkii.quark.content.tweaks.module.PatTheDogsModule@24f69be6 onWolfAppear(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
29: ASM: vazkii.quark.content.tweaks.module.VillagersFollowEmeraldsModule@16d983ad onVillagerAppear(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
30: ASM: top.theillusivec4.curios.common.event.CuriosEventHandler@1036d3df entityJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
31: ASM: com.pam.pamhc2trees.events.TemptationTask@5329d97e onEntitySpawn(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
32: ASM: com.elenai.elenaidodge2.event.ConfigEventListener@54d2aab playerJoinsWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
33: ASM: top.theillusivec4.champions.common.ChampionEventsHandler@5c0e7841 onLivingJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
34: ASM: pam.pamhc2crops.events.TemptationTask@52e757ce onEntitySpawn(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
35: ASM: top.theillusivec4.combustivefishing.common.CommonEventHandler@d4108aa onOcelotJoin(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
36: ASM: com.natamus.randomshulkercolours.events.ShulkerEvent@5146325e onShulkerSpawn(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
37: ASM: com.natamus.villagernames.events.VillagerEvent@1da8c427 onSpawn(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
38: ASM: com.natamus.collective.events.EntityEvents@7716ae9 onEntityJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
39: LOWEST
40: ASM: mcjty.incontrol.ForgeEventHandlers@b2bd46 onEntityJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
java.lang.NullPointerException
at maninhouse.epicfight.capabilities.entity.LivingData.initAttributes(LivingData.java:92)
at maninhouse.epicfight.capabilities.entity.mob.ZombieData.initAttributes(ZombieData.java:44)
at maninhouse.epicfight.capabilities.entity.LivingData.onEntityJoinWorld(LivingData.java:77)
at maninhouse.epicfight.capabilities.entity.MobData.onEntityJoinWorld(MobData.java:48)
at maninhouse.epicfight.capabilities.entity.MobData.onEntityJoinWorld(MobData.java:35)
at maninhouse.epicfight.events.EntityEvents.spawnEvent(EntityEvents.java:80)
at net.minecraftforge.eventbus.ASMEventHandler_951_EntityEvents_spawnEvent_EntityJoinWorldEvent.invoke(.dynamic)
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85)
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302)
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283)
at net.minecraft.world.server.ServerWorld.func_72838_d(ServerWorld.java:813)
at net.minecraft.world.server.ServerWorld.func_217376_c(ServerWorld.java:754)
at java.base/java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411)
at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734)
at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658)
at net.minecraft.world.IServerWorld.func_242417_l(SourceFile:11)
at net.minecraft.world.spawner.WorldEntitySpawner.func_234966_a_(WorldEntitySpawner.java:178)
at net.minecraft.world.spawner.WorldEntitySpawner.func_234967_a_(WorldEntitySpawner.java:124)
at net.minecraft.world.spawner.WorldEntitySpawner.func_234979_a_(WorldEntitySpawner.java:110)
at net.minecraft.world.server.ServerChunkProvider.func_217220_m(ServerChunkProvider.java:666)
at net.minecraft.world.server.ServerChunkProvider.func_217207_a(ServerChunkProvider.java:321)
at net.minecraft.world.server.ServerWorld.func_72835_b(ServerWorld.java:333)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:851)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:291)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:787)
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:642)
at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:232)
at java.base/java.lang.Thread.run(Thread.java:829)
[01Jul2021 20:57:35.184] [Server thread/FATAL] [net.minecraftforge.common.ForgeMod/]: Preparing crash report with UUID 228fd950-7801-4511-a7f2-d8a848c013a0
[01Jul2021 20:57:35.187] [Server thread/ERROR] [net.minecraft.server.MinecraftServer/]: Encountered an unexpected exception
net.minecraft.crash.ReportedException: Exception ticking world
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:855) ~[?:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:291) ~[?:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:787) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:642) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:232) ~[?:?]
at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: java.lang.NullPointerException
at maninhouse.epicfight.capabilities.entity.LivingData.initAttributes(LivingData.java:92) ~[epicfight:1.0]
at maninhouse.epicfight.capabilities.entity.mob.ZombieData.initAttributes(ZombieData.java:44) ~[epicfight:1.0]
at maninhouse.epicfight.capabilities.entity.LivingData.onEntityJoinWorld(LivingData.java:77) ~[epicfight:1.0]
at maninhouse.epicfight.capabilities.entity.MobData.onEntityJoinWorld(MobData.java:48) ~[epicfight:1.0]
at maninhouse.epicfight.capabilities.entity.MobData.onEntityJoinWorld(MobData.java:35) ~[epicfight:1.0]
at maninhouse.epicfight.events.EntityEvents.spawnEvent(EntityEvents.java:80) ~[epicfight:1.0]
at net.minecraftforge.eventbus.ASMEventHandler_951_EntityEvents_spawnEvent_EntityJoinWorldEvent.invoke(.dynamic) ~[?:?]
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?]
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?]
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?]
at net.minecraft.world.server.ServerWorld.func_72838_d(ServerWorld.java:813) ~[?:?]
at net.minecraft.world.server.ServerWorld.func_217376_c(ServerWorld.java:754) ~[?:?]
at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411) ~[?:?]
at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734) ~[?:?]
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658) ~[?:?]
at net.minecraft.world.IServerWorld.func_242417_l(SourceFile:11) ~[?:?]
at net.minecraft.world.spawner.WorldEntitySpawner.func_234966_a_(WorldEntitySpawner.java:178) ~[?:?]
at net.minecraft.world.spawner.WorldEntitySpawner.func_234967_a_(WorldEntitySpawner.java:124) ~[?:?]
at net.minecraft.world.spawner.WorldEntitySpawner.func_234979_a_(WorldEntitySpawner.java:110) ~[?:?]
at net.minecraft.world.server.ServerChunkProvider.func_217220_m(ServerChunkProvider.java:666) ~[?:?]
at net.minecraft.world.server.ServerChunkProvider.func_217207_a(ServerChunkProvider.java:321) ~[?:?]
at net.minecraft.world.server.ServerWorld.func_72835_b(ServerWorld.java:333) ~[?:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:851) ~[?:?]
... 5 more
I found the reason. If you have installed dungeons mobs mod and spawns a Husk, the game will be crashed. I sent a message to the creator of that mod to fix this problem. Before then, Don't use both mods together.
Fair enough, thanks for tracking that down. I'll leave Husks disabled via InControl which is a good temporary workaround.
I've got a crash that is taking the server out that I think I've narrowed down to EpicFight. My testing seems to find the crash is related to Zombies, or something using ZombieData spawning/ticking in the desert regions. I don't appear to have any issue with these entities elsewhere but if I or a player enters sandy regions I can guarantee the server will crash immediately as soon as it tries to tick a Zombie. I don't know if Husks are rolled into this problem or not.
My server is currently running 3.2.2 but I have also tested all builds following and the issue is still present. I have included crash logs from Both 4.1.0 and 3.2.2 for comparrison. As 4.1.0 does not appear to have fixed the issue, I have kept the server on 3.2.2 for now. This issue is difficult as if a player causes the crash in one of these regions, I have to manually move them away before they can log back in. Each login attempt will guarantee another crash from the Entity tick.
Let me know if you need me to test anything specific.
Crash Log from 4.1.0
Crash Log from 3.2.2