Program: 149010
Project: 149010
Buggy source:
public void run(){
  if (this.server != null) {
    ISelection selection=server.getViewer().getSelection();
    xobject=(TreeObject)((IStructuredSelection)selection).getFirstElement();
  }
  if (xobject.getType() != TreeObject.JOB)   return;
  try {
    WSTransformerV2 transformer=new WSTransformerV2();
    try {
      WSTransformerProcessStep[] steps=new WSTransformerProcessStep[3];
      WSTransformerVariablesMapping[] input=new WSTransformerVariablesMapping[1];
      input[0]=new WSTransformerVariablesMapping("String_Node_Str","String_Node_Str",null);
      WSTransformerVariablesMapping[] output=new WSTransformerVariablesMapping[1];
      output[0]=new WSTransformerVariablesMapping("String_Node_Str","String_Node_Str",null);
      steps[0]=new WSTransformerProcessStep("String_Node_Str","String_Node_Str","String_Node_Str" + "String_Node_Str" + "String_Node_Str",input,output,false);
      input=new WSTransformerVariablesMapping[1];
      input[0]=new WSTransformerVariablesMapping("String_Node_Str","String_Node_Str",null);
      output=new WSTransformerVariablesMapping[1];
      output[0]=new WSTransformerVariablesMapping("String_Node_Str","String_Node_Str",null);
      String parameter="String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str";
      steps[1]=new WSTransformerProcessStep("String_Node_Str","String_Node_Str",parameter,input,output,false);
      input=new WSTransformerVariablesMapping[1];
      input[0]=new WSTransformerVariablesMapping("String_Node_Str","String_Node_Str",null);
      output=new WSTransformerVariablesMapping[1];
      output[0]=new WSTransformerVariablesMapping("String_Node_Str","String_Node_Str",null);
      String server="String_Node_Str" + xobject.getEndpointHost() + "String_Node_Str"+ xobject.getEndpointPort();
      JobInfo info=(JobInfo)xobject.getWsKey();
      String jobname=info.getJobname();
      ;
      String jobversion=info.getJobversion();
      parameter="String_Node_Str" + "String_Node_Str" + server + "String_Node_Str"+ jobname+ "String_Node_Str"+ jobversion+ "String_Node_Str"+ jobname+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str";
      steps[2]=new WSTransformerProcessStep("String_Node_Str","String_Node_Str",parameter,input,output,false);
      transformer.setName("String_Node_Str" + jobname + "String_Node_Str");
      transformer.setDescription("String_Node_Str" + jobname + "String_Node_Str");
      transformer.setProcessSteps(steps);
      Util.getPort(xobject).putTransformerV2(new WSPutTransformerV2(transformer));
    }
 catch (    Exception e) {
      e.printStackTrace();
    }
  }
 catch (  Exception e) {
  }
}

Fixed version (ground truth):
public void run(){
  if (this.server != null) {
    ISelection selection=server.getViewer().getSelection();
    xobject=(TreeObject)((IStructuredSelection)selection).getFirstElement();
  }
  if (xobject.getType() != TreeObject.JOB)   return;
  try {
    WSTransformerV2 transformer=new WSTransformerV2();
    try {
      WSTransformerProcessStep[] steps=new WSTransformerProcessStep[3];
      WSTransformerVariablesMapping[] input=new WSTransformerVariablesMapping[1];
      input[0]=new WSTransformerVariablesMapping("String_Node_Str","String_Node_Str",null);
      WSTransformerVariablesMapping[] output=new WSTransformerVariablesMapping[1];
      output[0]=new WSTransformerVariablesMapping("String_Node_Str","String_Node_Str",null);
      steps[0]=new WSTransformerProcessStep("String_Node_Str","String_Node_Str","String_Node_Str" + "String_Node_Str" + "String_Node_Str",input,output,false);
      input=new WSTransformerVariablesMapping[1];
      input[0]=new WSTransformerVariablesMapping("String_Node_Str","String_Node_Str",null);
      output=new WSTransformerVariablesMapping[1];
      output[0]=new WSTransformerVariablesMapping("String_Node_Str","String_Node_Str",null);
      String parameter="String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str";
      steps[1]=new WSTransformerProcessStep("String_Node_Str","String_Node_Str",parameter,input,output,false);
      input=new WSTransformerVariablesMapping[1];
      input[0]=new WSTransformerVariablesMapping("String_Node_Str","String_Node_Str",null);
      output=new WSTransformerVariablesMapping[1];
      output[0]=new WSTransformerVariablesMapping("String_Node_Str","String_Node_Str",null);
      String server="String_Node_Str" + xobject.getEndpointHost() + "String_Node_Str"+ xobject.getEndpointPort();
      JobInfo info=new JobInfo("String_Node_Str","String_Node_Str");
      if (xobject.getWsKey() instanceof WSViewPK) {
        String jobName=((WSViewPK)xobject.getWsKey()).getPk();
        if (jobName.matches("String_Node_Str")) {
          Pattern p=Pattern.compile("String_Node_Str");
          Matcher m=p.matcher(jobName);
          if (m.matches()) {
            info.setJobversion(m.group(m.groupCount()));
            info.setJobname(m.group(m.groupCount() - 1));
          }
        }
      }
 else       info=(JobInfo)xobject.getWsKey();
      String jobname=info.getJobname();
      String jobversion=info.getJobversion();
      parameter="String_Node_Str" + "String_Node_Str" + server + "String_Node_Str"+ jobname+ "String_Node_Str"+ jobversion+ "String_Node_Str"+ jobname+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str";
      steps[2]=new WSTransformerProcessStep("String_Node_Str","String_Node_Str",parameter,input,output,false);
      transformer.setName("String_Node_Str" + jobname + "String_Node_Str");
      transformer.setDescription("String_Node_Str" + jobname + "String_Node_Str");
      transformer.setProcessSteps(steps);
      Util.getPort(xobject).putTransformerV2(new WSPutTransformerV2(transformer));
    }
 catch (    Exception e) {
      e.printStackTrace();
    }
  }
 catch (  Exception e) {
  }
 finally {
    server.forceAllSiteToRefresh();
  }
}