[NUCCORE-1242] Cater for null input/output