Program: 177156
Project: 177156
Buggy source:
@Override protected void doBuild() throws EnunciateException, IOException {
  super.doBuild();
  File webappDir=getBuildDir();
  webappDir.mkdirs();
  File webinf=new File(webappDir,"String_Node_Str");
  File webinfClasses=new File(webinf,"String_Node_Str");
  getEnunciate().copyFile(new File(getGenerateDir(),"String_Node_Str"),new File(webinfClasses,"String_Node_Str"));
  getEnunciate().copyFile(new File(getGenerateDir(),"String_Node_Str"),new File(webinfClasses,"String_Node_Str"));
  getEnunciate().copyFile(new File(getGenerateDir(),"String_Node_Str"),new File(webinfClasses,"String_Node_Str"));
  getEnunciate().copyFile(new File(getGenerateDir(),"String_Node_Str"),new File(webinfClasses,"String_Node_Str"));
  getEnunciate().copyFile(new File(getGenerateDir(),"String_Node_Str"),new File(webinfClasses,"String_Node_Str"));
  BaseWebAppFragment webappFragment=new BaseWebAppFragment(getName());
  webappFragment.setBaseDir(webappDir);
  WebAppComponent servletComponent=new WebAppComponent();
  servletComponent.setName("String_Node_Str");
  servletComponent.setClassname(EnunciateSpringServlet.class.getName());
  TreeMap<String,String> initParams=new TreeMap<String,String>();
  if (!isUsePathBasedConneg()) {
    initParams.put(JerseyAdaptedHttpServletRequest.FEATURE_PATH_BASED_CONNEG,Boolean.FALSE.toString());
  }
  if (isUseSubcontext()) {
    initParams.put(JerseyAdaptedHttpServletRequest.PROPERTY_SERVLET_PATH,getRestSubcontext());
  }
  servletComponent.setInitParams(initParams);
  TreeSet<String> urlMappings=new TreeSet<String>();
  for (  RootResource rootResource : getModel().getRootResources()) {
    for (    ResourceMethod resourceMethod : rootResource.getResourceMethods(true)) {
      String resourceMethodPattern=resourceMethod.getServletPattern();
      for (      Set<String> subcontextList : ((Map<String,Set<String>>)resourceMethod.getMetaData().get("String_Node_Str")).values()) {
        for (        String subcontext : subcontextList) {
          String servletPattern;
          if ("String_Node_Str".equals(subcontext)) {
            servletPattern=resourceMethodPattern;
          }
 else {
            servletPattern=subcontext + resourceMethodPattern;
          }
          if (urlMappings.add(servletPattern)) {
            debug("String_Node_Str",resourceMethod.getSimpleName(),resourceMethod.getParent().getQualifiedName(),servletPattern);
          }
        }
      }
    }
  }
  servletComponent.setUrlMappings(urlMappings);
  webappFragment.setServlets(Arrays.asList(servletComponent));
  getEnunciate().addWebAppFragment(webappFragment);
}

Fixed version (ground truth):
@Override protected void doBuild() throws EnunciateException, IOException {
  super.doBuild();
  File webappDir=getBuildDir();
  webappDir.mkdirs();
  File webinf=new File(webappDir,"String_Node_Str");
  File webinfClasses=new File(webinf,"String_Node_Str");
  getEnunciate().copyFile(new File(getGenerateDir(),"String_Node_Str"),new File(webinfClasses,"String_Node_Str"));
  getEnunciate().copyFile(new File(getGenerateDir(),"String_Node_Str"),new File(webinfClasses,"String_Node_Str"));
  getEnunciate().copyFile(new File(getGenerateDir(),"String_Node_Str"),new File(webinfClasses,"String_Node_Str"));
  getEnunciate().copyFile(new File(getGenerateDir(),"String_Node_Str"),new File(webinfClasses,"String_Node_Str"));
  getEnunciate().copyFile(new File(getGenerateDir(),"String_Node_Str"),new File(webinfClasses,"String_Node_Str"));
  BaseWebAppFragment webappFragment=new BaseWebAppFragment(getName());
  webappFragment.setBaseDir(webappDir);
  WebAppComponent servletComponent=new WebAppComponent();
  servletComponent.setName("String_Node_Str");
  servletComponent.setClassname(EnunciateSpringServlet.class.getName());
  TreeMap<String,String> initParams=new TreeMap<String,String>();
  initParams.putAll(getServletInitParams());
  if (!isUsePathBasedConneg()) {
    initParams.put(JerseyAdaptedHttpServletRequest.FEATURE_PATH_BASED_CONNEG,Boolean.FALSE.toString());
  }
  if (isUseSubcontext()) {
    initParams.put(JerseyAdaptedHttpServletRequest.PROPERTY_SERVLET_PATH,getRestSubcontext());
  }
  servletComponent.setInitParams(initParams);
  TreeSet<String> urlMappings=new TreeSet<String>();
  for (  RootResource rootResource : getModel().getRootResources()) {
    for (    ResourceMethod resourceMethod : rootResource.getResourceMethods(true)) {
      String resourceMethodPattern=resourceMethod.getServletPattern();
      for (      Set<String> subcontextList : ((Map<String,Set<String>>)resourceMethod.getMetaData().get("String_Node_Str")).values()) {
        for (        String subcontext : subcontextList) {
          String servletPattern;
          if ("String_Node_Str".equals(subcontext)) {
            servletPattern=resourceMethodPattern;
          }
 else {
            servletPattern=subcontext + resourceMethodPattern;
          }
          if (urlMappings.add(servletPattern)) {
            debug("String_Node_Str",resourceMethod.getSimpleName(),resourceMethod.getParent().getQualifiedName(),servletPattern);
          }
        }
      }
    }
  }
  servletComponent.setUrlMappings(urlMappings);
  webappFragment.setServlets(Arrays.asList(servletComponent));
  getEnunciate().addWebAppFragment(webappFragment);
}