The version arg - which is not in the document - will be passed into the constructor as a null which will fail if it is a primitive type. This change will pre-populated the converted object with the version/cas, so that it is not null. Co-authored-by: mikereiche <michael.reiche@couchbase.com>