Program: 33443
Project: 33443
Buggy source:
@Nullable protected ModelAndView doHandle(HttpServletRequest request,HttpServletResponse response) throws Exception {
  HashMap<String,Object> params=new HashMap<String,Object>();
  params.put("String_Node_Str",this.myPluginDescriptor.getPluginResourcesPath());
  params.put("String_Node_Str",Boolean.toString(this.myServer.getServerMajorVersion() < 7));
  params.put("String_Node_Str",myServer.getServerRootPath());
  params.put("String_Node_Str",myPluginDescriptor.getPluginVersion());
  if (myMainSettings.getInfoUrl() != null && myMainSettings.getInfoUrl().length() > 0) {
    params.put("String_Node_Str","String_Node_Str" + myMainSettings.getInfoUrl() + "String_Node_Str"+ myMainSettings.getInfoText()+ "String_Node_Str");
    if (myMainSettings.getWebhookShowFurtherReading()) {
      params.put("String_Node_Str","String_Node_Str");
    }
 else {
      params.put("String_Node_Str","String_Node_Str");
    }
  }
 else   if (myMainSettings.getWebhookShowFurtherReading()) {
    params.put("String_Node_Str","String_Node_Str");
  }
 else {
    params.put("String_Node_Str","String_Node_Str");
  }
  if (request.getParameter("String_Node_Str") != null) {
    SProject project=TeamCityIdResolver.findProjectById(this.myServer.getProjectManager(),request.getParameter("String_Node_Str"));
    if (project != null) {
      WebHookProjectSettings projSettings=(WebHookProjectSettings)mySettings.getSettings(project.getProjectId(),"String_Node_Str");
      SUser myUser=SessionUser.getUser(request);
      params.put("String_Node_Str",myUser.isPermissionGrantedForProject(project.getProjectId(),Permission.EDIT_PROJECT));
      String message=projSettings.getWebHooksAsString();
      params.put("String_Node_Str","String_Node_Str");
      params.put("String_Node_Str",message);
      params.put("String_Node_Str",project.getProjectId());
      params.put("String_Node_Str",project.getBuildTypes());
      params.put("String_Node_Str",TeamCityIdResolver.getExternalProjectId(project));
      params.put("String_Node_Str",getProjectName(TeamCityIdResolver.getExternalProjectId(project),project.getName()));
      Loggers.SERVER.debug(myMainSettings.getInfoText() + myMainSettings.getInfoUrl() + myMainSettings.getProxyListasString());
      params.put("String_Node_Str",projSettings.getWebHooksCount());
      params.put("String_Node_Str",RegisteredWebHookTemplateBean.build(myTemplateResolver.findWebHookTemplatesForProject(project),myManager.getRegisteredFormats()).getTemplateList());
      if (projSettings.getWebHooksCount() == 0) {
        params.put("String_Node_Str","String_Node_Str");
        params.put("String_Node_Str","String_Node_Str");
        params.put("String_Node_Str",ProjectWebHooksBeanGsonSerialiser.serialise(TemplatesAndProjectWebHooksBean.build(RegisteredWebHookTemplateBean.build(myTemplateResolver.findWebHookTemplatesForProject(project),myManager.getRegisteredFormats()),ProjectWebHooksBean.build(projSettings,project,myManager.getRegisteredFormatsAsCollection(),myTemplateResolver.findWebHookTemplatesForProject(project)),ProjectHistoryResolver.getProjectHistory(project),RegisteredWebhookAuthenticationTypesBean.build(myAuthenticatorProvider))));
      }
 else {
        params.put("String_Node_Str","String_Node_Str");
        params.put("String_Node_Str","String_Node_Str");
        params.put("String_Node_Str",ProjectWebHooksBean.buildWithoutNew(projSettings,project,myManager.getRegisteredFormatsAsCollection(),myTemplateResolver.findWebHookTemplatesForProject(project)));
        params.put("String_Node_Str",!projSettings.isEnabled());
        params.put("String_Node_Str",projSettings.isEnabledAsChecked());
        params.put("String_Node_Str",ProjectWebHooksBeanGsonSerialiser.serialise(TemplatesAndProjectWebHooksBean.build(RegisteredWebHookTemplateBean.build(myTemplateResolver.findWebHookTemplatesForProject(project),myManager.getRegisteredFormats()),ProjectWebHooksBean.build(projSettings,project,myManager.getRegisteredFormatsAsCollection(),myTemplateResolver.findWebHookTemplatesForProject(project)),ProjectHistoryResolver.getProjectHistory(project),RegisteredWebhookAuthenticationTypesBean.build(myAuthenticatorProvider))));
      }
    }
 else {
      params.put("String_Node_Str","String_Node_Str");
      params.put("String_Node_Str","String_Node_Str");
    }
  }
 else   if (request.getParameter("String_Node_Str") != null) {
    SBuildType sBuildType=TeamCityIdResolver.findBuildTypeById(this.myServer.getProjectManager(),request.getParameter("String_Node_Str"));
    if (sBuildType != null) {
      SProject project=sBuildType.getProject();
      if (project != null) {
        WebHookProjectSettings projSettings=(WebHookProjectSettings)mySettings.getSettings(project.getProjectId(),"String_Node_Str");
        SUser myUser=SessionUser.getUser(request);
        params.put("String_Node_Str",myUser.isPermissionGrantedForProject(project.getProjectId(),Permission.EDIT_PROJECT));
        List<WebHookConfig> configs=projSettings.getBuildWebHooksAsList(sBuildType);
        params.put("String_Node_Str",RegisteredWebHookTemplateBean.build(myTemplateResolver.findWebHookTemplatesForProject(project),myManager.getRegisteredFormats()).getTemplateList());
        params.put("String_Node_Str",configs);
        params.put("String_Node_Str",!projSettings.isEnabled());
        params.put("String_Node_Str",project.getProjectId());
        params.put("String_Node_Str","String_Node_Str");
        params.put("String_Node_Str",getProjectName(TeamCityIdResolver.getExternalProjectId(project),project.getName()));
        params.put("String_Node_Str",TeamCityIdResolver.getExternalProjectId(project));
        params.put("String_Node_Str","String_Node_Str");
        params.put("String_Node_Str",sBuildType.getName());
        params.put("String_Node_Str",TeamCityIdResolver.getExternalBuildId(sBuildType));
        params.put("String_Node_Str",project.getBuildTypes());
        params.put("String_Node_Str",configs.size() == 0);
        params.put("String_Node_Str",configs.size() != 0);
        params.put("String_Node_Str",ProjectWebHooksBeanGsonSerialiser.serialise(TemplatesAndProjectWebHooksBean.build(RegisteredWebHookTemplateBean.build(myTemplateResolver.findWebHookTemplatesForProject(project),myManager.getRegisteredFormats()),ProjectWebHooksBean.build(projSettings,sBuildType,project,myManager.getRegisteredFormatsAsCollection(),myTemplateResolver.findWebHookTemplatesForProject(project)),ProjectHistoryResolver.getBuildHistory(sBuildType),RegisteredWebhookAuthenticationTypesBean.build(myAuthenticatorProvider))));
      }
    }
 else {
      params.put("String_Node_Str","String_Node_Str");
      params.put("String_Node_Str","String_Node_Str");
    }
  }
 else {
    params.put("String_Node_Str","String_Node_Str");
    params.put("String_Node_Str","String_Node_Str");
  }
  return new ModelAndView(myPluginDescriptor.getPluginResourcesPath() + "String_Node_Str",params);
}

Fixed version (ground truth):
@Nullable protected ModelAndView doHandle(HttpServletRequest request,HttpServletResponse response) throws Exception {
  HashMap<String,Object> params=new HashMap<String,Object>();
  params.put("String_Node_Str",this.myPluginDescriptor.getPluginResourcesPath());
  params.put("String_Node_Str",Boolean.toString(this.myServer.getServerMajorVersion() < 7));
  params.put("String_Node_Str",myServer.getServerRootPath());
  params.put("String_Node_Str",myPluginDescriptor.getPluginVersion());
  if (myMainSettings.getInfoUrl() != null && myMainSettings.getInfoUrl().length() > 0) {
    params.put("String_Node_Str","String_Node_Str" + myMainSettings.getInfoUrl() + "String_Node_Str"+ myMainSettings.getInfoText()+ "String_Node_Str");
    if (myMainSettings.getWebhookShowFurtherReading()) {
      params.put("String_Node_Str","String_Node_Str");
    }
 else {
      params.put("String_Node_Str","String_Node_Str");
    }
  }
 else   if (myMainSettings.getWebhookShowFurtherReading()) {
    params.put("String_Node_Str","String_Node_Str");
  }
 else {
    params.put("String_Node_Str","String_Node_Str");
  }
  if (request.getParameter("String_Node_Str") != null) {
    SProject project=TeamCityIdResolver.findProjectById(this.myServer.getProjectManager(),request.getParameter("String_Node_Str"));
    if (project != null) {
      WebHookProjectSettings projSettings=(WebHookProjectSettings)mySettings.getSettings(project.getProjectId(),"String_Node_Str");
      SUser myUser=SessionUser.getUser(request);
      params.put("String_Node_Str",myUser.isPermissionGrantedForProject(project.getProjectId(),Permission.EDIT_PROJECT));
      String message=projSettings.getWebHooksAsString();
      params.put("String_Node_Str","String_Node_Str");
      params.put("String_Node_Str",message);
      params.put("String_Node_Str",project.getProjectId());
      params.put("String_Node_Str",project.getBuildTypes());
      params.put("String_Node_Str",TeamCityIdResolver.getExternalProjectId(project));
      params.put("String_Node_Str",getProjectName(TeamCityIdResolver.getExternalProjectId(project),project.getName()));
      Loggers.SERVER.debug(myMainSettings.getInfoText() + myMainSettings.getInfoUrl() + myMainSettings.getProxyListasString());
      params.put("String_Node_Str",projSettings.getWebHooksCount());
      params.put("String_Node_Str",RegisteredWebHookTemplateBean.build(myTemplateResolver.findWebHookTemplatesForProject(project),myManager.getRegisteredFormats()).getTemplateList());
      if (projSettings.getWebHooksCount() == 0) {
        params.put("String_Node_Str","String_Node_Str");
        params.put("String_Node_Str","String_Node_Str");
        params.put("String_Node_Str",ProjectWebHooksBeanGsonSerialiser.serialise(TemplatesAndProjectWebHooksBean.build(RegisteredWebHookTemplateBean.build(myTemplateResolver.findWebHookTemplatesForProject(project),myManager.getRegisteredFormats()),ProjectWebHooksBean.build(projSettings,project,myManager.getRegisteredFormatsAsCollection(),myTemplateResolver.findWebHookTemplatesForProject(project)),ProjectHistoryResolver.getProjectHistory(project),RegisteredWebhookAuthenticationTypesBean.build(myAuthenticatorProvider))));
      }
 else {
        params.put("String_Node_Str","String_Node_Str");
        params.put("String_Node_Str","String_Node_Str");
        params.put("String_Node_Str",ProjectWebHooksBean.buildWithoutNew(projSettings,project,myManager.getRegisteredFormatsAsCollection(),myTemplateResolver.findWebHookTemplatesForProject(project)));
        params.put("String_Node_Str",!projSettings.isEnabled());
        params.put("String_Node_Str",projSettings.isEnabledAsChecked());
        params.put("String_Node_Str",ProjectWebHooksBeanGsonSerialiser.serialise(TemplatesAndProjectWebHooksBean.build(RegisteredWebHookTemplateBean.build(myTemplateResolver.findWebHookTemplatesForProject(project),myManager.getRegisteredFormats()),ProjectWebHooksBean.build(projSettings,project,myManager.getRegisteredFormatsAsCollection(),myTemplateResolver.findWebHookTemplatesForProject(project)),ProjectHistoryResolver.getProjectHistory(project),RegisteredWebhookAuthenticationTypesBean.build(myAuthenticatorProvider))));
      }
    }
 else {
      params.put("String_Node_Str","String_Node_Str");
      params.put("String_Node_Str","String_Node_Str");
    }
  }
 else   if (request.getParameter("String_Node_Str") != null) {
    SBuildType sBuildType=TeamCityIdResolver.findBuildTypeById(this.myServer.getProjectManager(),request.getParameter("String_Node_Str"));
    if (sBuildType != null) {
      SProject project=sBuildType.getProject();
      if (project != null) {
        WebHookProjectSettings projSettings=(WebHookProjectSettings)mySettings.getSettings(project.getProjectId(),"String_Node_Str");
        SUser myUser=SessionUser.getUser(request);
        params.put("String_Node_Str",myUser.isPermissionGrantedForProject(project.getProjectId(),Permission.EDIT_PROJECT));
        ProjectWebHooksBean bean=ProjectWebHooksBean.buildWithoutNew(projSettings,sBuildType,project,myManager.getRegisteredFormatsAsCollection(),myTemplateResolver.findWebHookTemplatesForProject(project));
        params.put("String_Node_Str",bean);
        params.put("String_Node_Str",RegisteredWebHookTemplateBean.build(myTemplateResolver.findWebHookTemplatesForProject(project),myManager.getRegisteredFormats()).getTemplateList());
        params.put("String_Node_Str",!projSettings.isEnabled());
        params.put("String_Node_Str",project.getProjectId());
        params.put("String_Node_Str","String_Node_Str");
        params.put("String_Node_Str",getProjectName(TeamCityIdResolver.getExternalProjectId(project),project.getName()));
        params.put("String_Node_Str",TeamCityIdResolver.getExternalProjectId(project));
        params.put("String_Node_Str","String_Node_Str");
        params.put("String_Node_Str",sBuildType.getName());
        params.put("String_Node_Str",TeamCityIdResolver.getExternalBuildId(sBuildType));
        params.put("String_Node_Str",project.getBuildTypes());
        params.put("String_Node_Str",bean.getWebHookList().size() == 0);
        params.put("String_Node_Str",bean.getWebHookList().size() != 0);
        params.put("String_Node_Str",ProjectWebHooksBeanGsonSerialiser.serialise(TemplatesAndProjectWebHooksBean.build(RegisteredWebHookTemplateBean.build(myTemplateResolver.findWebHookTemplatesForProject(project),myManager.getRegisteredFormats()),ProjectWebHooksBean.build(projSettings,sBuildType,project,myManager.getRegisteredFormatsAsCollection(),myTemplateResolver.findWebHookTemplatesForProject(project)),ProjectHistoryResolver.getBuildHistory(sBuildType),RegisteredWebhookAuthenticationTypesBean.build(myAuthenticatorProvider))));
      }
    }
 else {
      params.put("String_Node_Str","String_Node_Str");
      params.put("String_Node_Str","String_Node_Str");
    }
  }
 else {
    params.put("String_Node_Str","String_Node_Str");
    params.put("String_Node_Str","String_Node_Str");
  }
  return new ModelAndView(myPluginDescriptor.getPluginResourcesPath() + "String_Node_Str",params);
}