This is thrown when ```d``` is null.