Feeding trough crashes server
Mayzone opened this issue ยท 2 comments
Description
Cow eating from feeding trough
Steps to reproduce:
Place feeder anywhere, put wheat in it (took me 2 wheat before it crashed server), cows come to feeder and eat and then it crash
Expected behavior:
Cow eats from feeder trough and breed
Logs
[15:03:31] [Server thread/ERROR] [minecraft/MinecraftServer]: Encountered an unexpected exception net.minecraft.ReportedException: Ticking block entity at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:1068) ~[server-1.18.2-20220404.173914-srg.jar%23132!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:A} at net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:399) ~[server-1.18.2-20220404.173914-srg.jar%23132!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:975) ~[server-1.18.2-20220404.173914-srg.jar%23132!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:A} at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:794) ~[server-1.18.2-20220404.173914-srg.jar%23132!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:A} at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:254) ~[server-1.18.2-20220404.173914-srg.jar%23132!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:A} at java.lang.Thread.run(Thread.java:833) [?:?] {re:mixin,re:mixin} Caused by: java.lang.NullPointerException: Cannot invoke "net.minecraft.world.entity.player.Player.m_150109_()" because "p_27596_" is null at net.minecraft.world.entity.animal.Animal.m_27595_(Animal.java:181) ~[server-1.18.2-20220404.173914-srg.jar%23132!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:quark.mixins.json:AnimalMixin,pl:mixin:A} at vazkii.quark.content.automation.block.be.FeedingTroughBlockEntity.tick(FeedingTroughBlockEntity.java:108) ~[Quark-3.2-358.jar%23121!/:3.2-358] {re:classloading} at net.minecraft.world.level.chunk.LevelChunk$BoundTickingBlockEntity.m_142224_(LevelChunk.java:771) ~[server-1.18.2-20220404.173914-srg.jar%23132!/:?] {re:classloading} at net.minecraft.world.level.chunk.LevelChunk$RebindableTickingBlockEntityWrapper.m_142224_(LevelChunk.java:867) ~[server-1.18.2-20220404.173914-srg.jar%23132!/:?] {re:classloading} at net.minecraft.world.level.Level.m_46463_(Level.java:688) ~[server-1.18.2-20220404.173914-srg.jar%23132!/:?] {re:computing_frames,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B} at net.minecraft.server.level.ServerLevel.m_8793_(ServerLevel.java:324) ~[server-1.18.2-20220404.173914-srg.jar%23132!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:forgeendertech:coremod,re:classloading,pl:accesstransformer:B,xf:fml:forgeendertech:coremod,pl:mixin:APP:friendsandfoes-common.mixins.json:ServerWorldAccessor,pl:mixin:A} at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:1056) ~[server-1.18.2-20220404.173914-srg.jar%23132!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:A} ... 5 more [15:03:31] [Server thread/ERROR] [minecraft/MinecraftServer]: Cause of unexpected exception was java.lang.NullPointerException: Cannot invoke "net.minecraft.world.entity.player.Player.m_150109_()" because "p_27596_" is null at net.minecraft.world.entity.animal.Animal.m_27595_(Animal.java:181) ~[server-1.18.2-20220404.173914-srg.jar%23132!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:quark.mixins.json:AnimalMixin,pl:mixin:A} at vazkii.quark.content.automation.block.be.FeedingTroughBlockEntity.tick(FeedingTroughBlockEntity.java:108) ~[Quark-3.2-358.jar%23121!/:3.2-358] {re:classloading} at net.minecraft.world.level.chunk.LevelChunk$BoundTickingBlockEntity.m_142224_(LevelChunk.java:771) ~[server-1.18.2-20220404.173914-srg.jar%23132!/:?] {re:classloading} at net.minecraft.world.level.chunk.LevelChunk$RebindableTickingBlockEntityWrapper.m_142224_(LevelChunk.java:867) ~[server-1.18.2-20220404.173914-srg.jar%23132!/:?] {re:classloading} at net.minecraft.world.level.Level.m_46463_(Level.java:688) ~[server-1.18.2-20220404.173914-srg.jar%23132!/:?] {re:computing_frames,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B} at net.minecraft.server.level.ServerLevel.m_8793_(ServerLevel.java:324) ~[server-1.18.2-20220404.173914-srg.jar%23132!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:forgeendertech:coremod,re:classloading,pl:accesstransformer:B,xf:fml:forgeendertech:coremod,pl:mixin:APP:friendsandfoes-common.mixins.json:ServerWorldAccessor,pl:mixin:A} at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:1056) ~[server-1.18.2-20220404.173914-srg.jar%23132!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:A} at net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:399) ~[server-1.18.2-20220404.173914-srg.jar%23132!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:975) ~[server-1.18.2-20220404.173914-srg.jar%23132!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:A} at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:794) ~[server-1.18.2-20220404.173914-srg.jar%23132!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:A} at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:254) ~[server-1.18.2-20220404.173914-srg.jar%23132!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:A} at java.lang.Thread.run(Thread.java:833) [?:?] {re:mixin,re:mixin} [15:03:31] [Server thread/FATAL] [ne.mi.co.ForgeMod/]: Preparing crash report with UUID ad379c2a-c671-475d-932f-ca55148fe988 [15:03:31] [Server thread/ERROR] [minecraft/MinecraftServer]: This crash report has been saved to: E:\FTP\Nico Server\.\crash-reports\crash-2022-09-29_15.03.31-server.txt
Mod version
Quark-3.2-358.jar
Magma Server version
Magma-1.18.2-40.1.80-89c70113-server.jar
Can you reproduce this on a standard forge server?
The crash happends on Magma-1.18.2-40.1.80-89c70113-server.jar