Lack of null safety caused an untraceable NPE.
https://gist.github.com/8461f001b4caec375f8f