Program: 59690
Project: 59690
Buggy source:
/** 
 * Constructs an execution context from details discovered from the environment configuration file.
 * @return An execution content build from the environment configuration file
 * @throws IOException
 */
private static ExecutionContext buildExecutionContext() throws IOException {
  ExternalProcessConfiguration externalProcessConfiguration=new DefaultExternalProcessConfiguration();
  if (ConanProperties.containsKey("String_Node_Str")) {
    externalProcessConfiguration.setProcessConfigFilePath(ConanProperties.getProperty("String_Node_Str"));
    externalProcessConfiguration.load();
  }
  Locality locality=ConanProperties.containsKey("String_Node_Str") ? LocalityFactory.createLocality(ConanProperties.getProperty("String_Node_Str")) : new Local();
  log.debug("String_Node_Str" + locality == null ? "String_Node_Str" : locality.toString());
  Scheduler scheduler=ConanProperties.containsKey("String_Node_Str") ? SchedulerFactory.createScheduler(ConanProperties.getProperty("String_Node_Str")) : null;
  log.debug("String_Node_Str" + scheduler == null ? "String_Node_Str" : scheduler.getName());
  if (scheduler != null && ConanProperties.containsKey("String_Node_Str")) {
    scheduler.getArgs().setQueueName(ConanProperties.getProperty("String_Node_Str"));
  }
  if (scheduler != null && ConanProperties.containsKey("String_Node_Str")) {
    scheduler.getArgs().setExtraArgs(ConanProperties.getProperty("String_Node_Str"));
  }
  return new DefaultExecutionContext(locality,scheduler,externalProcessConfiguration,true);
}

Fixed version (ground truth):
/** 
 * Constructs an execution context from details discovered from the environment configuration file.
 * @return An execution content build from the environment configuration file
 * @throws IOException
 */
private static ExecutionContext buildExecutionContext() throws IOException {
  ExternalProcessConfiguration externalProcessConfiguration=new DefaultExternalProcessConfiguration();
  if (ConanProperties.containsKey("String_Node_Str")) {
    externalProcessConfiguration.setProcessConfigFilePath(ConanProperties.getProperty("String_Node_Str"));
    externalProcessConfiguration.load();
  }
  Locality locality=ConanProperties.containsKey("String_Node_Str") ? LocalityFactory.createLocality(ConanProperties.getProperty("String_Node_Str")) : new Local();
  String localityName=locality == null ? "String_Node_Str" : locality.toString();
  log.debug("String_Node_Str" + localityName);
  Scheduler scheduler=ConanProperties.containsKey("String_Node_Str") ? SchedulerFactory.createScheduler(ConanProperties.getProperty("String_Node_Str")) : null;
  String schedulerName=scheduler == null ? "String_Node_Str" : scheduler.getName();
  log.debug("String_Node_Str" + schedulerName);
  if (scheduler != null && ConanProperties.containsKey("String_Node_Str")) {
    scheduler.getArgs().setQueueName(ConanProperties.getProperty("String_Node_Str"));
  }
  if (scheduler != null && ConanProperties.containsKey("String_Node_Str")) {
    scheduler.getArgs().setExtraArgs(ConanProperties.getProperty("String_Node_Str"));
  }
  return new DefaultExecutionContext(locality,scheduler,externalProcessConfiguration,true);
}