MohistMC / Banner

The Bukkit/Spigot/Paper API implementation for Fabric
GNU General Public License v3.0
216 stars 25 forks source link

Null Pointer Exception during HoneySlimeEntity Ticking #282

Closed windy664 closed 1 month ago

windy664 commented 1 month ago

I have confirmed that ...

Banner version

672

OS & Java versions

Java 19

Plugins and Mods

•Advanced Reborn 1.2.8•Applied Energistics 2 15.2.9•AE2WTLib 15.2.1-fabric•Alloy Forgery 2.1.2+1.20•Amethyst Core 1.5.0+1.20.1•Common Protection API 1.0.0•Amethyst Imbuement 1.20.1-19.5•Conditional Mixin 0.3.2•Should I Hit That? 0.1.2+1.20.1•Structurized Reborn 1.20.1-01•Animated Guns 1.3•AnnotationLib 1.0-1.20.1•Applied Botanics 1.5.0•Aquamirae 6•Architectury 9.2.14•Armourer's Workshop 3.0.0-beta.10•AttributeFix 21.0.4•Auto Config v1 Updated 3.4.0•Automobility 0.4.2+1.20.1-fabric•JsonEM 0.2.1+1.20•AvaritiaReborn 0.3.1•AzureLib 2.0.31•Banner Mod 1.20.1-672•Adventure Platform Fabric 5.9.0

Description

2024年7月23日09:58:29,我们的Minecraft Fabric服务器在处理HoneySlimeEntity实体的Tick事件时遭遇严重崩溃。错误可追溯到com.llamalad7.mixinextras.sugar.ref.LocalRef.get方法返回了一个null值,随后尝试调用io.github.fabricators_of_create.porting_lib.entity.events.ShieldBlockEvent.getBlockedDamage时触发了空指针异常,导致服务器突然崩溃,中断了所有游戏活动。此错误发生在多个活跃模组与库的交互过程中,涉及The Bumblezone模组中包含的HoneySlimeEntity。堆栈跟踪表明问题可能源自游戏在处理涉及盾牌的实体交互或伤害计算时的处理逻辑。

Step to reproduce

在测试服务器上启用用了portlib的的模组和实体会触发同样的错误,如果能够重现导致NullPointerException的条件。

Logs

crash-2024-07-23_09.58.29-server.txt

Server pack link (Optional)

No response

windy664 commented 1 month ago

676 没毛病!