Program: 14730
Project: 14730
Buggy source:
@Override public boolean load() throws Exception {
  try {
    HostManager.getInstance();
    LOG.info("String_Node_Str" + SystemIds.membershipGroupName());
    hostMap=new ReplicatedHashMap<String,Host>(HostManager.getMembershipChannel());
    hostMap.setDeadlockDetection(true);
    hostMap.setBlockingUpdates(true);
    Runnable runMap=new Runnable(){
      public void run(){
        try {
          hostMap.start(STATE_INITIALIZE_TIMEOUT);
          OrderedShutdown.register(Eucalyptus.class,new Runnable(){
            @Override public void run(){
              try {
                try {
                  Hosts.remove(Internets.localHostIdentifier());
                }
 catch (                final Exception ex) {
                  LOG.error(ex,ex);
                }
                hostMap.stop();
              }
 catch (              final Exception ex) {
                LOG.error(ex,ex);
              }
            }
          }
);
        }
 catch (        Exception ex) {
          LOG.error(ex,ex);
          Exceptions.maybeInterrupted(ex);
          System.exit(123);
        }
      }
    }
;
    Timers.loggingWrapper(runMap,hostMap).call();
    LOG.info("String_Node_Str" + HostMapStateListener.INSTANCE.printMap());
    LOG.info("String_Node_Str" + Hosts.getCoordinator());
    Listeners.register(HostBootstrapEventListener.INSTANCE);
    Coordinator.INSTANCE.initialize(hostMap.values());
    hostMap.addNotifier(HostMapStateListener.INSTANCE);
    final Host local=Hosts.localHost();
    LOG.info("String_Node_Str" + local);
    UpdateEntry.INSTANCE.apply(local);
    LOG.info("String_Node_Str" + HostMapStateListener.INSTANCE.printMap());
    LOG.info("String_Node_Str" + Hosts.getCoordinator());
    if (!BootstrapArgs.isCloudController()) {
      while (Hosts.listActiveDatabases().isEmpty()) {
        TimeUnit.SECONDS.sleep(5);
        LOG.info("String_Node_Str");
      }
      if (Databases.shouldInitialize()) {
        doInitialize();
      }
    }
    LOG.info("String_Node_Str" + Hosts.localHost());
    for (    final Host h : hostMap.values()) {
      BootstrapComponent.REMOTESETUP.apply(h);
    }
    return true;
  }
 catch (  final Exception ex) {
    LOG.fatal(ex,ex);
    BootstrapException.throwFatal("String_Node_Str" + ex.getMessage(),ex);
    return false;
  }
}

Fixed version (ground truth):
@Override public boolean load() throws Exception {
  try {
    HostManager.getInstance();
    LOG.info("String_Node_Str" + SystemIds.membershipGroupName());
    hostMap=new ReplicatedHashMap<String,Host>(HostManager.getMembershipChannel());
    hostMap.setDeadlockDetection(true);
    hostMap.setBlockingUpdates(true);
    Runnable runMap=new Runnable(){
      public void run(){
        try {
          hostMap.start(STATE_INITIALIZE_TIMEOUT);
          OrderedShutdown.register(Eucalyptus.class,new Runnable(){
            @Override public void run(){
              try {
                try {
                  if (Hosts.contains(Internets.localHostIdentifier())) {
                    Hosts.remove(Internets.localHostIdentifier());
                  }
                }
 catch (                final Exception ex) {
                  LOG.error(ex,ex);
                }
                hostMap.stop();
              }
 catch (              final Exception ex) {
                LOG.error(ex,ex);
              }
            }
          }
);
        }
 catch (        Exception ex) {
          LOG.error(ex,ex);
          Exceptions.maybeInterrupted(ex);
          System.exit(123);
        }
      }
    }
;
    Timers.loggingWrapper(runMap,hostMap).call();
    LOG.info("String_Node_Str" + HostMapStateListener.INSTANCE.printMap());
    LOG.info("String_Node_Str" + Hosts.getCoordinator());
    Hosts.Coordinator.INSTANCE.await();
    Coordinator.INSTANCE.initialize(hostMap.values());
    LOG.info("String_Node_Str" + Hosts.getCoordinator());
    LOG.info("String_Node_Str" + Hosts.localHost());
    hostMap.addNotifier(HostMapStateListener.INSTANCE);
    LOG.info("String_Node_Str" + HostMapStateListener.INSTANCE.printMap());
    UpdateEntry.INSTANCE.apply(Hosts.localHost());
    LOG.info("String_Node_Str" + Hosts.getCoordinator());
    Hosts.awaitDatabases();
    LOG.info("String_Node_Str" + Hosts.localHost());
    for (    Host h : hostMap.values()) {
      BootstrapComponent.REMOTESETUP.apply(h);
    }
    Listeners.register(HostBootstrapEventListener.INSTANCE);
    return true;
  }
 catch (  final Exception ex) {
    LOG.fatal(ex,ex);
    BootstrapException.throwFatal("String_Node_Str" + ex.getMessage(),ex);
    return false;
  }
}