Fix nullptr in hash exchange, still requires validity of error states.