Program: 154507
Project: 154507
Buggy source:
Config(GraphDatabaseService graphDb,String storeDir,StoreId storeId,Map<String,String> inputParams,KernelPanicEventGenerator kpe,TxModule txModule,LockManager lockManager,LockReleaser lockReleaser,IdGeneratorFactory idGeneratorFactory,TxEventSyncHookFactory txSyncHookFactory,RelationshipTypeCreator relTypeCreator,TxIdGenerator txIdGenerator,LastCommittedTxIdSetter lastCommittedTxIdSetter,FileSystemAbstraction fileSystem,LogBufferFactory logBufferFactory){
  this.storeDir=storeDir;
  this.inputParams=inputParams;
  this.idGeneratorFactory=idGeneratorFactory;
  this.relTypeCreator=relTypeCreator;
  this.txIdGenerator=txIdGenerator;
  this.params=getDefaultParams();
  params.put(FileSystemAbstraction.class,fileSystem);
  this.txModule=txModule;
  this.lockManager=lockManager;
  this.lockReleaser=lockReleaser;
  this.idGeneratorModule=new IdGeneratorModule(new IdGenerator());
  this.readOnly=Boolean.parseBoolean((String)params.get(READ_ONLY));
  this.backupSlave=Boolean.parseBoolean((String)params.get(BACKUP_SLAVE));
  this.syncHookFactory=txSyncHookFactory;
  this.persistenceModule=new PersistenceModule();
  this.cacheManager=new AdaptiveCacheManager();
  params.put(LogBufferFactory.class,logBufferFactory);
  graphDbModule=new GraphDbModule(graphDb,cacheManager,lockManager,txModule.getTxManager(),idGeneratorModule.getIdGenerator(),readOnly);
  indexStore=new IndexStore(storeDir);
  params.put(IndexStore.class,indexStore);
  if (storeId != null)   params.put(StoreId.class,storeId);
  params.put(IdGeneratorFactory.class,idGeneratorFactory);
  params.put(TxIdGenerator.class,txIdGenerator);
  params.put(TransactionManager.class,txModule.getTxManager());
  params.put(LastCommittedTxIdSetter.class,lastCommittedTxIdSetter);
  params.put(GraphDbModule.class,graphDbModule);
}

Fixed version (ground truth):
Config(GraphDatabaseService graphDb,String storeDir,StoreId storeId,Map<String,String> inputParams,KernelPanicEventGenerator kpe,TxModule txModule,LockManager lockManager,LockReleaser lockReleaser,IdGeneratorFactory idGeneratorFactory,TxEventSyncHookFactory txSyncHookFactory,RelationshipTypeCreator relTypeCreator,TxIdGenerator txIdGenerator,LastCommittedTxIdSetter lastCommittedTxIdSetter,FileSystemAbstraction fileSystem){
  this.storeDir=storeDir;
  this.inputParams=inputParams;
  this.params=getDefaultParams();
  this.params.putAll(inputParams);
  this.idGeneratorFactory=idGeneratorFactory;
  this.relTypeCreator=relTypeCreator;
  this.txIdGenerator=txIdGenerator;
  this.txModule=txModule;
  this.lockManager=lockManager;
  this.lockReleaser=lockReleaser;
  this.idGeneratorModule=new IdGeneratorModule(new IdGenerator());
  this.readOnly=Boolean.parseBoolean((String)params.get(READ_ONLY));
  this.backupSlave=Boolean.parseBoolean((String)params.get(BACKUP_SLAVE));
  this.syncHookFactory=txSyncHookFactory;
  this.persistenceModule=new PersistenceModule();
  this.cacheManager=new AdaptiveCacheManager();
  this.params.put(FileSystemAbstraction.class,fileSystem);
  graphDbModule=new GraphDbModule(graphDb,cacheManager,lockManager,txModule.getTxManager(),idGeneratorModule.getIdGenerator(),readOnly);
  indexStore=new IndexStore(storeDir);
  params.put(IndexStore.class,indexStore);
  if (storeId != null)   params.put(StoreId.class,storeId);
  params.put(IdGeneratorFactory.class,idGeneratorFactory);
  params.put(TxIdGenerator.class,txIdGenerator);
  params.put(TransactionManager.class,txModule.getTxManager());
  params.put(LastCommittedTxIdSetter.class,lastCommittedTxIdSetter);
  params.put(GraphDbModule.class,graphDbModule);
}