Program: 155292
Project: 155292
Buggy source:
/** 
 * Starts Neo with default configuration using NioNeo DB as persistence  store. 
 * @param storeDir path to directory where NionNeo DB store is located
 * @param create if true a new NioNeo DB store will be created if nostore exist at <CODE>storeDir</CODE>
 * @throws StartupFailedException if unable to start
 */
public static void start(Class<? extends RelationshipType> clazz,String storeDir,boolean create){
  if (started) {
    throw new RuntimeException("String_Node_Str");
  }
  config=new Config();
  config.getTxModule().setTxLogDirectory(storeDir);
  Map<String,String> params=new java.util.HashMap<String,String>();
  params.put("String_Node_Str",storeDir + "String_Node_Str");
  params.put("String_Node_Str",String.valueOf(create));
  params.put("String_Node_Str",storeDir + "String_Node_Str");
  params.put("String_Node_Str","String_Node_Str");
  params.put("String_Node_Str","String_Node_Str");
  params.put("String_Node_Str","String_Node_Str");
  params.put("String_Node_Str","String_Node_Str");
  params.put("String_Node_Str","String_Node_Str");
  params.put("String_Node_Str","String_Node_Str");
  byte resourceId[]="String_Node_Str".getBytes();
  config.getTxModule().registerDataSource(DEFAULT_DATA_SOURCE_NAME,NIO_NEO_DB_CLASS,resourceId,params);
  System.setProperty("String_Node_Str",storeDir);
  persistenceSource=new NioNeoDbPersistenceSource();
  config.setNeoPersistenceSource(DEFAULT_DATA_SOURCE_NAME,create);
  config.getNeoModule().setRelationshipTypes(clazz);
  config.getIdGeneratorModule().setPersistenceSourceInstance(persistenceSource);
  config.getEventModule().init();
  config.getTxModule().init();
  config.getPersistenceModule().init();
  persistenceSource.init();
  config.getIdGeneratorModule().init();
  config.getNeoModule().init();
  config.getEventModule().start();
  config.getTxModule().start();
  config.getPersistenceModule().start();
  persistenceSource.start();
  config.getIdGeneratorModule().start();
  config.getNeoModule().start();
  started=true;
}

Fixed version (ground truth):
/** 
 * Starts Neo with default configuration using NioNeo DB as persistence  store. 
 * @param storeDir path to directory where NionNeo DB store is located
 * @param create if true a new NioNeo DB store will be created if nostore exist at <CODE>storeDir</CODE>
 * @throws StartupFailedException if unable to start
 */
public static void start(Class<? extends RelationshipType> clazz,String storeDir,boolean create){
  if (started) {
    throw new RuntimeException("String_Node_Str");
  }
  config=new Config();
  config.getTxModule().setTxLogDirectory(storeDir);
  Map<String,String> params=new java.util.HashMap<String,String>();
  storeDir=convertFileSeparators(storeDir);
  String separator=System.getProperty("String_Node_Str");
  String store=storeDir + separator + "String_Node_Str";
  params.put("String_Node_Str",store);
  params.put("String_Node_Str",String.valueOf(create));
  String logicalLog=storeDir + separator + "String_Node_Str";
  params.put("String_Node_Str",logicalLog);
  params.put("String_Node_Str","String_Node_Str");
  params.put("String_Node_Str","String_Node_Str");
  params.put("String_Node_Str","String_Node_Str");
  params.put("String_Node_Str","String_Node_Str");
  params.put("String_Node_Str","String_Node_Str");
  params.put("String_Node_Str","String_Node_Str");
  byte resourceId[]="String_Node_Str".getBytes();
  config.getTxModule().registerDataSource(DEFAULT_DATA_SOURCE_NAME,NIO_NEO_DB_CLASS,resourceId,params);
  System.setProperty("String_Node_Str",storeDir);
  persistenceSource=new NioNeoDbPersistenceSource();
  config.setNeoPersistenceSource(DEFAULT_DATA_SOURCE_NAME,create);
  config.getNeoModule().setRelationshipTypes(clazz);
  config.getIdGeneratorModule().setPersistenceSourceInstance(persistenceSource);
  config.getEventModule().init();
  config.getTxModule().init();
  config.getPersistenceModule().init();
  persistenceSource.init();
  config.getIdGeneratorModule().init();
  config.getNeoModule().init();
  config.getEventModule().start();
  config.getTxModule().start();
  config.getPersistenceModule().start();
  persistenceSource.start();
  config.getIdGeneratorModule().start();
  config.getNeoModule().start();
  started=true;
}