Program: 15262
Project: 15262
Buggy source:
/** 
 * TODO: DOCUMENT Bootstrap.java
 */
@SuppressWarnings("String_Node_Str") public static void initBootstrappers(){
  for (  Bootstrapper bootstrap : BootstrapperDiscovery.getBootstrappers()) {
    try {
      Class<ComponentId> compType;
      String bc=bootstrap.getClass().getCanonicalName();
      Bootstrap.Stage stage=bootstrap.getBootstrapStage();
      compType=bootstrap.getProvides();
      EventRecord.here(Bootstrap.class,EventType.BOOTSTRAPPER_INIT,stage.name(),bc,"String_Node_Str" + compType.getSimpleName()).info();
      if (Bootstrap.checkDepends(bootstrap)) {
        if (Empyrean.class.equals(compType)) {
          EventRecord.here(Bootstrap.class,EventType.BOOTSTRAPPER_ADDED,stage.name(),bc,"String_Node_Str" + compType.getSimpleName()).info();
          stage.addBootstrapper(bootstrap);
        }
 else         if (ComponentId.class.equals(compType)) {
          for (          Component c : Components.list()) {
            EventRecord.here(Bootstrap.class,EventType.BOOTSTRAPPER_ADDED,stage.name(),bc,"String_Node_Str" + c.getName()).info();
            c.getBootstrapper().addBootstrapper(bootstrap);
          }
        }
      }
 else       if (ComponentId.class.isAssignableFrom(compType) && !Empyrean.class.equals(compType)) {
        EventRecord.here(Bootstrap.class,EventType.BOOTSTRAPPER_ADDED,stage.name(),bc,"String_Node_Str" + compType.getSimpleName()).info();
        Components.lookup(compType).getBootstrapper().addBootstrapper(bootstrap);
      }
 else {
        EventRecord.here(Bootstrap.class,EventType.BOOTSTRAPPER_SKIPPED,stage.name(),bc,"String_Node_Str" + compType.getSimpleName()).info();
      }
    }
 catch (    Throwable ex) {
      LOG.error(ex,ex);
    }
  }
}

Fixed version (ground truth):
/** 
 * TODO: DOCUMENT Bootstrap.java
 */
@SuppressWarnings("String_Node_Str") public static void initBootstrappers(){
  for (  Bootstrapper bootstrap : BootstrapperDiscovery.getBootstrappers()) {
    try {
      Class<ComponentId> compType;
      String bc=bootstrap.getClass().getCanonicalName();
      Bootstrap.Stage stage=bootstrap.getBootstrapStage();
      compType=bootstrap.getProvides();
      EventRecord.here(Bootstrap.class,EventType.BOOTSTRAPPER_INIT,stage.name(),bc,"String_Node_Str" + compType.getSimpleName()).info();
      if (ComponentId.class.isAssignableFrom(compType) && !Empyrean.class.equals(compType) && !ComponentId.class.equals(compType)) {
        EventRecord.here(Bootstrap.class,EventType.BOOTSTRAPPER_ADDED,stage.name(),bc,"String_Node_Str" + compType.getSimpleName()).info();
        Components.lookup(compType).getBootstrapper().addBootstrapper(bootstrap);
      }
 else       if (Bootstrap.checkDepends(bootstrap)) {
        if (Empyrean.class.equals(compType)) {
          EventRecord.here(Bootstrap.class,EventType.BOOTSTRAPPER_ADDED,stage.name(),bc,"String_Node_Str" + compType.getSimpleName()).info();
          stage.addBootstrapper(bootstrap);
        }
 else         if (ComponentId.class.equals(compType)) {
          for (          Component c : Components.list()) {
            EventRecord.here(Bootstrap.class,EventType.BOOTSTRAPPER_ADDED,stage.name(),bc,"String_Node_Str" + c.getName()).info();
            c.getBootstrapper().addBootstrapper(bootstrap);
          }
        }
      }
 else {
        EventRecord.here(Bootstrap.class,EventType.BOOTSTRAPPER_SKIPPED,stage.name(),bc,"String_Node_Str" + compType.getSimpleName()).info();
      }
    }
 catch (    Throwable ex) {
      LOG.error(ex,ex);
    }
  }
}