NPE (Ticking Entity) when player flies into dormant spell effect
ikkerens opened this issue ยท 0 comments
Basic details
Modpack: FTB Presents Direwolf20 1.12
Modpack version: 1.1.0 (updated Nov. 17 2017)
Psi version: r1.1-59
Forge version: 14.23.0.2531
Java version: 1.8.0-152
Crash report: https://gist.github.com/Ikkerens/d81c304765e6a07d5915278bd9d38377
Stacktrace
java.lang.NullPointerException: Ticking entity
at vazkii.psi.common.entity.EntitySpellProjectile.lambda$onImpact$0(EntitySpellProjectile.java:189)
at vazkii.psi.common.entity.EntitySpellProjectile.cast(EntitySpellProjectile.java:216)
at vazkii.psi.common.entity.EntitySpellProjectile.func_70184_a(EntitySpellProjectile.java:188)
at net.minecraft.entity.projectile.EntityThrowable.func_70071_h_(EntityThrowable.java:249)
at vazkii.psi.common.entity.EntitySpellProjectile.func_70071_h_(EntitySpellProjectile.java:135)
at net.minecraft.world.World.func_72866_a(World.java:1986)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:831)
at net.minecraft.world.World.func_72870_g(World.java:1948)
at net.minecraft.world.World.func_72939_s(World.java:1755)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:612)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:765)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:396)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:666)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:524)
at java.lang.Thread.run(Thread.java:748)
Description
According to the user in question he found a dormant spell effect and decided to fly into it. The owner of this spell/entity was not in the game at the time,
Everytime the user tried to log in the server crashed again, until I manually removed the entity from the region file using NBTExplorer.
Spell information
JSON:
{spellName:"Boom Thereish",uuidMost:-2851854126654796703L,validSpell:1b,spellList:[0:{data:{key:"constantNumber",constantValue:"32"},x:2,y:3},1:{data:{params:{_target:4},key:"connector"},x:3,y:2},2:{data:{params:{_position:1,_radius:3},key:"selectorNearbyEnemies"},x:3,y:3},3:{data:{key:"constantNumber",constantValue:"3.3"},x:3,y:4},4:{data:{params:{_target:4},key:"operatorEntityPosition"},x:4,y:2},5:{data:{params:{_target:3,_position:1},key:"operatorClosestToPoint"},x:4,y:3},6:{data:{params:{_power:3,_position:4},key:"trickExplode"},x:4,y:4},7:{data:{key:"selectorFocalPoint"},x:5,y:2},8:{data:{params:{_target:3},key:"operatorEntityPosition"},x:5,y:3},9:{data:{params:{_target:1},key:"connector"},x:5,y:4}],uuidLeast:-7721005214185710572L}
Should any more information be needed at this point feel free request it.