Return null instead of throwing an exception when the pointer is valid, but the doc does not contain the given value.