Program: 15246
Project: 15246
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();
      if (Bootstrap.checkDepends(bootstrap)) {
        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 (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.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 (Bootstrap.checkDepends(bootstrap)) {
        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 (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.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);
    }
  }
}