Program: 62611
Project: 62611
Buggy source:
/** 
 * {@inheritDoc}
 * @see javax.servlet.http.HttpServlet#doGet(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
 */
@Override protected void doGet(HttpServletRequest req,HttpServletResponse resp) throws ServletException, IOException {
  File requestedFile=getRequestedFile(req);
  String path=req.getPathInfo() != null ? req.getPathInfo() : "String_Node_Str";
  Matcher matcher=sitemapPattern.matcher(path);
  if (matcher.find()) {
    resp.setHeader("String_Node_Str","String_Node_Str" + Config.COMETVISU_BACKEND_ALIAS + "String_Node_Str"+ Config.COMETVISU_BACKEND_LOGIN_ALIAS);
    resp.setHeader("String_Node_Str","String_Node_Str");
    if (!requestedFile.exists()) {
      Sitemap sitemap=getSitemap(matcher.group(2));
      if (sitemap != null) {
        logger.debug("String_Node_Str",sitemap);
        VisuConfig config=new VisuConfig(sitemap,cometVisuApp,rootFolder);
        resp.setContentType(MediaType.APPLICATION_XML);
        resp.getWriter().write(config.getConfigXml(req));
        resp.flushBuffer();
        return;
      }
 else {
        throw new ServletException("String_Node_Str" + matcher.group(1) + "String_Node_Str");
      }
    }
  }
  if (path.matches("String_Node_Str") || path.matches("String_Node_Str")) {
    dataProviderService(requestedFile,req,resp);
  }
 else   if (path.equalsIgnoreCase(rrsLogPath)) {
    processRssLogRequest(requestedFile,req,resp);
  }
 else   if (requestedFile.getName().endsWith("String_Node_Str")) {
    processPhpRequest(requestedFile,req,resp);
  }
 else {
    processStaticRequest(requestedFile,req,resp,true);
  }
}

Fixed version (ground truth):
/** 
 * {@inheritDoc}
 * @see javax.servlet.http.HttpServlet#doGet(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
 */
@Override protected void doGet(HttpServletRequest req,HttpServletResponse resp) throws ServletException, IOException {
  File requestedFile=getRequestedFile(req);
  String path=req.getPathInfo() != null ? req.getPathInfo() : "String_Node_Str";
  Matcher matcher=sitemapPattern.matcher(path);
  if (matcher.find()) {
    resp.setHeader("String_Node_Str","String_Node_Str" + Config.COMETVISU_BACKEND_ALIAS + "String_Node_Str"+ Config.COMETVISU_BACKEND_LOGIN_ALIAS);
    resp.setHeader("String_Node_Str","String_Node_Str");
    if (!requestedFile.exists()) {
      Sitemap sitemap=getSitemap(matcher.group(2));
      if (sitemap != null) {
        logger.debug("String_Node_Str",sitemap);
        VisuConfig config=new VisuConfig(sitemap,cometVisuApp,rootFolder);
        resp.setContentType(MediaType.APPLICATION_XML);
        resp.getWriter().write(config.getConfigXml(req));
        resp.flushBuffer();
        return;
      }
 else {
        logger.debug("String_Node_Str",requestedFile,matcher.group(2));
        resp.sendError(HttpServletResponse.SC_NOT_FOUND);
        return;
      }
    }
  }
  if (path.matches("String_Node_Str") || path.matches("String_Node_Str")) {
    dataProviderService(requestedFile,req,resp);
  }
 else   if (path.equalsIgnoreCase(rrsLogPath)) {
    processRssLogRequest(requestedFile,req,resp);
  }
 else   if (requestedFile.getName().endsWith("String_Node_Str")) {
    processPhpRequest(requestedFile,req,resp);
  }
 else {
    processStaticRequest(requestedFile,req,resp,true);
  }
}