Raise a 404 client error when trying to render null (closes #215).