Program: 7478
Project: 7478
Buggy source:
private static List<Module> createPersistentModules(CConfiguration configuration,Configuration hConf,final String webAppPath){
  configuration.setIfUnset(Constants.CFG_DATA_LEVELDB_DIR,Constants.DEFAULT_DATA_LEVELDB_DIR);
  String environment=configuration.get(Constants.CFG_APPFABRIC_ENVIRONMENT,Constants.DEFAULT_APPFABRIC_ENVIRONMENT);
  if (environment.equals("String_Node_Str")) {
    System.err.println("String_Node_Str" + environment);
  }
  configuration.set(Constants.CFG_DATA_INMEMORY_PERSISTENCE,Constants.InMemoryPersistenceType.LEVELDB.name());
  String passportUri=configuration.get(Constants.Gateway.CFG_PASSPORT_SERVER_URI);
  final PassportClient client=passportUri == null || passportUri.isEmpty() ? new PassportClient() : PassportClient.create(passportUri);
  return ImmutableList.of(new AbstractModule(){
    @Override protected void configure(){
      bind(PassportClient.class).toProvider(new Provider<PassportClient>(){
        @Override public PassportClient get(){
          return client;
        }
      }
);
    }
  }
,new ConfigModule(configuration,hConf),new IOModule(),new MetricsHandlerModule(),new AuthModule(),new DiscoveryRuntimeModule().getStandaloneModules(),new LocationRuntimeModule().getStandaloneModules(),new AppFabricServiceRuntimeModule().getStandaloneModules(),new ProgramRunnerRuntimeModule().getStandaloneModules(),new GatewayModule().getStandaloneModules(),new DataFabricModules().getStandaloneModules(),new DataSetsModules().getLocalModule(),new DataSetServiceModules().getLocalModule(),new MetricsClientRuntimeModule().getStandaloneModules(),new LoggingModules().getStandaloneModules(),new RouterModules().getStandaloneModules(),new SecurityModules().getStandaloneModules(),new StreamServiceRuntimeModule().getStandaloneModules(),new ExploreRuntimeModule().getStandaloneModules(),new ServiceStoreModules().getStandaloneModule(),new ExploreClientModule(),new AbstractModule(){
    @Override public void configure(){
      bindConstant().annotatedWith(Names.named("String_Node_Str")).to(webAppPath);
    }
  }
);
}

Fixed version (ground truth):
private static List<Module> createPersistentModules(CConfiguration configuration,Configuration hConf,final String webAppPath){
  configuration.setIfUnset(Constants.CFG_DATA_LEVELDB_DIR,Constants.DEFAULT_DATA_LEVELDB_DIR);
  String environment=configuration.get(Constants.CFG_APPFABRIC_ENVIRONMENT,Constants.DEFAULT_APPFABRIC_ENVIRONMENT);
  if (environment.equals("String_Node_Str")) {
    System.err.println("String_Node_Str" + environment);
  }
  configuration.set(Constants.CFG_DATA_INMEMORY_PERSISTENCE,Constants.InMemoryPersistenceType.LEVELDB.name());
  String passportUri=configuration.get(Constants.Gateway.CFG_PASSPORT_SERVER_URI);
  final PassportClient client=passportUri == null || passportUri.isEmpty() ? new PassportClient() : PassportClient.create(passportUri);
  return ImmutableList.of(new AbstractModule(){
    @Override protected void configure(){
      bind(PassportClient.class).toProvider(new Provider<PassportClient>(){
        @Override public PassportClient get(){
          return client;
        }
      }
);
      if (webAppPath != null) {
        bindConstant().annotatedWith(Names.named("String_Node_Str")).to(webAppPath);
      }
    }
  }
,new ConfigModule(configuration,hConf),new IOModule(),new MetricsHandlerModule(),new AuthModule(),new DiscoveryRuntimeModule().getStandaloneModules(),new LocationRuntimeModule().getStandaloneModules(),new AppFabricServiceRuntimeModule().getStandaloneModules(),new ProgramRunnerRuntimeModule().getStandaloneModules(),new GatewayModule().getStandaloneModules(),new DataFabricModules().getStandaloneModules(),new DataSetsModules().getLocalModule(),new DataSetServiceModules().getLocalModule(),new MetricsClientRuntimeModule().getStandaloneModules(),new LoggingModules().getStandaloneModules(),new RouterModules().getStandaloneModules(),new SecurityModules().getStandaloneModules(),new StreamServiceRuntimeModule().getStandaloneModules(),new ExploreRuntimeModule().getStandaloneModules(),new ServiceStoreModules().getStandaloneModule(),new ExploreClientModule());
}