Program: 47727
Project: 47727
Buggy source:
@SuppressWarnings({"String_Node_Str"}) public void init() throws Throwable {
  if (jobEntry != null) {
    setName(jobEntry.getName());
    setJobEntryName(jobEntry.getName());
    setHadoopJobName(jobEntry.getHadoopJobName());
    VariableSpace varSpace=getVariableSpace();
    ExtTextbox tempBox;
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    setCombinerTransInputStepName(jobEntry.getCombinerInputStepName());
    setCombinerTransOutputStepName(jobEntry.getCombinerOutputStepName());
    setCombiningSingleThreaded(jobEntry.isCombiningSingleThreaded());
    if (jobEntry.getReduceTrans() != null || rep == null) {
      setReduceTrans(jobEntry.getReduceTrans());
      this.reducerStorageType=LOCAL;
    }
 else     if (jobEntry.getReduceRepositoryReference() != null) {
      setReduceRepositoryReference(jobEntry.getReduceRepositoryReference());
      this.reducerStorageType=REFERENCE;
      try {
        TransMeta transMeta=rep.loadTransformation(getReduceRepositoryReference(),null);
        if (transMeta != null && transMeta.getRepositoryDirectory() != null) {
          setReduceTrans(buildRepositoryPath(transMeta.getRepositoryDirectory().getPath(),transMeta.getName()));
        }
      }
 catch (      KettleException e) {
        setReduceRepositoryReference(null);
      }
    }
 else {
      setReduceRepositoryDir(jobEntry.getReduceRepositoryDir());
      setReduceRepositoryFile(jobEntry.getReduceRepositoryFile());
      setReduceTrans(buildRepositoryPath(getReduceRepositoryDir(),getReduceRepositoryFile()));
      this.reducerStorageType=REPOSITORY;
    }
    setReduceTransInputStepName(jobEntry.getReduceInputStepName());
    setReduceTransOutputStepName(jobEntry.getReduceOutputStepName());
    setReducingSingleThreaded(jobEntry.isReducingSingleThreaded());
    userDefined.clear();
    if (jobEntry.getUserDefined() != null) {
      userDefined.addAll(jobEntry.getUserDefined());
    }
    setBlocking(jobEntry.isBlocking());
    setLoggingInterval(jobEntry.getLoggingInterval());
    setInputPath(jobEntry.getInputPath());
    setInputFormatClass(jobEntry.getInputFormatClass());
    setOutputPath(jobEntry.getOutputPath());
    setCleanOutputPath(jobEntry.isCleanOutputPath());
    setSuppressOutputOfMapKey(jobEntry.getSuppressOutputOfMapKey());
    setSuppressOutputOfMapValue(jobEntry.getSuppressOutputOfMapValue());
    setSuppressOutputOfKey(jobEntry.getSuppressOutputOfKey());
    setSuppressOutputOfValue(jobEntry.getSuppressOutputOfValue());
    setOutputFormatClass(jobEntry.getOutputFormatClass());
    selectedNamedCluster=jobEntry.getNamedCluster();
    setNumMapTasks(jobEntry.getNumMapTasks());
    setNumReduceTasks(jobEntry.getNumReduceTasks());
    if (Spoon.getInstance().getRepository() != null) {
      mapperStorageType=REPOSITORY;
      combinerStorageType=REPOSITORY;
    }
  }
}

Fixed version (ground truth):
@SuppressWarnings({"String_Node_Str"}) public void init() throws Throwable {
  if (jobEntry != null) {
    setName(jobEntry.getName());
    setJobEntryName(jobEntry.getName());
    setHadoopJobName(jobEntry.getHadoopJobName());
    VariableSpace varSpace=getVariableSpace();
    ExtTextbox tempBox;
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    tempBox=(ExtTextbox)getXulDomContainer().getDocumentRoot().getElementById("String_Node_Str");
    tempBox.setVariableSpace(varSpace);
    setCombinerTransInputStepName(jobEntry.getCombinerInputStepName());
    setCombinerTransOutputStepName(jobEntry.getCombinerOutputStepName());
    setCombiningSingleThreaded(jobEntry.isCombiningSingleThreaded());
    if (jobEntry.getMapTrans() != null || rep == null) {
      setMapTrans(jobEntry.getMapTrans());
      this.mapperStorageType=LOCAL;
    }
 else     if (jobEntry.getMapRepositoryReference() != null) {
      setMapRepositoryReference(jobEntry.getMapRepositoryReference());
      this.mapperStorageType=REFERENCE;
      try {
        TransMeta transMeta=rep.loadTransformation(getMapRepositoryReference(),null);
        if (transMeta != null && transMeta.getRepositoryDirectory() != null) {
          setMapTrans(buildRepositoryPath(transMeta.getRepositoryDirectory().getPath(),transMeta.getName()));
        }
      }
 catch (      KettleException e) {
        setMapRepositoryReference(null);
      }
    }
 else {
      setMapRepositoryDir(jobEntry.getMapRepositoryDir());
      setMapRepositoryFile(jobEntry.getMapRepositoryFile());
      setMapTrans(buildRepositoryPath(getMapRepositoryDir(),getMapRepositoryFile()));
      this.mapperStorageType=REPOSITORY;
    }
    setMapTransInputStepName(jobEntry.getMapInputStepName());
    setMapTransOutputStepName(jobEntry.getMapOutputStepName());
    if (jobEntry.getCombinerTrans() != null || rep == null) {
      setCombinerTrans(jobEntry.getCombinerTrans());
      this.combinerStorageType=LOCAL;
    }
 else     if (jobEntry.getCombinerRepositoryReference() != null) {
      setCombinerRepositoryReference(jobEntry.getCombinerRepositoryReference());
      this.combinerStorageType=REFERENCE;
      try {
        TransMeta transMeta=rep.loadTransformation(getCombinerRepositoryReference(),null);
        if (transMeta != null && transMeta.getRepositoryDirectory() != null) {
          setCombinerTrans(buildRepositoryPath(transMeta.getRepositoryDirectory().getPath(),transMeta.getName()));
        }
      }
 catch (      KettleException e) {
        setCombinerRepositoryReference(null);
      }
    }
 else {
      setCombinerRepositoryDir(jobEntry.getCombinerRepositoryDir());
      setCombinerRepositoryFile(jobEntry.getCombinerRepositoryFile());
      setCombinerTrans(buildRepositoryPath(getCombinerRepositoryDir(),getCombinerRepositoryFile()));
      this.combinerStorageType=REPOSITORY;
    }
    if (jobEntry.getReduceTrans() != null || rep == null) {
      setReduceTrans(jobEntry.getReduceTrans());
      this.reducerStorageType=LOCAL;
    }
 else     if (jobEntry.getReduceRepositoryReference() != null) {
      setReduceRepositoryReference(jobEntry.getReduceRepositoryReference());
      this.reducerStorageType=REFERENCE;
      try {
        TransMeta transMeta=rep.loadTransformation(getReduceRepositoryReference(),null);
        if (transMeta != null && transMeta.getRepositoryDirectory() != null) {
          setReduceTrans(buildRepositoryPath(transMeta.getRepositoryDirectory().getPath(),transMeta.getName()));
        }
      }
 catch (      KettleException e) {
        setReduceRepositoryReference(null);
      }
    }
 else {
      setReduceRepositoryDir(jobEntry.getReduceRepositoryDir());
      setReduceRepositoryFile(jobEntry.getReduceRepositoryFile());
      setReduceTrans(buildRepositoryPath(getReduceRepositoryDir(),getReduceRepositoryFile()));
      this.reducerStorageType=REPOSITORY;
    }
    setReduceTransInputStepName(jobEntry.getReduceInputStepName());
    setReduceTransOutputStepName(jobEntry.getReduceOutputStepName());
    setReducingSingleThreaded(jobEntry.isReducingSingleThreaded());
    userDefined.clear();
    if (jobEntry.getUserDefined() != null) {
      userDefined.addAll(jobEntry.getUserDefined());
    }
    setBlocking(jobEntry.isBlocking());
    setLoggingInterval(jobEntry.getLoggingInterval());
    setInputPath(jobEntry.getInputPath());
    setInputFormatClass(jobEntry.getInputFormatClass());
    setOutputPath(jobEntry.getOutputPath());
    setCleanOutputPath(jobEntry.isCleanOutputPath());
    setSuppressOutputOfMapKey(jobEntry.getSuppressOutputOfMapKey());
    setSuppressOutputOfMapValue(jobEntry.getSuppressOutputOfMapValue());
    setSuppressOutputOfKey(jobEntry.getSuppressOutputOfKey());
    setSuppressOutputOfValue(jobEntry.getSuppressOutputOfValue());
    setOutputFormatClass(jobEntry.getOutputFormatClass());
    selectedNamedCluster=jobEntry.getNamedCluster();
    setNumMapTasks(jobEntry.getNumMapTasks());
    setNumReduceTasks(jobEntry.getNumReduceTasks());
    if (Spoon.getInstance().getRepository() != null) {
      mapperStorageType=REPOSITORY;
      combinerStorageType=REPOSITORY;
    }
  }
}