Return null instead of throwing an exception