The api version should never be null. If users don't specify it when creating the context, the default one defined in the api metadata will be set.