Program: 120778
Project: 120778
Buggy source:
/** 
 * Parse Process, and generate Code for Context Variables.
 * @param designerContext the context to generate code from
 * @return the generated code
 * @throws CodeGeneratorException if an error occurs during Code Generation
 */
public String generateContextCode(IContext designerContext) throws CodeGeneratorException {
  if (process != null) {
    if (designerContext == null) {
      designerContext=process.getContextManager().getDefaultContext();
    }
    List<IContextParameter> listParameters=designerContext.getContextParameterList();
    if (listParameters != null) {
      CodeGeneratorArgument codeGenArgument=new CodeGeneratorArgument();
      codeGenArgument.setNode(listParameters);
      codeGenArgument.setContextName(designerContext.getName());
      codeGenArgument.setCurrentProjectName(currentProjectName);
      codeGenArgument.setJobName(jobName);
      codeGenArgument.setJobVersion(jobVersion);
      codeGenArgument.setIsRunInMultiThread(getRunInMultiThread());
      codeGenArgument.setPauseTime(CorePlugin.getDefault().getRunProcessService().getPauseTime());
      JetBean jetBean=initializeJetBean(codeGenArgument);
      jetBean.setTemplateRelativeUri(TemplateUtil.RESOURCES_DIRECTORY + TemplateUtil.DIR_SEP + EInternalTemplate.CONTEXT+ TemplateUtil.EXT_SEP+ language.getExtension()+ TemplateUtil.TEMPLATE_EXT);
      JetProxy proxy=new JetProxy(jetBean);
      String content;
      try {
        content=proxy.generate();
      }
 catch (      JETException e) {
        log.error(e.getMessage(),e);
        throw new CodeGeneratorException(e);
      }
catch (      CoreException e) {
        log.error(e.getMessage(),e);
        throw new CodeGeneratorException(e);
      }
      return content;
    }
  }
  return "String_Node_Str";
}

Fixed version (ground truth):
/** 
 * Parse Process, and generate Code for Context Variables.
 * @param designerContext the context to generate code from
 * @return the generated code
 * @throws CodeGeneratorException if an error occurs during Code Generation
 */
@Override public String generateContextCode(IContext designerContext) throws CodeGeneratorException {
  if (process != null) {
    if (designerContext == null) {
      designerContext=process.getContextManager().getDefaultContext();
    }
    List<IContextParameter> listParameters=designerContext.getContextParameterList();
    if (listParameters != null) {
      CodeGeneratorArgument codeGenArgument=new CodeGeneratorArgument();
      codeGenArgument.setNode(listParameters);
      codeGenArgument.setContextName(designerContext.getName());
      codeGenArgument.setCurrentProjectName(currentProjectName);
      codeGenArgument.setJobName(jobName);
      codeGenArgument.setJobVersion(jobVersion);
      codeGenArgument.setIsRunInMultiThread(getRunInMultiThread());
      codeGenArgument.setPauseTime(CorePlugin.getDefault().getRunProcessService().getPauseTime());
      JetBean jetBean=initializeJetBean(codeGenArgument);
      jetBean.setTemplateRelativeUri(TemplateUtil.RESOURCES_DIRECTORY + TemplateUtil.DIR_SEP + EInternalTemplate.CONTEXT+ TemplateUtil.EXT_SEP+ language.getExtension()+ TemplateUtil.TEMPLATE_EXT);
      JetProxy proxy=new JetProxy(jetBean);
      String content;
      try {
        content=proxy.generate();
      }
 catch (      JETException e) {
        log.error(e.getMessage(),e);
        throw new CodeGeneratorException(e);
      }
catch (      CoreException e) {
        log.error(e.getMessage(),e);
        throw new CodeGeneratorException(e);
      }
      return content;
    }
  }
  return "String_Node_Str";
}