mojira.dev
MC-93655

Game crashes when a fireball is shot

After hearing that the mob inter-aggro AI had finally been updated I tested pigmen to see if they again would attack other mobs that hit them.

It worked for the skeletons, however when struck by ghast/blaze fireballs they did not respond. Shortly after the game crashed. This happens almost every time I try to test this scenario though sometimes not right away. With ghasts it sometimes took about 10 seconds to finally crash but it did multiple times with both mobs

The crash log said that it was caused by a null pointer for a fireball. My guess is the pigmen are aggroing on the fireballs rather than the ghast/blaze that shot them? Then the game crashes when the fireball disappears.

To replicate:

with spawn eggs create a ghast/blaze. Summon a group of zombie pigmen. Set yourself to survival and stand behind the pigmen so the incoming projectiles hit them. The pigmen do not make an angry sound or aggro on the mob that shot even if they are within reach. from 1-10 seconds later the game will crash. I was on mavericks version of the mac version of minecraft if that makes a difference.

Description: Ticking entity

java.lang.NullPointerException: Ticking entity
	at aaa.a(SourceFile:44)
	at zu.m(SourceFile:117)
	at ahn.a(SourceFile:1467)
	at lp.a(SourceFile:719)
	at ahn.g(SourceFile:1445)
	at ahn.k(SourceFile:1335)
	at lp.k(SourceFile:552)
	at net.minecraft.server.MinecraftServer.D(SourceFile:625)
	at net.minecraft.server.MinecraftServer.C(SourceFile:553)
	at bxz.C(SourceFile:154)
	at net.minecraft.server.MinecraftServer.run(SourceFile:457)
	at java.lang.Thread.run(Thread.java:745)

Linked issues

Attachments

Comments 20

[Mod] redstonehelper

Please attach the crash report.

this is the crash report from where I made a blaze shoot a fireball that hit a pigman. The game immediately crashed. This also happens, but less reliably, with Ghast fireballs.

Warren Liddell

Can confirm on my server 15w49b and will continually crash each time affected user in area re-joins server

Shadow_of_Doom

Can conform. On my world, each time a blaze fires a fireball, the game crashes. Problem is, the game auto-saved at the point of crashing, causing my world to be un-playable, until this bug gets fixed of course.

Warren Liddell

Shadow_of_Doom It onloy keeps crashing due to a player joining the game at the point of where the crash occured, if you manually edit that particular players player file an remove there current x/y/z cords the server will be playable, least untill such time as someone else goes into the nether.

Im surprised there isnt a c snapshot to fix this issue

10 more comments

I can no longer reproduce it either.

Can't reproduce, seems fixed.

Marked as such.

It IS FIXED! Do you guys even view snapshot changelogs? Supposed you didn't, cause you all say that "Can't Reproduce", view that changelog, here: http://minecraft.gamepedia.com/15w50a#Fixes .

@unknown the reason its on the page is because since nobody could reproduce, a modderator marked it as fixed, the wiki is not an official source and keeps updating all the time. Since they saw that this was marked as fixed (by the modderator) they added it to the fix list

Dan Midgett

(Unassigned)

Community Consensus

Minecraft 15w49a, Minecraft 15w49b

Minecraft 15w50a

Retrieved