Program: 155224
Project: 155224
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>
 * @param configuration parameters
 * @throws StartupFailedException if unable to start
 */
public void start(Map<String,String> stringParams){
  if (started) {
    throw new IllegalStateException("String_Node_Str");
  }
  Map<Object,Object> params=getDefaultParams();
  for (  String key : stringParams.keySet()) {
    params.put(key,stringParams.get(key));
  }
  config=new Config();
  config.getTxModule().setTxLogDirectory(storeDir);
  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);
  byte resourceId[]="String_Node_Str".getBytes();
  params.put(EventManager.class,config.getEventModule().getEventManager());
  params.put(LockManager.class,config.getLockManager());
  params.put(LockReleaser.class,config.getLockReleaser());
  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.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);
  persistenceSource.start(config.getTxModule().getXaDataSourceManager());
  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>
 * @param configuration parameters
 * @throws StartupFailedException if unable to start
 */
public void start(Map<String,String> stringParams){
  if (started) {
    throw new IllegalStateException("String_Node_Str");
  }
  Map<Object,Object> params=getDefaultParams();
  for (  String key : stringParams.keySet()) {
    params.put(key,stringParams.get(key));
  }
  config=new Config(storeDir);
  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);
  byte resourceId[]="String_Node_Str".getBytes();
  params.put(EventManager.class,config.getEventModule().getEventManager());
  params.put(LockManager.class,config.getLockManager());
  params.put(LockReleaser.class,config.getLockReleaser());
  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.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);
  persistenceSource.start(config.getTxModule().getXaDataSourceManager());
  config.getIdGeneratorModule().start();
  config.getNeoModule().start();
  started=true;
}