Program: 80747
Project: 80747
Buggy source:
private IocValue parseX(Element element) throws Throwable {
  IocValue iocValue=new IocValue();
  String type=element.getNodeName();
  if (EVN_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(EVN_TAG);
    iocValue.setValue(element.getTextContent());
  }
 else   if (SYS_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(SYS_TAG);
    iocValue.setValue(element.getTextContent());
  }
 else   if (JNDI_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(JNDI_TAG);
    iocValue.setValue(element.getTextContent());
  }
 else   if (JAVA_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(JAVA_TAG);
    iocValue.setValue(element.getTextContent());
  }
 else   if (REFER_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(REFER_TAG);
    iocValue.setValue(element.getTextContent());
  }
 else   if (FILE_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(FILE_TAG);
    iocValue.setValue(element.getTextContent());
  }
 else   if (OBJ_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(null);
    iocValue.setValue(paserBean(element,true));
  }
 else   if (MAP_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(null);
    iocValue.setValue(paserMap(element));
  }
 else   if (LIST_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(null);
    iocValue.setValue(paserCollection(element));
  }
 else   if (ARRAY_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(null);
    iocValue.setValue(paserCollection(element).toArray());
  }
 else   if (SET_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(null);
    Set<Object> set=new HashSet<Object>();
    set.addAll(paserCollection(element));
    iocValue.setValue(set);
  }
 else {
    iocValue.setType(null);
    iocValue.setValue(element.getFirstChild().getTextContent());
  }
  return iocValue;
}

Fixed version (ground truth):
protected IocValue parseX(Element element) throws Throwable {
  IocValue iocValue=new IocValue();
  String type=element.getNodeName();
  if (EVN_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(EVN_TAG);
    iocValue.setValue(element.getTextContent());
  }
 else   if (SYS_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(SYS_TAG);
    iocValue.setValue(element.getTextContent());
  }
 else   if (JNDI_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(JNDI_TAG);
    iocValue.setValue(element.getTextContent());
  }
 else   if (JAVA_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(JAVA_TAG);
    iocValue.setValue(element.getTextContent());
  }
 else   if (REFER_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(REFER_TAG);
    iocValue.setValue(element.getTextContent());
  }
 else   if (FILE_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(FILE_TAG);
    iocValue.setValue(element.getTextContent());
  }
 else   if (OBJ_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(null);
    iocValue.setValue(paserBean(element,true));
  }
 else   if (MAP_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(null);
    iocValue.setValue(paserMap(element));
  }
 else   if (LIST_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(null);
    iocValue.setValue(paserCollection(element));
  }
 else   if (ARRAY_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(null);
    iocValue.setValue(paserCollection(element).toArray());
  }
 else   if (SET_TAG.equalsIgnoreCase(type)) {
    iocValue.setType(null);
    Set<Object> set=new HashSet<Object>();
    set.addAll(paserCollection(element));
    iocValue.setValue(set);
  }
 else {
    iocValue.setType(null);
    iocValue.setValue(element.getFirstChild().getTextContent());
  }
  return iocValue;
}