AcademyCraft

AcademyCraft

1M Downloads

[Bug] 玩家升级报错

sheng-ri opened this issue · 0 comments

commented

玩家从一级传送使升级到二级

[10:04:54] [Server thread/ERROR]: Exception caught during firing event cn.academy.event.ability.LevelChangeEvent@6b1e9749:
java.lang.NullPointerException: null
at cn.academy.analyticUtil.AnalyticDataListener.levelChangeListener(AnalyticDataListener.java:128) ~[AnalyticDataListener.class:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_84_AnalyticDataListener_levelChangeListener_LevelChangeEvent.invoke(.dynamic) ~[?:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:Personal-46e42f6]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:187) [EventBus.class:Personal-46e42f6]
at cn.academy.datapart.AbilityData.setLevel(AbilityData.java:135) [AbilityData.class:?]
at cn.academy.ability.develop.action.DevelopActionLevel.onLearned(DevelopActionLevel.java:38) [DevelopActionLevel.class:?]
at cn.academy.ability.develop.DevelopData.tick(DevelopData.java:156) [DevelopData.class:?]
at cn.lambdalib2.datapart.DataPart.callTick(DataPart.java:224) [DataPart.class:?]
at cn.lambdalib2.datapart.EntityData.tick(EntityData.java:225) [EntityData.class:?]
at cn.lambdalib2.datapart.EntityData.access$000(EntityData.java:32) [EntityData.class:?]
at cn.lambdalib2.datapart.EntityData$EventListener.onLivingUpdate(EntityData.java:241) [EntityData$EventListener.class:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_229_EventListener_onLivingUpdate_LivingUpdateEvent.invoke(.dynamic) [?:Personal-46e42f6]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:Personal-46e42f6]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:187) [EventBus.class:Personal-46e42f6]
at net.minecraftforge.common.ForgeHooks.onLivingUpdate(ForgeHooks.java:576) [ForgeHooks.class:Personal-46e42f6]
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2414) [vp.class:?]
at net.minecraft.entity.player.EntityPlayer.func_70071_h_(EntityPlayer.java:248) [aed.class:?]
at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:467) [oq.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_73660_a(NetHandlerPlayServer.java:246) [pa.class:?]
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:209) [NetworkDispatcher$1.class:Personal-46e42f6]
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:235) [gw.class:?]
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:187) [oz.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:936) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:472) [nz.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:779) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:633) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_192]
[10:04:54] [Server thread/ERROR]: Index: 1 Listeners:
[10:04:54] [Server thread/ERROR]: 0: NORMAL
[10:04:54] [Server thread/ERROR]: 1: ASM: cn.academy.analyticUtil.AnalyticDataListener@35dae1a9 levelChangeListener(Lcn/academy/event/ability/LevelChangeEvent;)V
[10:04:54] [Server thread/ERROR]: 2: ASM: instance changedLevel(Lcn/academy/event/ability/LevelChangeEvent;)V
[10:04:54] [Server thread/ERROR]: 3: ASM: cn.academy.advancements.DispatcherAch@1cfba350 onLevelChange(Lcn/academy/event/ability/LevelChangeEvent;)V
[10:04:54] [Server thread/ERROR]: Exception caught during firing event net.minecraftforge.event.entity.living.LivingEvent$LivingUpdateEvent@32e3bf4a:
java.lang.NullPointerException: null
at cn.academy.analyticUtil.AnalyticDataListener.levelChangeListener(AnalyticDataListener.java:128) ~[AnalyticDataListener.class:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_84_AnalyticDataListener_levelChangeListener_LevelChangeEvent.invoke(.dynamic) ~[?:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:Personal-46e42f6]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:187) [EventBus.class:Personal-46e42f6]
at cn.academy.datapart.AbilityData.setLevel(AbilityData.java:135) ~[AbilityData.class:?]
at cn.academy.ability.develop.action.DevelopActionLevel.onLearned(DevelopActionLevel.java:38) ~[DevelopActionLevel.class:?]
at cn.academy.ability.develop.DevelopData.tick(DevelopData.java:156) ~[DevelopData.class:?]
at cn.lambdalib2.datapart.DataPart.callTick(DataPart.java:224) ~[DataPart.class:?]
at cn.lambdalib2.datapart.EntityData.tick(EntityData.java:225) ~[EntityData.class:?]
at cn.lambdalib2.datapart.EntityData.access$000(EntityData.java:32) ~[EntityData.class:?]
at cn.lambdalib2.datapart.EntityData$EventListener.onLivingUpdate(EntityData.java:241) ~[EntityData$EventListener.class:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_229_EventListener_onLivingUpdate_LivingUpdateEvent.invoke(.dynamic) ~[?:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:Personal-46e42f6]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:187) [EventBus.class:Personal-46e42f6]
at net.minecraftforge.common.ForgeHooks.onLivingUpdate(ForgeHooks.java:576) [ForgeHooks.class:Personal-46e42f6]
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2414) [vp.class:?]
at net.minecraft.entity.player.EntityPlayer.func_70071_h_(EntityPlayer.java:248) [aed.class:?]
at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:467) [oq.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_73660_a(NetHandlerPlayServer.java:246) [pa.class:?]
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:209) [NetworkDispatcher$1.class:Personal-46e42f6]
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:235) [gw.class:?]
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:187) [oz.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:936) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:472) [nz.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:779) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:633) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_192]
[10:04:54] [Server thread/ERROR]: Index: 3 Listeners:
[10:04:54] [Server thread/ERROR]: 0: NORMAL
[10:04:54] [Server thread/ERROR]: 1: ASM: class twilightforest.TFEventListener livingUpdate(Lnet/minecraftforge/event/entity/living/LivingEvent$LivingUpdateEvent;)Z
[10:04:54] [Server thread/ERROR]: 2: ASM: cpw.mods.ironchest.common.util.OcelotsSitOnChestsHandler@32878950 changeSittingTaskForOcelots(Lnet/minecraftforge/event/entity/living/LivingEvent$LivingUpdateEvent;)V
[10:04:54] [Server thread/ERROR]: 3: ASM: instance onLivingUpdate(Lnet/minecraftforge/event/entity/living/LivingEvent$LivingUpdateEvent;)V
[10:04:54] [Server thread/ERROR]: 4: ASM: cn.academy.ability.vanilla.meltdowner.skill.MDDamageHelper$Events@22610318 onLivingUpdate(Lnet/minecraftforge/event/entity/living/LivingEvent$LivingUpdateEvent;)V
[10:04:54] [Server thread/WARN]: Failed to handle packet for /58.101.142.174:6004
net.minecraft.util.ReportedException: Ticking player
at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:560) ~[oq.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_73660_a(NetHandlerPlayServer.java:246) ~[pa.class:?]
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:209) ~[NetworkDispatcher$1.class:Personal-46e42f6]
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:235) ~[gw.class:?]
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:187) [oz.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:936) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:472) [nz.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:779) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:633) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_192]
Caused by: java.lang.NullPointerException
at cn.academy.analyticUtil.AnalyticDataListener.levelChangeListener(AnalyticDataListener.java:128) ~[AnalyticDataListener.class:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_84_AnalyticDataListener_levelChangeListener_LevelChangeEvent.invoke(.dynamic) ~[?:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:Personal-46e42f6]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:187) ~[EventBus.class:Personal-46e42f6]
at cn.academy.datapart.AbilityData.setLevel(AbilityData.java:135) ~[AbilityData.class:?]
at cn.academy.ability.develop.action.DevelopActionLevel.onLearned(DevelopActionLevel.java:38) ~[DevelopActionLevel.class:?]
at cn.academy.ability.develop.DevelopData.tick(DevelopData.java:156) ~[DevelopData.class:?]
at cn.lambdalib2.datapart.DataPart.callTick(DataPart.java:224) ~[DataPart.class:?]
at cn.lambdalib2.datapart.EntityData.tick(EntityData.java:225) ~[EntityData.class:?]
at cn.lambdalib2.datapart.EntityData.access$000(EntityData.java:32) ~[EntityData.class:?]
at cn.lambdalib2.datapart.EntityData$EventListener.onLivingUpdate(EntityData.java:241) ~[EntityData$EventListener.class:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_229_EventListener_onLivingUpdate_LivingUpdateEvent.invoke(.dynamic) ~[?:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:Personal-46e42f6]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:187) ~[EventBus.class:Personal-46e42f6]
at net.minecraftforge.common.ForgeHooks.onLivingUpdate(ForgeHooks.java:576) ~[ForgeHooks.class:Personal-46e42f6]
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2414) ~[vp.class:?]
at net.minecraft.entity.player.EntityPlayer.func_70071_h_(EntityPlayer.java:248) ~[aed.class:?]
at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:467) ~[oq.class:?]
... 9 more
[10:04:54] [Server thread/INFO]: ****** lost connection: Internal server error

更多信息
Windows Server 2016
CatServer version Personal-46e42f6 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT, Forge version 14.23.5.2796)
1.1.0beta2