password1, password2, passwordReset, emailAddress, locale,
firstName, middleName, lastName, nickName, prefixId, suffixId, male,
birthdayMonth, birthdayDay, birthdayYear, jobTitle, organizationId,
locationId, sendEmail, true, false);
if (user != null) {
<BUG>Attribute attr = attrs.get(userMappings.getProperty("group"));
for (int i = 0; i < attr.size(); i++) {</BUG>
String groupDN = (String)attr.get(i);
Attributes groupAttrs = ctx.getAttributes(groupDN);
String groupName = LDAPUtil.getAttributeValue(

password1, password2, passwordReset, emailAddress, locale,
firstName, middleName, lastName, nickName, prefixId, suffixId, male,
birthdayMonth, birthdayDay, birthdayYear, jobTitle, organizationId,
locationId, sendEmail, true, false);
if (user != null) {
Attribute attr = attrs.get(userMappings.getProperty("group"));
if (attr != null){
for (int i = 0; i < attr.size(); i++) {
String groupDN = (String)attr.get(i);
Attributes groupAttrs = ctx.getAttributes(groupDN);
String groupName = LDAPUtil.getAttributeValue(
