Program: 11393
Project: 11393
Buggy source:
/** 
 * {@inheritDoc}
 */
@Override public void doConfigSubmit(StaplerRequest req,StaplerResponse rsp) throws ServletException, Descriptor.FormException, IOException {
  checkPermission(CONFIGURE);
  description=req.getParameter("String_Node_Str");
  boolean keepDependencies=req.getParameter("String_Node_Str") != null;
  try {
    Field f=Job.class.getDeclaredField("String_Node_Str");
    f.setAccessible(true);
    f.set(templateProject,keepDependencies);
  }
 catch (  Throwable e) {
    LOGGER.log(Level.WARNING,"String_Node_Str",e);
  }
  try {
    JSONObject json=req.getSubmittedForm();
    setDisplayName(json.optString("String_Node_Str"));
    if (json.optBoolean("String_Node_Str")) {
      templateProject.setBuildDiscarder(req.bindJSON(BuildDiscarder.class,json.optJSONObject("String_Node_Str")));
    }
 else {
      templateProject.setBuildDiscarder(null);
    }
    DescribableList<JobProperty<?>,JobPropertyDescriptor> t=new DescribableList<JobProperty<?>,JobPropertyDescriptor>(NOOP,getAllProperties());
    t.rebuild(req,json.optJSONObject("String_Node_Str"),JobPropertyDescriptor.getPropertyDescriptors(this.getClass()));
    templateProject.getPropertiesList().clear();
    for (    JobProperty p : t) {
      try {
        Field f=JobProperty.class.getDeclaredField("String_Node_Str");
        f.setAccessible(true);
        f.set(p,templateProject);
      }
 catch (      Throwable e) {
        LOGGER.log(Level.WARNING,"String_Node_Str",e);
      }
      templateProject.addProperty(p);
    }
    submit(req,rsp);
    templateProject.save();
    save();
    ItemListener.fireOnUpdated(templateProject);
    ItemListener.fireOnUpdated(this);
    String newName=req.getParameter("String_Node_Str");
    final ProjectNamingStrategy namingStrategy=Jenkins.getInstance().getProjectNamingStrategy();
    if (newName != null && !newName.equals(name)) {
      Jenkins.checkGoodName(newName);
      namingStrategy.checkName(newName);
      rsp.sendRedirect("String_Node_Str" + URLEncoder.encode(newName,"String_Node_Str"));
    }
 else {
      if (namingStrategy.isForceExistingJobs()) {
        namingStrategy.checkName(name);
      }
      FormApply.success("String_Node_Str").generateResponse(req,rsp,null);
    }
  }
 catch (  JSONException e) {
    StringWriter sw=new StringWriter();
    PrintWriter pw=new PrintWriter(sw);
    pw.println("String_Node_Str");
    pw.println("String_Node_Str" + req.getSubmittedForm());
    pw.println();
    e.printStackTrace(pw);
    rsp.setStatus(SC_BAD_REQUEST);
    sendError(sw.toString(),req,rsp,true);
  }
  updateTransientActions();
  Set<AbstractProject> upstream=Collections.emptySet();
  if (req.getParameter("String_Node_Str") != null) {
    upstream=new HashSet<AbstractProject>(Items.fromNameList(getParent(),req.getParameter("String_Node_Str"),AbstractProject.class));
  }
  try {
    Method m=AbstractProject.class.getDeclaredMethod("String_Node_Str",Set.class);
    m.setAccessible(true);
    m.invoke(templateProject,upstream);
  }
 catch (  Throwable e) {
    LOGGER.log(Level.WARNING,"String_Node_Str",e);
  }
  Jenkins.getInstance().getQueue().scheduleMaintenance();
  Jenkins.getInstance().rebuildDependencyGraphAsync();
  getSyncBranchesTrigger().run();
}

Fixed version (ground truth):
/** 
 * {@inheritDoc}
 */
@Override public void doConfigSubmit(StaplerRequest req,StaplerResponse rsp) throws ServletException, Descriptor.FormException, IOException {
  checkPermission(CONFIGURE);
  description=req.getParameter("String_Node_Str");
  boolean keepDependencies=req.getParameter("String_Node_Str") != null;
  try {
    Field f=Job.class.getDeclaredField("String_Node_Str");
    f.setAccessible(true);
    f.set(templateProject,keepDependencies);
  }
 catch (  Throwable e) {
    LOGGER.log(Level.WARNING,"String_Node_Str",e);
  }
  try {
    JSONObject json=req.getSubmittedForm();
    setDisplayName(json.optString("String_Node_Str"));
    if (json.optBoolean("String_Node_Str")) {
      templateProject.setBuildDiscarder(req.bindJSON(BuildDiscarder.class,json.optJSONObject("String_Node_Str")));
    }
 else {
      templateProject.setBuildDiscarder(null);
    }
    DescribableList<JobProperty<?>,JobPropertyDescriptor> t=new DescribableList<JobProperty<?>,JobPropertyDescriptor>(NOOP,getAllProperties());
    t.rebuild(req,json.optJSONObject("String_Node_Str"),JobPropertyDescriptor.getPropertyDescriptors(this.getClass()));
    properties.clear();
    for (    JobProperty p : t) {
      try {
        Field f=JobProperty.class.getDeclaredField("String_Node_Str");
        f.setAccessible(true);
        f.set(p,this);
      }
 catch (      Throwable e) {
        LOGGER.log(Level.WARNING,"String_Node_Str",e);
      }
      properties.add(p);
    }
    DescribableList<JobProperty<?>,JobPropertyDescriptor> t2=new DescribableList<JobProperty<?>,JobPropertyDescriptor>(NOOP,templateProject.getAllProperties());
    t2.rebuild(req,json.optJSONObject("String_Node_Str"),JobPropertyDescriptor.getPropertyDescriptors(this.getClass()));
    templateProject.getPropertiesList().clear();
    for (    JobProperty p : t2) {
      try {
        Field f=JobProperty.class.getDeclaredField("String_Node_Str");
        f.setAccessible(true);
        f.set(p,templateProject);
      }
 catch (      Throwable e) {
        LOGGER.log(Level.WARNING,"String_Node_Str",e);
      }
      templateProject.addProperty(p);
    }
    submit(req,rsp);
    templateProject.save();
    save();
    ItemListener.fireOnUpdated(templateProject);
    ItemListener.fireOnUpdated(this);
    String newName=req.getParameter("String_Node_Str");
    final ProjectNamingStrategy namingStrategy=Jenkins.getInstance().getProjectNamingStrategy();
    if (newName != null && !newName.equals(name)) {
      Jenkins.checkGoodName(newName);
      namingStrategy.checkName(newName);
      rsp.sendRedirect("String_Node_Str" + URLEncoder.encode(newName,"String_Node_Str"));
    }
 else {
      if (namingStrategy.isForceExistingJobs()) {
        namingStrategy.checkName(name);
      }
      FormApply.success("String_Node_Str").generateResponse(req,rsp,null);
    }
  }
 catch (  JSONException e) {
    StringWriter sw=new StringWriter();
    PrintWriter pw=new PrintWriter(sw);
    pw.println("String_Node_Str");
    pw.println("String_Node_Str" + req.getSubmittedForm());
    pw.println();
    e.printStackTrace(pw);
    rsp.setStatus(SC_BAD_REQUEST);
    sendError(sw.toString(),req,rsp,true);
  }
  updateTransientActions();
  Set<AbstractProject> upstream=Collections.emptySet();
  if (req.getParameter("String_Node_Str") != null) {
    upstream=new HashSet<AbstractProject>(Items.fromNameList(getParent(),req.getParameter("String_Node_Str"),AbstractProject.class));
  }
  try {
    Method m=AbstractProject.class.getDeclaredMethod("String_Node_Str",Set.class);
    m.setAccessible(true);
    m.invoke(templateProject,upstream);
  }
 catch (  Throwable e) {
    LOGGER.log(Level.WARNING,"String_Node_Str",e);
  }
  Jenkins.getInstance().getQueue().scheduleMaintenance();
  Jenkins.getInstance().rebuildDependencyGraphAsync();
  getSyncBranchesTrigger().run();
}