document.field(fieldName, null);// should it be "document.field(fieldName, (object)null)"
The call is ambiguous between the following methods or properties: 'com.orientechnologies.orient.core.record.impl.ODocument.field(string, com.orientechnologies.orient.core.metadata.schema.OType)' and 'com.orientechnologies.orient.core.record.impl.ODocument.field(string, java.lang.Class)'
My Best,Hung Tran