In a LDAP directory, with a schema containing a StringList.
When trying to create a new entry with an empty list in this field, this exception occured :
Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: javax.naming.directory.InvalidAttributeValueException. message: 'employeeType' has no values.
at com.sun.jndi.ldap.LdapClient.add(LdapClient.java:996)
at com.sun.jndi.ldap.LdapCtx.c_bind(LdapCtx.java:393)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_bind(ComponentDirContext.java:277)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.bind(PartialCompositeDirContext.java:197)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.bind(PartialCompositeDirContext.java:186)
at javax.naming.directory.InitialDirContext.bind(InitialDirContext.java:158)
at org.nuxeo.ecm.directory.ldap.LDAPSession.createEntry(LDAPSession.java:208)