Make sure scoreboard is not null when updating for the player.