Program: 93540
Project: 93540
Buggy source:
private static void pipeApplicationLogicHandlers(final Configuration conf,final PathHandler paths,final IdentityManager identityManager,final AccessManager accessManager){
  if (conf.getApplicationLogicMounts() != null) {
    conf.getApplicationLogicMounts().stream().forEach(al -> {
      try {
        String alClazz=(String)al.get(Configuration.APPLICATION_LOGIC_MOUNT_WHAT_KEY);
        String alWhere=(String)al.get(Configuration.APPLICATION_LOGIC_MOUNT_WHERE_KEY);
        boolean alSecured=(Boolean)al.get(Configuration.APPLICATION_LOGIC_MOUNT_SECURED_KEY);
        Object alArgs=al.get(Configuration.APPLICATION_LOGIC_MOUNT_ARGS_KEY);
        if (alWhere == null || !alWhere.startsWith("String_Node_Str")) {
          LOGGER.error("String_Node_Str",alWhere);
          return;
        }
        if (alArgs != null && !(alArgs instanceof Map)) {
          LOGGER.error("String_Node_Str" + "String_Node_Str",alWhere,alWhere.getClass());
          return;
        }
        Object o=Class.forName(alClazz).getConstructor(PipedHttpHandler.class,Map.class).newInstance(null,(Map)alArgs);
        if (o instanceof ApplicationLogicHandler) {
          ApplicationLogicHandler alHandler=(ApplicationLogicHandler)o;
          PipedHttpHandler handler=new CORSHandler(new RequestContextInjectorHandler("String_Node_Str","String_Node_Str",alHandler));
          if (alSecured) {
            paths.addPrefixPath("String_Node_Str" + alWhere,new SecurityHandler(handler,identityManager,accessManager));
          }
 else {
            paths.addPrefixPath("String_Node_Str" + alWhere,new SecurityHandler(handler,identityManager,new FullAccessManager()));
          }
          LOGGER.info("String_Node_Str" + "String_Node_Str","String_Node_Str" + alWhere,alClazz,alSecured);
        }
 else {
          LOGGER.error("String_Node_Str" + "String_Node_Str",alWhere,alClazz);
        }
      }
 catch (      Throwable t) {
        LOGGER.error("String_Node_Str",al.get(Configuration.APPLICATION_LOGIC_MOUNT_WHERE_KEY),t);
      }
    }
);
  }
}

Fixed version (ground truth):
private static void pipeApplicationLogicHandlers(final Configuration conf,final PathHandler paths,final IdentityManager identityManager,final AccessManager accessManager){
  if (conf.getApplicationLogicMounts() != null) {
    conf.getApplicationLogicMounts().stream().forEach(al -> {
      try {
        String alClazz=(String)al.get(Configuration.APPLICATION_LOGIC_MOUNT_WHAT_KEY);
        String alWhere=(String)al.get(Configuration.APPLICATION_LOGIC_MOUNT_WHERE_KEY);
        boolean alSecured=(Boolean)al.get(Configuration.APPLICATION_LOGIC_MOUNT_SECURED_KEY);
        Object alArgs=al.get(Configuration.APPLICATION_LOGIC_MOUNT_ARGS_KEY);
        if (alWhere == null || !alWhere.startsWith("String_Node_Str")) {
          LOGGER.error("String_Node_Str",alWhere);
          return;
        }
        if (alArgs != null && !(alArgs instanceof Map)) {
          LOGGER.error("String_Node_Str" + "String_Node_Str",alWhere,alWhere.getClass());
          return;
        }
        Object o=Class.forName(alClazz).getConstructor(PipedHttpHandler.class,Map.class).newInstance(null,(Map)alArgs);
        if (o instanceof ApplicationLogicHandler) {
          ApplicationLogicHandler alHandler=(ApplicationLogicHandler)o;
          PipedHttpHandler handler=new RequestContextInjectorHandler("String_Node_Str","String_Node_Str",alHandler);
          if (alSecured) {
            paths.addPrefixPath("String_Node_Str" + alWhere,new CORSHandler(new SecurityHandler(handler,identityManager,accessManager)));
          }
 else {
            paths.addPrefixPath("String_Node_Str" + alWhere,new CORSHandler(new SecurityHandler(handler,identityManager,new FullAccessManager())));
          }
          LOGGER.info("String_Node_Str" + "String_Node_Str","String_Node_Str" + alWhere,alClazz,alSecured);
        }
 else {
          LOGGER.error("String_Node_Str" + "String_Node_Str",alWhere,alClazz);
        }
      }
 catch (      Throwable t) {
        LOGGER.error("String_Node_Str",al.get(Configuration.APPLICATION_LOGIC_MOUNT_WHERE_KEY),t);
      }
    }
);
  }
}