Server Crash - Chicken Egg being thrown

I was playing on my server until a weird thing happened. There was an egg in a dispenser until a chicken came out and the server crashed. Could this be a bug?

EDIT:

Server will not start up now. It will only stay on if someone is not in that area.

SpongeForge Build: 949
Forge: 1577

That looks like a chicken was spawned and then hit with another egg, and then sponge didn’t know who or what to blame for the damage event.

This is a missed part of the event cause refactor, in that all causes are named now.

I would make an issue on github for this. I think this should go in SpongeCommon.

I added a null check to defend against the NPE
https://github.com/SpongePowered/SpongeCommon/commit/a56137816dccd88211a8f87a2a6b0e84e1d62d29#diff-80c6ea4728f95522a89e4a2e20c2841eR357