1) Fix NPE in DeterminePartitionsJob when it fails