Program: 64643
Project: 64643
Buggy source:
/** 
 * @param args Command line arguments. The first (optional) argument specifiesthe problem to solve.
 * @throws org.uma.jmetal.util.JMetalException
 * @throws java.io.IOException
 * @throws SecurityException Usage: three options - org.uma.jmetal.runner.multiobjective.SMPSORunner - org.uma.jmetal.runner.multiobjective.SMPSORunner problemName - org.uma.jmetal.runner.multiobjective.SMPSORunner problemName ParetoFrontFile
 */
public static void main(String[] args) throws Exception {
  DoubleProblem problem;
  Algorithm algorithm;
  MutationOperator mutation;
  String problemName="String_Node_Str";
  problem=(DoubleProblem)ProblemUtils.loadProblem(problemName);
  Archive archive=new CrowdingDistanceArchive(100);
  double mutationProbability=1.0 / problem.getNumberOfVariables();
  double mutationDistributionIndex=20.0;
  mutation=new PolynomialMutation(mutationProbability,mutationDistributionIndex);
  algorithm=new SMPSO.Builder(problem,archive).setMutation(mutation).setMaxIterations(250).setSwarmSize(100).setRandomGenerator(new MersenneTwisterGenerator()).build();
  AlgorithmRunner algorithmRunner=new AlgorithmRunner.Executor(algorithm).execute();
  List<DoubleSolution> population=((SMPSO)algorithm).getResult();
  long computingTime=algorithmRunner.getComputingTime();
  new SolutionSetOutput.Printer(population).setSeparator("String_Node_Str").setVarFileOutputContext(new DefaultFileOutputContext("String_Node_Str")).setFunFileOutputContext(new DefaultFileOutputContext("String_Node_Str")).print();
  JMetalLogger.logger.info("String_Node_Str" + computingTime + "String_Node_Str");
  JMetalLogger.logger.info("String_Node_Str");
  JMetalLogger.logger.info("String_Node_Str");
  JMetalLogger.logger.info("String_Node_Str" + JMetalRandom.getInstance().getSeed());
}

Fixed version (ground truth):
/** 
 * @param args Command line arguments. The first (optional) argument specifiesthe problem to solve.
 * @throws org.uma.jmetal.util.JMetalException
 * @throws java.io.IOException
 * @throws SecurityException Usage: three options - org.uma.jmetal.runner.multiobjective.SMPSORunner - org.uma.jmetal.runner.multiobjective.SMPSORunner problemName - org.uma.jmetal.runner.multiobjective.SMPSORunner problemName ParetoFrontFile
 */
public static void main(String[] args) throws Exception {
  DoubleProblem problem;
  Algorithm algorithm;
  MutationOperator mutation;
  String problemName;
  if (args.length == 1) {
    problemName=args[0];
  }
 else {
    problemName="String_Node_Str";
  }
  problem=(DoubleProblem)ProblemUtils.loadProblem(problemName);
  Archive archive=new CrowdingDistanceArchive(100);
  double mutationProbability=1.0 / problem.getNumberOfVariables();
  double mutationDistributionIndex=20.0;
  mutation=new PolynomialMutation(mutationProbability,mutationDistributionIndex);
  algorithm=new SMPSO.Builder(problem,archive).setMutation(mutation).setMaxIterations(250).setSwarmSize(100).build();
  AlgorithmRunner algorithmRunner=new AlgorithmRunner.Executor(algorithm).execute();
  List<DoubleSolution> population=((SMPSO)algorithm).getResult();
  long computingTime=algorithmRunner.getComputingTime();
  new SolutionSetOutput.Printer(population).setSeparator("String_Node_Str").setVarFileOutputContext(new DefaultFileOutputContext("String_Node_Str")).setFunFileOutputContext(new DefaultFileOutputContext("String_Node_Str")).print();
  JMetalLogger.logger.info("String_Node_Str" + computingTime + "String_Node_Str");
  JMetalLogger.logger.info("String_Node_Str");
  JMetalLogger.logger.info("String_Node_Str");
  JMetalLogger.logger.info("String_Node_Str" + JMetalRandom.getInstance().getSeed());
}