Program: 59712
Project: 59712
Buggy source:
@Override public void onNext(final DriverRuntimeProtocol.ResourceLaunchProto resourceLaunchProto){
  try {
    final String containerId=resourceLaunchProto.getIdentifier();
    LOG.log(Level.FINEST,"String_Node_Str",containerId);
    final Container container=this.containers.get(containerId);
    LOG.log(Level.FINEST,"String_Node_Str",container.getId());
    final Map<String,LocalResource> localResources=this.evaluatorSetupHelper.getResources(resourceLaunchProto);
    final LaunchCommandBuilder commandBuilder;
switch (resourceLaunchProto.getType()) {
case JVM:
      commandBuilder=new JavaLaunchCommandBuilder().setClassPath(this.fileNames.getClasspath());
    break;
case CLR:
  commandBuilder=new CLRLaunchCommandBuilder();
break;
default :
throw new IllegalArgumentException("String_Node_Str" + resourceLaunchProto.getType());
}
final List<String> command=commandBuilder.setErrorHandlerRID(resourceLaunchProto.getRemoteId()).setLaunchID(resourceLaunchProto.getIdentifier()).setConfigurationFileName(this.fileNames.getEvaluatorConfigurationPath()).setMemory(container.getResource().getMemory()).setStandardErr(ApplicationConstants.LOG_DIR_EXPANSION_VAR + "String_Node_Str" + this.fileNames.getEvaluatorStderrFileName()).setStandardOut(ApplicationConstants.LOG_DIR_EXPANSION_VAR + "String_Node_Str" + this.fileNames.getEvaluatorStdoutFileName()).build();
LOG.log(Level.FINEST,"String_Node_Str",new Object[]{containerId,command,localResources});
final ContainerLaunchContext ctx=YarnTypes.getContainerLaunchContext(command,localResources);
this.yarnContainerManager.get().submit(container,ctx);
LOG.log(Level.FINEST,"String_Node_Str",containerId);
}
 catch (final Throwable e) {
LOG.log(Level.WARNING,"String_Node_Str" + resourceLaunchProto,e);
throw new RuntimeException(e);
}
}

Fixed version (ground truth):
@Override public void onNext(final DriverRuntimeProtocol.ResourceLaunchProto resourceLaunchProto){
  try {
    final String containerId=resourceLaunchProto.getIdentifier();
    LOG.log(Level.FINEST,"String_Node_Str",containerId);
    final Container container=this.containers.get(containerId);
    LOG.log(Level.FINEST,"String_Node_Str",container.getId());
    final Map<String,LocalResource> localResources=this.evaluatorSetupHelper.getResources(resourceLaunchProto);
    final LaunchCommandBuilder commandBuilder;
switch (resourceLaunchProto.getType()) {
case JVM:
      commandBuilder=new JavaLaunchCommandBuilder().setClassPath(this.fileNames.getClasspath());
    break;
case CLR:
  commandBuilder=new CLRLaunchCommandBuilder();
break;
default :
throw new IllegalArgumentException("String_Node_Str" + resourceLaunchProto.getType());
}
final List<String> command=commandBuilder.setErrorHandlerRID(resourceLaunchProto.getRemoteId()).setLaunchID(resourceLaunchProto.getIdentifier()).setConfigurationFileName(this.fileNames.getEvaluatorConfigurationPath()).setMemory(container.getResource().getMemory()).setStandardErr(ApplicationConstants.LOG_DIR_EXPANSION_VAR + "String_Node_Str" + this.fileNames.getEvaluatorStderrFileName()).setStandardOut(ApplicationConstants.LOG_DIR_EXPANSION_VAR + "String_Node_Str" + this.fileNames.getEvaluatorStdoutFileName()).build();
if (LOG.isLoggable(Level.FINEST)) {
LOG.log(Level.FINEST,"String_Node_Str",new Object[]{containerId,StringUtils.join(command,' '),localResources});
}
final ContainerLaunchContext ctx=YarnTypes.getContainerLaunchContext(command,localResources);
this.yarnContainerManager.get().submit(container,ctx);
LOG.log(Level.FINEST,"String_Node_Str",containerId);
}
 catch (final Throwable e) {
LOG.log(Level.WARNING,"String_Node_Str" + resourceLaunchProto,e);
throw new RuntimeException(e);
}
}