Program: 7619
Project: 7619
Buggy source:
/** 
 * Configures a   {@link com.google.inject.Binder} via the exposed methods.
 */
@Override protected void configure(){
  bind(LogWriter.class).to(LocalLogWriter.class);
  expose(LogWriter.class);
  bind(ServiceAnnouncer.class).to(DiscoveryServiceAnnouncer.class);
  MapBinder<ProgramRunnerFactory.Type,ProgramRunner> runnerFactoryBinder=MapBinder.newMapBinder(binder(),ProgramRunnerFactory.Type.class,ProgramRunner.class);
  runnerFactoryBinder.addBinding(ProgramRunnerFactory.Type.FLOW).to(FlowProgramRunner.class);
  runnerFactoryBinder.addBinding(ProgramRunnerFactory.Type.FLOWLET).to(FlowletProgramRunner.class);
  runnerFactoryBinder.addBinding(ProgramRunnerFactory.Type.PROCEDURE).to(ProcedureProgramRunner.class);
  runnerFactoryBinder.addBinding(ProgramRunnerFactory.Type.MAPREDUCE).to(MapReduceProgramRunner.class);
  runnerFactoryBinder.addBinding(ProgramRunnerFactory.Type.WORKFLOW).to(WorkflowProgramRunner.class);
  runnerFactoryBinder.addBinding(ProgramRunnerFactory.Type.WEBAPP).to(WebappProgramRunner.class);
  bind(ProgramRunnerFactory.class).to(InMemoryFlowProgramRunnerFactory.class).in(Scopes.SINGLETON);
  expose(ProgramRunnerFactory.class);
  bind(ProgramRuntimeService.class).to(InMemoryProgramRuntimeService.class).in(Scopes.SINGLETON);
  expose(ProgramRuntimeService.class);
  install(new DataFabricFacadeModule());
  install(new FactoryModuleBuilder().implement(QueueReader.class,SingleQueue2Reader.class).build(QueueReaderFactory.class));
  install(new FactoryModuleBuilder().implement(JarHttpHandler.class,IntactJarHttpHandler.class).build(WebappHttpHandlerFactory.class));
  install(new GatewayAuthModule());
  install(new GatewayCommonHandlerModule());
  install(new AppFabricGatewayModule());
  install(new LogHandlerModule());
  install(new MetricsHandlerModule());
}

Fixed version (ground truth):
/** 
 * Configures a   {@link com.google.inject.Binder} via the exposed methods.
 */
@Override protected void configure(){
  bind(LogWriter.class).to(LocalLogWriter.class);
  expose(LogWriter.class);
  bind(ServiceAnnouncer.class).to(DiscoveryServiceAnnouncer.class);
  MapBinder<ProgramRunnerFactory.Type,ProgramRunner> runnerFactoryBinder=MapBinder.newMapBinder(binder(),ProgramRunnerFactory.Type.class,ProgramRunner.class);
  runnerFactoryBinder.addBinding(ProgramRunnerFactory.Type.FLOW).to(FlowProgramRunner.class);
  runnerFactoryBinder.addBinding(ProgramRunnerFactory.Type.FLOWLET).to(FlowletProgramRunner.class);
  runnerFactoryBinder.addBinding(ProgramRunnerFactory.Type.PROCEDURE).to(ProcedureProgramRunner.class);
  runnerFactoryBinder.addBinding(ProgramRunnerFactory.Type.MAPREDUCE).to(MapReduceProgramRunner.class);
  runnerFactoryBinder.addBinding(ProgramRunnerFactory.Type.WORKFLOW).to(WorkflowProgramRunner.class);
  runnerFactoryBinder.addBinding(ProgramRunnerFactory.Type.WEBAPP).to(WebappProgramRunner.class);
  bind(ProgramRunnerFactory.class).to(InMemoryFlowProgramRunnerFactory.class).in(Scopes.SINGLETON);
  expose(ProgramRunnerFactory.class);
  bind(ProgramRuntimeService.class).to(InMemoryProgramRuntimeService.class).in(Scopes.SINGLETON);
  expose(ProgramRuntimeService.class);
  install(new DataFabricFacadeModule());
  install(new FactoryModuleBuilder().implement(QueueReader.class,SingleQueue2Reader.class).build(QueueReaderFactory.class));
  install(new FactoryModuleBuilder().implement(JarHttpHandler.class,IntactJarHttpHandler.class).build(WebappHttpHandlerFactory.class));
  install(new GatewayCommonHandlerModule());
  install(new AppFabricGatewayModule());
  install(new LogHandlerModule());
  install(new MetricsHandlerModule());
}