Error checking if version is null or any reason