throw exception if processor tries to set next transition to null