Program: 126202
Project: 126202
Buggy source:
/** 
 * Add the properties for job.
 */
@Override @SuppressWarnings("String_Node_Str") protected void addProperties(Model model){
  super.addProperties(model);
  Properties properties=model.getProperties();
  final IProcessor jProcessor=getJobProcessor();
  final IProcess process=jProcessor.getProcess();
  final IContext context=jProcessor.getContext();
  final Property property=jProcessor.getProperty();
  String jobClassPackageFolder=JavaResourcesHelper.getJobClassPackageFolder(property.getItem());
  String jobClassPackage=JavaResourcesHelper.getJobClassPackageName(property.getItem());
  String jobFolderName=JavaResourcesHelper.getJobFolderName(property.getLabel(),property.getVersion());
  Project project=ProjectManager.getInstance().getProject(property);
  if (project == null) {
    project=ProjectManager.getInstance().getCurrentProject().getEmfProject();
  }
  String mainProjectBranch=ProjectManager.getInstance().getMainProjectBranch(project);
  if (mainProjectBranch == null) {
    mainProjectBranch=SVNConstant.NAME_TRUNK;
  }
  JobInfoProperties jobInfoProp=new JobInfoProperties((ProcessItem)property.getItem(),context.getName(),isApplyContextToChild(),isAddStat());
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobPath,jobClassPackageFolder);
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobPackage,jobClassPackage);
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.ProjectName,jobInfoProp.getProperty(JobInfoProperties.PROJECT_NAME,project.getTechnicalLabel()));
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.ProjectName,jobInfoProp.getProperty(JobInfoProperties.PROJECT_NAME,project.getTechnicalLabel()).toLowerCase());
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.ProjectId,jobInfoProp.getProperty(JobInfoProperties.PROJECT_ID,String.valueOf(project.getId())));
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.ProjectBranch,jobInfoProp.getProperty(JobInfoProperties.BRANCH,mainProjectBranch));
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobName,jobInfoProp.getProperty(JobInfoProperties.JOB_NAME,property.getLabel()));
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobVersion,"String_Node_Str");
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobDate,jobInfoProp.getProperty(JobInfoProperties.DATE,JobInfoProperties.DATAFORMAT.format(new Date())));
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobContext,"String_Node_Str" + jobInfoProp.getProperty(JobInfoProperties.CONTEXT_NAME,context.getName()));
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobId,jobInfoProp.getProperty(JobInfoProperties.JOB_ID,process.getId()));
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobClass,"String_Node_Str");
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobStat,jobInfoProp.getProperty(JobInfoProperties.ADD_STATIC_CODE,Boolean.FALSE.toString()));
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobApplyContextToChildren,jobInfoProp.getProperty(JobInfoProperties.APPLY_CONTEXY_CHILDREN,Boolean.FALSE.toString()));
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.ProductVersion,jobInfoProp.getProperty(JobInfoProperties.COMMANDLINE_VERSION,VersionUtils.getVersion()));
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobBatClasspath,this.getWindowsClasspath());
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobBatAddition,this.getWindowsScriptAddition());
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobShClasspath,this.getUnixClasspath());
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobShAddition,this.getUnixScriptAddition());
  String finalNameStr=JavaResourcesHelper.getJobJarName(property.getLabel(),property.getVersion());
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobFinalName,finalNameStr);
}

Fixed version (ground truth):
/** 
 * Add the properties for job.
 */
@Override @SuppressWarnings("String_Node_Str") protected void addProperties(Model model){
  super.addProperties(model);
  Properties properties=model.getProperties();
  final IProcessor jProcessor=getJobProcessor();
  final IProcess process=jProcessor.getProcess();
  final IContext context=jProcessor.getContext();
  final Property property=jProcessor.getProperty();
  String jobClassPackageFolder=JavaResourcesHelper.getJobClassPackageFolder(property.getItem());
  String jobClassPackage=JavaResourcesHelper.getJobClassPackageName(property.getItem());
  String jobFolderName=JavaResourcesHelper.getJobFolderName(property.getLabel(),property.getVersion());
  Project project=ProjectManager.getInstance().getProject(property);
  if (project == null) {
    project=ProjectManager.getInstance().getCurrentProject().getEmfProject();
  }
  String mainProjectBranch=ProjectManager.getInstance().getMainProjectBranch(project);
  if (mainProjectBranch == null) {
    mainProjectBranch=SVNConstant.NAME_TRUNK;
  }
  JobInfoProperties jobInfoProp=new JobInfoProperties((ProcessItem)property.getItem(),context.getName(),isOptionChecked(TalendProcessArgumentConstant.ARG_ENABLE_APPLY_CONTEXT_TO_CHILDREN),isOptionChecked(TalendProcessArgumentConstant.ARG_ENABLE_STATISTICS));
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobPath,jobClassPackageFolder);
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobPackage,jobClassPackage);
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.ProjectName,jobInfoProp.getProperty(JobInfoProperties.PROJECT_NAME,project.getTechnicalLabel()));
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.ProjectName,jobInfoProp.getProperty(JobInfoProperties.PROJECT_NAME,project.getTechnicalLabel()).toLowerCase());
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.ProjectId,jobInfoProp.getProperty(JobInfoProperties.PROJECT_ID,String.valueOf(project.getId())));
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.ProjectBranch,jobInfoProp.getProperty(JobInfoProperties.BRANCH,mainProjectBranch));
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobName,jobInfoProp.getProperty(JobInfoProperties.JOB_NAME,property.getLabel()));
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobVersion,"String_Node_Str");
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobDate,jobInfoProp.getProperty(JobInfoProperties.DATE,JobInfoProperties.DATAFORMAT.format(new Date())));
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobContext,"String_Node_Str" + jobInfoProp.getProperty(JobInfoProperties.CONTEXT_NAME,context.getName()));
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobId,jobInfoProp.getProperty(JobInfoProperties.JOB_ID,process.getId()));
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobClass,"String_Node_Str");
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobStat,jobInfoProp.getProperty(JobInfoProperties.ADD_STATIC_CODE,Boolean.FALSE.toString()));
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobApplyContextToChildren,jobInfoProp.getProperty(JobInfoProperties.APPLY_CONTEXY_CHILDREN,Boolean.FALSE.toString()));
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.ProductVersion,jobInfoProp.getProperty(JobInfoProperties.COMMANDLINE_VERSION,VersionUtils.getVersion()));
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobBatClasspath,this.getWindowsClasspath());
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobBatAddition,this.getWindowsScriptAddition());
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobShClasspath,this.getUnixClasspath());
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobShAddition,this.getUnixScriptAddition());
  String finalNameStr=JavaResourcesHelper.getJobJarName(property.getLabel(),property.getVersion());
  checkPomProperty(properties,"String_Node_Str",ETalendMavenVariables.JobFinalName,finalNameStr);
}