Foros de discusión

BatchUpdateException after add user LF 6.1

sawi _, modificado hace 11 años.

BatchUpdateException after add user LF 6.1

Regular Member Mensajes: 165 Fecha de incorporación: 27/03/09 Mensajes recientes
Hi
I have problem with add User :

UserLocalServiceUtil.addUser(UserLocalServiceUtil.getDefaultUserId(themeDisplay.getCompanyId()), userToCreate.getCompanyId(), autoPassword,
password1, password2, autoScreenName, null, userToCreate.getEmailAddress(),
facebookId, openId, Locale.getDefault(), userToCreate.getFirstName(),
userToCreate.getMiddleName(), userToCreate.getLastName(), prefixId, suffixId,
userToCreate.getMale(), userToCreate.getBirthday().getMonth(),
userToCreate.getBirthday().getDay(), userToCreate.getBirthday().getYear(),
userToCreate.getJobTitle(), groupIds, organizationIds, roleIds, userGroupIds,
sendEmail, serviceContext);


after add user from portlet when I go to control-panel->portal settings and click save I got error:

Caused by: java.sql.BatchUpdateException: Duplicate entry '10154-email@asd.pl' for key 'IX_615E9F7A'

anybody know what is wrong?

Regards
sawi