This simple spigot plugin prevents crashing the server which was discovered recently.
This crash is a big problem since many servers are still vulnerable and even can be done on vanilla!
Works on 1.10+ servers, but not required on 1.13+ because it's fixed in vanilla.