Program: 155452
Project: 155452
Buggy source:
private void acceptResponse(HttpServletRequest request,HttpServletResponse response){
  System.out.println("String_Node_Str");
  Person person=new Person(title,name);
  PersonManager pManager=new PersonManagerSession();
  AccountManager aManager=new AccountManagerSession();
  ContactManager cManager=new ContactManagerSession();
  try {
    request.setAttribute("String_Node_Str",title);
    request.setAttribute("String_Node_Str",name);
    request.setAttribute("String_Node_Str",designation);
    request.setAttribute("String_Node_Str",userName);
    request.setAttribute("String_Node_Str",password);
    request.setAttribute("String_Node_Str",office);
    request.setAttribute("String_Node_Str",division);
    request.setAttribute("String_Node_Str",employeeNumber);
    request.setAttribute("String_Node_Str",cellphonNumber);
    request.setAttribute("String_Node_Str",landline);
    request.setAttribute("String_Node_Str",emailAdd);
    request.setAttribute("String_Node_Str",accountType);
    RequestDispatcher view=request.getRequestDispatcher("String_Node_Str");
    view.forward(request,response);
  }
 catch (  IOException e1) {
    e1.printStackTrace();
  }
catch (  ServletException e) {
    e.printStackTrace();
  }
  try {
    pManager.addPerson(person);
    if (accountType.equalsIgnoreCase("String_Node_Str"))     accountType=AccountType.NON_SPSO_PERSONNEL_EMPLOYEE;
 else     if (accountType.equalsIgnoreCase("String_Node_Str"))     accountType=AccountType.NON_SPSO_PERSONNEL_HEAD;
 else     if (accountType.equalsIgnoreCase("String_Node_Str"))     accountType=AccountType.SPSO_PERSONNEL;
 else     if (accountType.equalsIgnoreCase("String_Node_Str"))     accountType=AccountType.SYSTEM_ADMIN;
    Account account=new Account(userName,password,accountType,person.getId());
    Contact contactLandLine=new Contact(landline,ContactType.LANDLINE);
    Contact contactMobile=new Contact(cellphonNumber,ContactType.MOBILE);
    Contact contactEmail=new Contact(emailAdd,ContactType.EMAIL);
    cManager.addContact(contactLandLine);
    cManager.addContactToPerson(contactLandLine.getContactID(),person.getId());
    cManager.addContact(contactMobile);
    cManager.addContactToPerson(contactMobile.getContactID(),person.getId());
    cManager.addContact(contactEmail);
    cManager.addContactToPerson(contactEmail.getContactID(),person.getId());
    aManager.addAccount(account);
  }
 catch (  TransactionException e) {
    e.printStackTrace();
  }
catch (  DuplicateEntryException e) {
    e.printStackTrace();
  }
}

Fixed version (ground truth):
private void acceptResponse(HttpServletRequest request,HttpServletResponse response){
  System.out.println("String_Node_Str");
  Person person=new Person(title,name);
  PersonManager pManager=new PersonManagerSession();
  AccountManager aManager=new AccountManagerSession();
  ContactManager cManager=new ContactManagerSession();
  try {
    request.setAttribute("String_Node_Str",title);
    request.setAttribute("String_Node_Str",name);
    request.setAttribute("String_Node_Str",designation);
    request.setAttribute("String_Node_Str",userName);
    request.setAttribute("String_Node_Str",password);
    request.setAttribute("String_Node_Str",office);
    request.setAttribute("String_Node_Str",division);
    request.setAttribute("String_Node_Str",employeeNumber);
    request.setAttribute("String_Node_Str",cellphonNumber);
    request.setAttribute("String_Node_Str",landline);
    request.setAttribute("String_Node_Str",emailAdd);
    request.setAttribute("String_Node_Str",accountType);
    RequestDispatcher view=request.getRequestDispatcher("String_Node_Str");
    view.forward(request,response);
  }
 catch (  IOException e1) {
    e1.printStackTrace();
  }
catch (  ServletException e) {
    e.printStackTrace();
  }
  try {
    pManager.addPerson(person);
    AccountType type=null;
    if (accountType.equalsIgnoreCase("String_Node_Str"))     type=AccountType.NON_SPSO_PERSONNEL_EMPLOYEE;
 else     if (accountType.equalsIgnoreCase("String_Node_Str"))     type=AccountType.NON_SPSO_PERSONNEL_HEAD;
 else     if (accountType.equalsIgnoreCase("String_Node_Str"))     type=AccountType.SPSO_PERSONNEL;
 else     if (accountType.equalsIgnoreCase("String_Node_Str"))     type=AccountType.SYSTEM_ADMIN;
    Account account=new Account(userName,password,type,person);
    Contact contactLandLine=new Contact(landline,ContactType.LANDLINE);
    Contact contactMobile=new Contact(cellphonNumber,ContactType.MOBILE);
    Contact contactEmail=new Contact(emailAdd,ContactType.EMAIL);
    cManager.addContact(contactLandLine);
    cManager.addContactToPerson(contactLandLine.getContactID(),person.getId());
    cManager.addContact(contactMobile);
    cManager.addContactToPerson(contactMobile.getContactID(),person.getId());
    cManager.addContact(contactEmail);
    cManager.addContactToPerson(contactEmail.getContactID(),person.getId());
    aManager.addAccount(account);
  }
 catch (  TransactionException e) {
    e.printStackTrace();
  }
catch (  DuplicateEntryException e) {
    e.printStackTrace();
  }
}