I have a java bean field map<key, object> which was initialized with null, but now I can no longer update with jsonObject via mutateIn-upsert operation.
I get the below exception.
Multiple mutation could not be applied. First problematic failure at 0 with status SUBDOC_PATH_MISMATCH; Multiple mutation could not be applied. First problematic failure at 0 with status SUBDOC_PATH_MISMATCH~ Path mapfield.key ends in a scalar value in documentId expected dictionary.
Is it possible to get rid of this when the field value is null?
Bucket.mutateIn(docId).upsert(mapfield.key, jsonObject, new SubdocOptionsBuilder().createPath(true))
Map<key, Object> mapField;
Obviously mutateIn-upsert works just fine when the field isn’t there by default
using SDK 2.5.6, (same error with 2.5.9)