Can't delete an avatar using LDAP

Description

Trying to delete an avatar, the server throws this error:

java.lang.NullPointerException
at org.jivesoftware.openfire.ldap.LdapVCardProvider.isValidVCardChange(LdapVCardProvider.java:382)
at org.jivesoftware.openfire.ldap.LdapVCardProvider.updateVCard(LdapVCardProvider.java:305)
at org.jivesoftware.openfire.vcard.VCardManager.setVCard(VCardManager.java:132)
at org.jivesoftware.openfire.handler.IQvCardHandler.handleIQ(IQvCardHandler.java:82)

Environment

LDAP or AD

Fixed

Assignee

Gaston Dombiak

Reporter

Francisco Vives