Program: 59613
Project: 59613
Buggy source:
private static Configuration buildDriverConfig(final Class<?> failMsgClass){
  final Configuration driverConfig=DriverConfiguration.CONF.set(DriverConfiguration.GLOBAL_LIBRARIES,EnvironmentUtils.getClassLocation(FailDriver.class)).set(DriverConfiguration.DRIVER_IDENTIFIER,"String_Node_Str" + failMsgClass.getSimpleName()).set(DriverConfiguration.ON_DRIVER_STARTED,FailDriver.StartHandler.class).set(DriverConfiguration.ON_DRIVER_STOP,FailDriver.StopHandler.class).set(DriverConfiguration.ON_EVALUATOR_ALLOCATED,FailDriver.AllocatedEvaluatorHandler.class).set(DriverConfiguration.ON_EVALUATOR_COMPLETED,FailDriver.CompletedEvaluatorHandler.class).set(DriverConfiguration.ON_EVALUATOR_FAILED,FailDriver.FailedEvaluatorHandler.class).set(DriverConfiguration.ON_CONTEXT_ACTIVE,FailDriver.ActiveContextHandler.class).set(DriverConfiguration.ON_CONTEXT_MESSAGE,FailDriver.ContextMessageHandler.class).set(DriverConfiguration.ON_CONTEXT_CLOSED,FailDriver.ClosedContextHandler.class).set(DriverConfiguration.ON_CONTEXT_FAILED,FailDriver.FailedContextHandler.class).set(DriverConfiguration.ON_TASK_RUNNING,FailDriver.RunningTaskHandler.class).set(DriverConfiguration.ON_TASK_SUSPENDED,FailDriver.SuspendedTaskHandler.class).set(DriverConfiguration.ON_TASK_MESSAGE,FailDriver.TaskMessageHandler.class).set(DriverConfiguration.ON_TASK_FAILED,FailDriver.FailedTaskHandler.class).set(DriverConfiguration.ON_TASK_COMPLETED,FailDriver.CompletedTaskHandler.class).build();
  return Tang.Factory.getTang().newConfigurationBuilder(driverConfig).bindNamedParameter(FailDriver.FailMsgClassName.class,failMsgClass.getName()).build();
}

Fixed version (ground truth):
private static Configuration buildDriverConfig(final Class<?> failMsgClass){
  final Configuration driverConfig=DriverConfiguration.CONF.set(DriverConfiguration.GLOBAL_LIBRARIES,EnvironmentUtils.getClassLocation(FailDriver.class)).set(DriverConfiguration.DRIVER_IDENTIFIER,"String_Node_Str" + failMsgClass.getSimpleName()).set(DriverConfiguration.ON_DRIVER_STARTED,FailDriver.StartHandler.class).set(DriverConfiguration.ON_DRIVER_STOP,FailDriver.StopHandler.class).set(DriverConfiguration.ON_EVALUATOR_ALLOCATED,FailDriver.AllocatedEvaluatorHandler.class).set(DriverConfiguration.ON_EVALUATOR_COMPLETED,FailDriver.CompletedEvaluatorHandler.class).set(DriverConfiguration.ON_EVALUATOR_FAILED,FailDriver.FailedEvaluatorHandler.class).set(DriverConfiguration.ON_CONTEXT_ACTIVE,FailDriver.ActiveContextHandler.class).set(DriverConfiguration.ON_CONTEXT_MESSAGE,FailDriver.ContextMessageHandler.class).set(DriverConfiguration.ON_CONTEXT_CLOSED,FailDriver.ClosedContextHandler.class).set(DriverConfiguration.ON_CONTEXT_FAILED,FailDriver.FailedContextHandler.class).set(DriverConfiguration.ON_TASK_RUNNING,FailDriver.RunningTaskHandler.class).set(DriverConfiguration.ON_TASK_SUSPENDED,FailDriver.SuspendedTaskHandler.class).set(DriverConfiguration.ON_TASK_MESSAGE,FailDriver.TaskMessageHandler.class).set(DriverConfiguration.ON_TASK_FAILED,FailDriver.FailedTaskHandler.class).set(DriverConfiguration.ON_TASK_COMPLETED,FailDriver.CompletedTaskHandler.class).build();
  return TANG.newConfigurationBuilder(driverConfig).bindNamedParameter(FailDriver.FailMsgClassName.class,failMsgClass.getName()).build();
}