Program: 61589
Project: 61589
Buggy source:
public String getSolutionData(List<ProgramVariant> variants,int generation){
  String line="String_Node_Str";
  line+="String_Node_Str";
  for (  ProgramVariant solutionVariant : variants) {
    line+="String_Node_Str";
    line+="String_Node_Str" + solutionVariant.getId() + "String_Node_Str";
    line+="String_Node_Str" + TimeUtil.getDateDiff(this.dateInitEvolution,solutionVariant.getBornDate(),TimeUnit.SECONDS);
    for (int i=1; i <= generation; i++) {
      List<GenOperationInstance> genOperationInstances=solutionVariant.getOperations().get(i);
      if (genOperationInstances == null)       continue;
      for (      GenOperationInstance genOperationInstance : genOperationInstances) {
        line+="String_Node_Str" + genOperationInstance.getOperationApplied().toString() + "String_Node_Str"+ genOperationInstance.getGen().getCtClass().getQualifiedName();
        if (genOperationInstance.getGen() instanceof GenSuspicious) {
          GenSuspicious gs=(GenSuspicious)genOperationInstance.getGen();
          line+="String_Node_Str" + gs.getSuspicious().getLineNumber();
        }
        line+="String_Node_Str" + genOperationInstance.getOriginal().toString();
        line+="String_Node_Str";
        if (genOperationInstance.getModified() != null)         line+=genOperationInstance.getModified().toString();
 else {
          line+=genOperationInstance.getOriginal().toString();
        }
        line+="String_Node_Str" + Integer.toString(i);
        line+="String_Node_Str" + ((genOperationInstance.getIngredientScope() != null) ? genOperationInstance.getIngredientScope() : "String_Node_Str");
        List<?> ingredients=null;
        if (genOperationInstance.getOperationApplied().equals(GenProgMutationOperation.REPLACE)) {
          ingredients=getFixSpace().getFixSpace(genOperationInstance.getOriginal(),genOperationInstance.getOriginal().getClass().getSimpleName());
        }
        ;
        if (genOperationInstance.getOperationApplied().equals(GenProgMutationOperation.INSERT_AFTER) || genOperationInstance.getOperationApplied().equals(GenProgMutationOperation.INSERT_BEFORE)) {
          ingredients=getFixSpace().getFixSpace(genOperationInstance.getOriginal());
        }
        ;
        if (ingredients != null) {
          line+="String_Node_Str" + ingredients.size();
        }
        line+="String_Node_Str";
      }
    }
  }
  return line;
}

Fixed version (ground truth):
public String getSolutionData(List<ProgramVariant> variants,int generation){
  String line="String_Node_Str";
  line+="String_Node_Str";
  for (  ProgramVariant solutionVariant : variants) {
    line+="String_Node_Str";
    line+="String_Node_Str" + solutionVariant.getId() + "String_Node_Str";
    line+="String_Node_Str" + TimeUtil.getDateDiff(this.dateInitEvolution,solutionVariant.getBornDate(),TimeUnit.SECONDS);
    for (int i=1; i <= generation; i++) {
      List<GenOperationInstance> genOperationInstances=solutionVariant.getOperations().get(i);
      if (genOperationInstances == null)       continue;
      for (      GenOperationInstance genOperationInstance : genOperationInstances) {
        line+="String_Node_Str" + genOperationInstance.getOperationApplied().toString() + "String_Node_Str"+ genOperationInstance.getGen().getCtClass().getQualifiedName();
        if (genOperationInstance.getGen() instanceof GenSuspicious) {
          GenSuspicious gs=(GenSuspicious)genOperationInstance.getGen();
          line+="String_Node_Str" + gs.getSuspicious().getLineNumber();
        }
        line+="String_Node_Str" + genOperationInstance.getOriginal().toString();
        line+="String_Node_Str";
        if (genOperationInstance.getModified() != null)         line+=genOperationInstance.getModified().toString();
 else {
          line+=genOperationInstance.getOriginal().toString();
        }
        line+="String_Node_Str" + Integer.toString(i);
        line+="String_Node_Str" + ((genOperationInstance.getIngredientScope() != null) ? genOperationInstance.getIngredientScope() : "String_Node_Str");
        if (getFixSpace() != null) {
          List<?> ingredients=null;
          if (genOperationInstance.getOperationApplied().equals(GenProgMutationOperation.REPLACE)) {
            ingredients=getFixSpace().getFixSpace(genOperationInstance.getOriginal(),genOperationInstance.getOriginal().getClass().getSimpleName());
          }
          if (genOperationInstance.getOperationApplied().equals(GenProgMutationOperation.INSERT_AFTER) || genOperationInstance.getOperationApplied().equals(GenProgMutationOperation.INSERT_BEFORE)) {
            ingredients=getFixSpace().getFixSpace(genOperationInstance.getOriginal());
          }
          if (ingredients != null) {
            line+="String_Node_Str" + ingredients.size();
          }
        }
        line+="String_Node_Str";
      }
    }
  }
  return line;
}