Program: 23287
Project: 23287
Buggy source:
private ValidationResult serverValidateCode(Parameters pin,boolean doCache) throws Exception {
  if (noTerminologyServer)   return new ValidationResult(null,null,TerminologyServiceErrorClass.NOSERVICE);
  String cacheName=doCache ? generateCacheName(pin) : null;
  ValidationResult res=loadFromCache(cacheName);
  if (res != null)   return res;
  tlog("String_Node_Str" + describeValidationParameters(pin));
  for (  ParametersParameterComponent pp : pin.getParameter())   if (pp.getName().equals("String_Node_Str"))   throw new Error("String_Node_Str");
  if (expProfile == null)   throw new Exception("String_Node_Str");
  pin.addParameter().setName("String_Node_Str").setResource(expProfile);
  Parameters pout=txServer.operateType(ValueSet.class,"String_Node_Str",pin);
  boolean ok=false;
  String message="String_Node_Str";
  String display=null;
  TerminologyServiceErrorClass err=TerminologyServiceErrorClass.UNKNOWN;
  for (  ParametersParameterComponent p : pout.getParameter()) {
    if (p.getName().equals("String_Node_Str"))     ok=((BooleanType)p.getValue()).getValue().booleanValue();
 else     if (p.getName().equals("String_Node_Str"))     message=((StringType)p.getValue()).getValue();
 else     if (p.getName().equals("String_Node_Str"))     display=((StringType)p.getValue()).getValue();
 else     if (p.getName().equals("String_Node_Str")) {
      try {
        IssueType it=IssueType.fromCode(((StringType)p.getValue()).getValue());
        if (it == IssueType.UNKNOWN)         err=TerminologyServiceErrorClass.UNKNOWN;
 else         if (it == IssueType.NOTSUPPORTED)         err=TerminologyServiceErrorClass.VALUESET_UNSUPPORTED;
      }
 catch (      FHIRException e) {
      }
    }
  }
  if (!ok)   res=new ValidationResult(IssueSeverity.ERROR,message,err);
 else   if (display != null)   res=new ValidationResult(new ConceptDefinitionComponent().setDisplay(display));
 else   res=new ValidationResult(null);
  saveToCache(res,cacheName);
  return res;
}

Fixed version (ground truth):
private ValidationResult serverValidateCode(Parameters pin,boolean doCache) throws Exception {
  if (noTerminologyServer)   return new ValidationResult(null,null,TerminologyServiceErrorClass.NOSERVICE);
  String cacheName=doCache ? generateCacheName(pin) : null;
  ValidationResult res=loadFromCache(cacheName);
  if (res != null)   return res;
  tlog("String_Node_Str" + describeValidationParameters(pin));
  for (  ParametersParameterComponent pp : pin.getParameter())   if (pp.getName().equals("String_Node_Str"))   throw new Error("String_Node_Str");
  if (expProfile == null)   throw new Exception("String_Node_Str");
  pin.addParameter().setName("String_Node_Str").setResource(expProfile);
  Parameters pout=txServer.operateType(ValueSet.class,"String_Node_Str",pin);
  boolean ok=false;
  String message="String_Node_Str";
  String display=null;
  TerminologyServiceErrorClass err=TerminologyServiceErrorClass.UNKNOWN;
  for (  ParametersParameterComponent p : pout.getParameter()) {
    if (p.getName().equals("String_Node_Str"))     ok=((BooleanType)p.getValue()).getValue().booleanValue();
 else     if (p.getName().equals("String_Node_Str"))     message=((StringType)p.getValue()).getValue();
 else     if (p.getName().equals("String_Node_Str"))     display=((StringType)p.getValue()).getValue();
 else     if (p.getName().equals("String_Node_Str")) {
      try {
        IssueType it=IssueType.fromCode(((StringType)p.getValue()).getValue());
        if (it == IssueType.UNKNOWN)         err=TerminologyServiceErrorClass.UNKNOWN;
 else         if (it == IssueType.NOTSUPPORTED)         err=TerminologyServiceErrorClass.VALUESET_UNSUPPORTED;
      }
 catch (      FHIRException e) {
      }
    }
  }
  if (!ok)   res=new ValidationResult(IssueSeverity.ERROR,message,err);
 else   if (display != null)   res=new ValidationResult(new ConceptDefinitionComponent().setDisplay(display));
 else   res=new ValidationResult(new ConceptDefinitionComponent());
  saveToCache(res,cacheName);
  return res;
}