Program: 113858
Project: 113858
Buggy source:
public MRCRequestDispatcher(final MRCConfig config) throws IOException, JSONException, ClassNotFoundException, IllegalAccessException, InstantiationException, DatabaseException {
  this.config=config;
  authString=NullAuthProvider.createAuthString(config.getUUID().toString(),config.getUUID().toString());
  Logging.logMessage(Logging.LEVEL_DEBUG,this,"String_Node_Str" + config.isUsingSSL());
  speedyStage=config.isUsingSSL() ? new MultiSpeedy(new SSLOptions(config.getServiceCredsFile(),config.getServiceCredsPassphrase(),config.getServiceCredsContainer(),config.getTrustedCertsFile(),config.getTrustedCertsPassphrase(),config.getTrustedCertsContainer(),false)) : new MultiSpeedy();
  speedyStage.setLifeCycleListener(this);
  pinkyStage=config.isUsingSSL() ? new PipelinedPinky(config.getPort(),config.getAddress(),this,new SSLOptions(config.getServiceCredsFile(),config.getServiceCredsPassphrase(),config.getServiceCredsContainer(),config.getTrustedCertsFile(),config.getTrustedCertsPassphrase(),config.getTrustedCertsContainer(),false)) : new PipelinedPinky(config.getPort(),config.getAddress(),this);
  pinkyStage.setLifeCycleListener(this);
  dirClient=new DIRClient(speedyStage,config.getDirectoryService());
  TimeSync.initialize(dirClient,config.getRemoteTimeSync(),config.getLocalClockRenew(),authString);
  UUIDResolver.start(dirClient,10 * 1000,600 * 1000);
  UUIDResolver.addLocalMapping(config.getUUID(),config.getPort(),config.isUsingSSL());
  policyContainer=new PolicyContainer(config);
  authProvider=policyContainer.getAuthenticationProvider();
  authProvider.initialize(config.isUsingSSL());
  if (Logging.isInfo())   Logging.logMessage(Logging.LEVEL_INFO,this,"String_Node_Str" + authProvider.getClass().getName() + "String_Node_Str");
  osdMonitor=new OSDStatusManager(config,dirClient,policyContainer,authString);
  osdMonitor.setLifeCycleListener(this);
  procStage=new ProcessingStage(this);
  ServiceDataGenerator gen=new ServiceDataGenerator(){
    public Map<String,Map<String,Object>> getServiceData(){
      String uuid=config.getUUID().toString();
      OperatingSystemMXBean osb=ManagementFactory.getOperatingSystemMXBean();
      String load=String.valueOf((int)(osb.getSystemLoadAverage() * 100 / osb.getAvailableProcessors()));
      long totalRAM=Runtime.getRuntime().maxMemory();
      long usedRAM=Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory();
      Map<String,Map<String,Object>> map=new HashMap<String,Map<String,Object>>();
      map.put(uuid,RPCClient.generateMap("String_Node_Str","String_Node_Str","String_Node_Str",load,"String_Node_Str",VersionManagement.getSupportedProtVersAsString(),"String_Node_Str",Long.toString(totalRAM),"String_Node_Str",Long.toString(usedRAM),"String_Node_Str",config.getGeoCoordinates()));
      return map;
    }
  }
;
  heartbeatThread=new HeartbeatThread("String_Node_Str",dirClient,config.getUUID(),gen,authString,config);
  volumeManager=new BabuDBVolumeManager(this);
  fileAccessManager=new FileAccessManager(volumeManager,policyContainer);
}

Fixed version (ground truth):
public MRCRequestDispatcher(final MRCConfig config) throws IOException, JSONException, ClassNotFoundException, IllegalAccessException, InstantiationException, DatabaseException {
  this.config=config;
  authString=NullAuthProvider.createAuthString(config.getUUID().toString(),config.getUUID().toString());
  Logging.logMessage(Logging.LEVEL_DEBUG,this,"String_Node_Str" + config.isUsingSSL());
  speedyStage=config.isUsingSSL() ? new MultiSpeedy(new SSLOptions(config.getServiceCredsFile(),config.getServiceCredsPassphrase(),config.getServiceCredsContainer(),config.getTrustedCertsFile(),config.getTrustedCertsPassphrase(),config.getTrustedCertsContainer(),false)) : new MultiSpeedy();
  speedyStage.setLifeCycleListener(this);
  pinkyStage=config.isUsingSSL() ? new PipelinedPinky(config.getPort(),config.getAddress(),this,new SSLOptions(config.getServiceCredsFile(),config.getServiceCredsPassphrase(),config.getServiceCredsContainer(),config.getTrustedCertsFile(),config.getTrustedCertsPassphrase(),config.getTrustedCertsContainer(),false)) : new PipelinedPinky(config.getPort(),config.getAddress(),this);
  pinkyStage.setLifeCycleListener(this);
  dirClient=new DIRClient(speedyStage,config.getDirectoryService());
  policyContainer=new PolicyContainer(config);
  authProvider=policyContainer.getAuthenticationProvider();
  authProvider.initialize(config.isUsingSSL());
  if (Logging.isInfo())   Logging.logMessage(Logging.LEVEL_INFO,this,"String_Node_Str" + authProvider.getClass().getName() + "String_Node_Str");
  osdMonitor=new OSDStatusManager(config,dirClient,policyContainer,authString);
  osdMonitor.setLifeCycleListener(this);
  procStage=new ProcessingStage(this);
  ServiceDataGenerator gen=new ServiceDataGenerator(){
    public Map<String,Map<String,Object>> getServiceData(){
      String uuid=config.getUUID().toString();
      OperatingSystemMXBean osb=ManagementFactory.getOperatingSystemMXBean();
      String load=String.valueOf((int)(osb.getSystemLoadAverage() * 100 / osb.getAvailableProcessors()));
      long totalRAM=Runtime.getRuntime().maxMemory();
      long usedRAM=Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory();
      Map<String,Map<String,Object>> map=new HashMap<String,Map<String,Object>>();
      map.put(uuid,RPCClient.generateMap("String_Node_Str","String_Node_Str","String_Node_Str",load,"String_Node_Str",VersionManagement.getSupportedProtVersAsString(),"String_Node_Str",Long.toString(totalRAM),"String_Node_Str",Long.toString(usedRAM),"String_Node_Str",config.getGeoCoordinates()));
      return map;
    }
  }
;
  heartbeatThread=new HeartbeatThread("String_Node_Str",dirClient,config.getUUID(),gen,authString,config);
  volumeManager=new BabuDBVolumeManager(this);
  fileAccessManager=new FileAccessManager(volumeManager,policyContainer);
}