This happens cause somehow we have a topic that has no latest poster.
I do not thing the client should crash out so I fixed that:
https://github.com/discourse/discourse/commit/1ff5ed4e084b73d9b7e1ed4a1a624282a9970a12
We should also clean up the “cast of characters” better in the case of user removals.
The bug in the OP is fixed