getNewSampleValues() can return null, be prepared to that.