Program: 14676
Project: 14676
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.registerShutdownHook(Eucalyptus.class,new Runnable(){
            @Override public void run(){
              try {
                for (                Runnable r : PeriodicMembershipChecks.shutdownNow()) {
                  LOG.info("String_Node_Str" + r);
                }
              }
 catch (              Exception ex1) {
                LOG.error(ex1,ex1);
              }
              try {
                hostMap.removeNotifier(HostMapStateListener.INSTANCE);
                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);
    }
    PeriodicMembershipChecks.setup();
    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.registerPreShutdownHook(new Runnable(){
            @Override public void run(){
              try {
                for (                Runnable r : PeriodicMembershipChecks.shutdownNow()) {
                  LOG.info("String_Node_Str" + r);
                }
              }
 catch (              Exception ex1) {
                LOG.error(ex1,ex1);
              }
              try {
                hostMap.removeNotifier(HostMapStateListener.INSTANCE);
                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);
    }
    PeriodicMembershipChecks.setup();
    return true;
  }
 catch (  final Exception ex) {
    LOG.fatal(ex,ex);
    BootstrapException.throwFatal("String_Node_Str" + ex.getMessage(),ex);
    return false;
  }
}