Program: 146609
Project: 146609
Buggy source:
private DataBinding processStandardBindAttributes(Vector<String> usedAtts,Element e){
  usedAtts.addElement(ID_ATTR);
  usedAtts.addElement(NODESET_ATTR);
  usedAtts.addElement("String_Node_Str");
  usedAtts.addElement("String_Node_Str");
  usedAtts.addElement("String_Node_Str");
  usedAtts.addElement("String_Node_Str");
  usedAtts.addElement("String_Node_Str");
  usedAtts.addElement("String_Node_Str");
  usedAtts.addElement("String_Node_Str");
  usedAtts.addElement("String_Node_Str");
  usedAtts.addElement("String_Node_Str");
  DataBinding binding=new DataBinding();
  binding.setId(e.getAttributeValue("String_Node_Str",ID_ATTR));
  String nodeset=e.getAttributeValue(null,NODESET_ATTR);
  if (nodeset == null) {
    throw new XFormParseException("String_Node_Str",e);
  }
  XPathReference ref;
  try {
    ref=new XPathReference(nodeset);
  }
 catch (  XPathException xpe) {
    throw new XFormParseException(xpe.getMessage());
  }
  ref=getAbsRef(ref,_f);
  binding.setReference(ref);
  binding.setDataType(getDataType(e.getAttributeValue(null,"String_Node_Str")));
  String xpathRel=e.getAttributeValue(null,"String_Node_Str");
  if (xpathRel != null) {
    if ("String_Node_Str".equals(xpathRel)) {
      binding.relevantAbsolute=true;
    }
 else     if ("String_Node_Str".equals(xpathRel)) {
      binding.relevantAbsolute=false;
    }
 else {
      try {
        Condition c=buildCondition(xpathRel,"String_Node_Str",ref);
        c=(Condition)_f.addTriggerable(c);
        binding.relevancyCondition=c;
      }
 catch (      XPathUnsupportedException xue) {
        throw buildParseException(nodeset,xue.getMessage(),xpathRel,"String_Node_Str");
      }
    }
  }
  String xpathReq=e.getAttributeValue(null,"String_Node_Str");
  if (xpathReq != null) {
    if ("String_Node_Str".equals(xpathReq)) {
      binding.requiredAbsolute=true;
    }
 else     if ("String_Node_Str".equals(xpathReq)) {
      binding.requiredAbsolute=false;
    }
 else {
      try {
        Condition c=buildCondition(xpathReq,"String_Node_Str",ref);
        c=(Condition)_f.addTriggerable(c);
        binding.requiredCondition=c;
      }
 catch (      XPathUnsupportedException xue) {
        throw buildParseException(nodeset,xue.getMessage(),xpathReq,"String_Node_Str");
      }
    }
  }
  String xpathRO=e.getAttributeValue(null,"String_Node_Str");
  if (xpathRO != null) {
    if ("String_Node_Str".equals(xpathRO)) {
      binding.readonlyAbsolute=true;
    }
 else     if ("String_Node_Str".equals(xpathRO)) {
      binding.readonlyAbsolute=false;
    }
 else {
      try {
        Condition c=buildCondition(xpathRO,"String_Node_Str",ref);
        c=(Condition)_f.addTriggerable(c);
        binding.readonlyCondition=c;
      }
 catch (      XPathUnsupportedException xue) {
        throw buildParseException(nodeset,xue.getMessage(),xpathRO,"String_Node_Str");
      }
    }
  }
  String xpathConstr=e.getAttributeValue(null,"String_Node_Str");
  if (xpathConstr != null) {
    try {
      binding.constraint=new XPathConditional(xpathConstr);
    }
 catch (    XPathSyntaxException xse) {
      throw buildParseException(nodeset,xse.getMessage(),xpathConstr,"String_Node_Str");
    }
    binding.constraintMessage=e.getAttributeValue(NAMESPACE_JAVAROSA,"String_Node_Str");
  }
  String xpathCalc=e.getAttributeValue(null,"String_Node_Str");
  if (xpathCalc != null) {
    Recalculate r;
    try {
      r=buildCalculate(xpathCalc,ref);
    }
 catch (    XPathSyntaxException xpse) {
      throw buildParseException(nodeset,xpse.getMessage(),xpathCalc,"String_Node_Str");
    }
    r=(Recalculate)_f.addTriggerable(r);
    binding.calculate=r;
  }
  binding.setPreload(e.getAttributeValue(NAMESPACE_JAVAROSA,"String_Node_Str"));
  binding.setPreloadParams(e.getAttributeValue(NAMESPACE_JAVAROSA,"String_Node_Str"));
  return binding;
}

Fixed version (ground truth):
private DataBinding processStandardBindAttributes(Vector<String> usedAtts,Element e){
  usedAtts.addElement(ID_ATTR);
  usedAtts.addElement(NODESET_ATTR);
  usedAtts.addElement("String_Node_Str");
  usedAtts.addElement("String_Node_Str");
  usedAtts.addElement("String_Node_Str");
  usedAtts.addElement("String_Node_Str");
  usedAtts.addElement("String_Node_Str");
  usedAtts.addElement("String_Node_Str");
  usedAtts.addElement("String_Node_Str");
  usedAtts.addElement("String_Node_Str");
  usedAtts.addElement("String_Node_Str");
  DataBinding binding=new DataBinding();
  binding.setId(e.getAttributeValue("String_Node_Str",ID_ATTR));
  String nodeset=e.getAttributeValue(null,NODESET_ATTR);
  if (nodeset == null) {
    throw new XFormParseException("String_Node_Str",e);
  }
  XPathReference ref;
  try {
    ref=new XPathReference(nodeset);
  }
 catch (  XPathException xpe) {
    throw new XFormParseException(xpe.getMessage());
  }
  ref=getAbsRef(ref,_f);
  binding.setReference(ref);
  binding.setDataType(getDataType(e.getAttributeValue(null,"String_Node_Str")));
  String xpathRel=e.getAttributeValue(null,"String_Node_Str");
  if (xpathRel != null) {
    if ("String_Node_Str".equals(xpathRel)) {
      binding.relevantAbsolute=true;
    }
 else     if ("String_Node_Str".equals(xpathRel)) {
      binding.relevantAbsolute=false;
    }
 else {
      try {
        Condition c=buildCondition(xpathRel,"String_Node_Str",ref);
        c=(Condition)_f.addTriggerable(c);
        binding.relevancyCondition=c;
      }
 catch (      XPathUnsupportedException xue) {
        throw buildParseException(nodeset,xue.getMessage(),xpathRel,"String_Node_Str");
      }
    }
  }
  String xpathReq=e.getAttributeValue(null,"String_Node_Str");
  if (xpathReq != null) {
    if ("String_Node_Str".equals(xpathReq)) {
      binding.requiredAbsolute=true;
    }
 else     if ("String_Node_Str".equals(xpathReq)) {
      binding.requiredAbsolute=false;
    }
 else {
      try {
        Condition c=buildCondition(xpathReq,"String_Node_Str",ref);
        c=(Condition)_f.addTriggerable(c);
        binding.requiredCondition=c;
      }
 catch (      XPathUnsupportedException xue) {
        throw buildParseException(nodeset,xue.getMessage(),xpathReq,"String_Node_Str");
      }
    }
  }
  String xpathRO=e.getAttributeValue(null,"String_Node_Str");
  if (xpathRO != null) {
    if ("String_Node_Str".equals(xpathRO)) {
      binding.readonlyAbsolute=true;
    }
 else     if ("String_Node_Str".equals(xpathRO)) {
      binding.readonlyAbsolute=false;
    }
 else {
      try {
        Condition c=buildCondition(xpathRO,"String_Node_Str",ref);
        c=(Condition)_f.addTriggerable(c);
        binding.readonlyCondition=c;
      }
 catch (      XPathUnsupportedException xue) {
        throw buildParseException(nodeset,xue.getMessage(),xpathRO,"String_Node_Str");
      }
    }
  }
  String xpathConstr=e.getAttributeValue(null,"String_Node_Str");
  if (xpathConstr != null) {
    try {
      binding.constraint=new XPathConditional(xpathConstr);
    }
 catch (    XPathSyntaxException xse) {
      throw buildParseException(nodeset,xse.getMessage(),xpathConstr,"String_Node_Str");
    }
    binding.constraintMessage=e.getAttributeValue(NAMESPACE_JAVAROSA,"String_Node_Str");
  }
  String xpathCalc=e.getAttributeValue(null,"String_Node_Str");
  if (xpathCalc != null) {
    Recalculate r;
    try {
      r=buildCalculate(xpathCalc,ref);
    }
 catch (    XPathSyntaxException xpse) {
      throw buildParseException(nodeset,xpse.getMessage(),xpathCalc,"String_Node_Str");
    }
    try {
      r=(Recalculate)_f.addTriggerable(r);
    }
 catch (    XPathException xpe) {
      throw buildParseException(nodeset,xpe.getMessage(),xpathCalc,"String_Node_Str");
    }
    binding.calculate=r;
  }
  binding.setPreload(e.getAttributeValue(NAMESPACE_JAVAROSA,"String_Node_Str"));
  binding.setPreloadParams(e.getAttributeValue(NAMESPACE_JAVAROSA,"String_Node_Str"));
  return binding;
}