Program: 130234
Project: 130234
Buggy source:
@SuppressWarnings("String_Node_Str") @Override protected void service(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException {
  super.service(request,response);
  Config config=null;
  HttpReportsBean reports=new HttpReportsBean();
  HttpSession session=request.getSession();
  LOG.info("String_Node_Str");
  HadoopJobCounters.getJobCounterBeans().clear();
  try {
    HttpExecutorService service=new HttpExecutorService();
    if (ServletFileUpload.isMultipartContent(request)) {
      config=saveUsersResources(request);
      YamlConfig yamlConfig=(YamlConfig)config;
      saveJsonToJumbuneHome(yamlConfig);
      String agentHome=RemotingUtil.getAgentHome(yamlConfig);
      WebUtil util=new WebUtil();
      ClasspathElement cse=ConfigurationUtil.loadJumbuneSuppliedJarList();
      processClassPathElement(cse,agentHome);
      yamlConfig.getClasspath().setJumbuneSupplied(cse);
      String jarFilePath=YamlLoader.getjHome() + "String_Node_Str" + Constants.JOB_JARS_LOC+ yamlConfig.getFormattedJumbuneJobName()+ Constants.MR_RESOURCES;
      checkAndSendMrJobJarOnAgent(yamlConfig,jarFilePath);
      LOG.debug("String_Node_Str" + yamlConfig + "String_Node_Str");
      modifyDebugParameters(yamlConfig);
      modifyProfilingParameters(yamlConfig);
      setInputFileInConfig(yamlConfig);
      session.setAttribute(REPORTS_BEAN,reports);
      request.setAttribute(STATS_INTERVAL,Constants.TEN_THOUSAND);
      String tabs=util.getTabsInformation(yamlConfig);
      request.setAttribute(JOB_NAME,yamlConfig.getJumbuneJobName());
      Loader loader=service.runInSeperateThread(yamlConfig,reports);
      session.setAttribute("String_Node_Str",service);
      setClusterProfilingAttributes(request,yamlConfig,loader);
      session.setAttribute(LOADER,loader);
      request.setAttribute(JOB_JSON,this.jsonString);
      request.setAttribute(TABS,tabs);
      final RequestDispatcher rd=getServletContext().getRequestDispatcher(WebConstants.RESULT_URL);
      rd.forward(request,response);
    }
 else {
      LOG.info("String_Node_Str");
    }
  }
 catch (  JumbuneException htfException) {
    throw new ServletException(htfException);
  }
catch (  Exception e) {
    LOG.error("String_Node_Str",e);
    throw new ServletException(e);
  }
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") @Override protected void service(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException {
  super.service(request,response);
  Config config=null;
  HttpReportsBean reports=new HttpReportsBean();
  HttpSession session=request.getSession();
  LOG.info("String_Node_Str");
  try {
    HttpExecutorService service=new HttpExecutorService();
    if (ServletFileUpload.isMultipartContent(request)) {
      config=saveUsersResources(request);
      YamlConfig yamlConfig=(YamlConfig)config;
      saveJsonToJumbuneHome(yamlConfig);
      String agentHome=RemotingUtil.getAgentHome(yamlConfig);
      WebUtil util=new WebUtil();
      ClasspathElement cse=ConfigurationUtil.loadJumbuneSuppliedJarList();
      processClassPathElement(cse,agentHome);
      yamlConfig.getClasspath().setJumbuneSupplied(cse);
      String jarFilePath=YamlLoader.getjHome() + "String_Node_Str" + Constants.JOB_JARS_LOC+ yamlConfig.getFormattedJumbuneJobName()+ Constants.MR_RESOURCES;
      checkAndSendMrJobJarOnAgent(yamlConfig,jarFilePath);
      LOG.debug("String_Node_Str" + yamlConfig + "String_Node_Str");
      modifyDebugParameters(yamlConfig);
      modifyProfilingParameters(yamlConfig);
      setInputFileInConfig(yamlConfig);
      session.setAttribute(REPORTS_BEAN,reports);
      request.setAttribute(STATS_INTERVAL,Constants.TEN_THOUSAND);
      String tabs=util.getTabsInformation(yamlConfig);
      request.setAttribute(JOB_NAME,yamlConfig.getJumbuneJobName());
      Loader loader=service.runInSeperateThread(yamlConfig,reports);
      session.setAttribute("String_Node_Str",service);
      setClusterProfilingAttributes(request,yamlConfig,loader);
      session.setAttribute(LOADER,loader);
      request.setAttribute(JOB_JSON,this.jsonString);
      request.setAttribute(TABS,tabs);
      final RequestDispatcher rd=getServletContext().getRequestDispatcher(WebConstants.RESULT_URL);
      rd.forward(request,response);
    }
 else {
      LOG.info("String_Node_Str");
    }
  }
 catch (  JumbuneException htfException) {
    throw new ServletException(htfException);
  }
catch (  Exception e) {
    LOG.error("String_Node_Str",e);
    throw new ServletException(e);
  }
}