Program: 93531
Project: 93531
Buggy source:
private static GracefulShutdownHandler getHandlersPipe(final IdentityManager identityManager,final AccessManager accessManager){
  PipedHttpHandler coreHandlerChain=new DbPropsInjectorHandler(new CollectionPropsInjectorHandler(new BodyInjectorHandler(new RequestScriptMetadataHandler(new RequestDispacherHandler()))));
  PathHandler paths=path();
  configuration.getMongoMounts().stream().forEach(m -> {
    String url=(String)m.get(Configuration.MONGO_MOUNT_WHERE_KEY);
    String db=(String)m.get(Configuration.MONGO_MOUNT_WHAT_KEY);
    paths.addPrefixPath(url,new AuthTokenInjecterHandler(new CORSHandler(new RequestContextInjectorHandler(url,db,new OptionsHandler(new SecurityHandler(coreHandlerChain,identityManager,accessManager))))));
    LOGGER.info("String_Node_Str",url,db);
  }
);
  pipeStaticResourcesHandlers(configuration,paths,identityManager,accessManager);
  pipeApplicationLogicHandlers(configuration,paths,identityManager,accessManager);
  paths.addPrefixPath("String_Node_Str",new SecurityHandler(new AuthTokenHandler(),identityManager,accessManager));
  return new GracefulShutdownHandler(new RequestLimitingHandler(new RequestLimit(configuration.getRequestLimit()),new AllowedMethodsHandler(new BlockingHandler(new GzipEncodingHandler(new ErrorHandler(new HttpContinueAcceptingHandler(paths)),configuration.isForceGzipEncoding())),HttpString.tryFromString(RequestContext.METHOD.GET.name()),HttpString.tryFromString(RequestContext.METHOD.POST.name()),HttpString.tryFromString(RequestContext.METHOD.PUT.name()),HttpString.tryFromString(RequestContext.METHOD.DELETE.name()),HttpString.tryFromString(RequestContext.METHOD.PATCH.name()),HttpString.tryFromString(RequestContext.METHOD.OPTIONS.name()))));
}

Fixed version (ground truth):
private static GracefulShutdownHandler getHandlersPipe(final IdentityManager identityManager,final AccessManager accessManager){
  PipedHttpHandler coreHandlerChain=new DbPropsInjectorHandler(new CollectionPropsInjectorHandler(new BodyInjectorHandler(new RequestScriptMetadataHandler(new RequestDispacherHandler()))));
  PathHandler paths=path();
  configuration.getMongoMounts().stream().forEach(m -> {
    String url=(String)m.get(Configuration.MONGO_MOUNT_WHERE_KEY);
    String db=(String)m.get(Configuration.MONGO_MOUNT_WHAT_KEY);
    paths.addPrefixPath(url,new AuthTokenInjecterHandler(new CORSHandler(new RequestContextInjectorHandler(url,db,new OptionsHandler(new SecurityHandler(coreHandlerChain,identityManager,accessManager))))));
    LOGGER.info("String_Node_Str",url,db);
  }
);
  pipeStaticResourcesHandlers(configuration,paths,identityManager,accessManager);
  pipeApplicationLogicHandlers(configuration,paths,identityManager,accessManager);
  paths.addPrefixPath("String_Node_Str",new AuthTokenInjecterHandler(new CORSHandler(new SecurityHandler(new AuthTokenHandler(),identityManager,new FullAccessManager()))));
  return new GracefulShutdownHandler(new RequestLimitingHandler(new RequestLimit(configuration.getRequestLimit()),new AllowedMethodsHandler(new BlockingHandler(new GzipEncodingHandler(new ErrorHandler(new HttpContinueAcceptingHandler(paths)),configuration.isForceGzipEncoding())),HttpString.tryFromString(RequestContext.METHOD.GET.name()),HttpString.tryFromString(RequestContext.METHOD.POST.name()),HttpString.tryFromString(RequestContext.METHOD.PUT.name()),HttpString.tryFromString(RequestContext.METHOD.DELETE.name()),HttpString.tryFromString(RequestContext.METHOD.PATCH.name()),HttpString.tryFromString(RequestContext.METHOD.OPTIONS.name()))));
}