use null not empty string in java path when missing