Program: 119182
Project: 119182
Buggy source:
public void initCodePath(IContext context) throws ProcessorException {
  String projectFolderName=JavaResourcesHelper.getProjectFolderName(property);
  String jobFolderName=JavaResourcesHelper.getJobFolderName(process.getName(),process.getVersion());
  String fileName=filenameFromLabel ? escapeFilename(process.getName()) : process.getId();
  TalendProcessJavaProject talendJavaProject=JavaProcessorUtilities.getTalendJavaProject();
  if (talendJavaProject == null) {
    throw new ProcessorException(Messages.getString("String_Node_Str"));
  }
  final IFolder projectSrcFolder=talendJavaProject.getSrcSubFolder(null,projectFolderName);
  final IFolder jobSrcFolder=talendJavaProject.createSubFolder(null,projectSrcFolder,jobFolderName);
  final IFolder contextSrcFolder=talendJavaProject.createSubFolder(null,jobSrcFolder,JavaUtils.JAVA_CONTEXTS_DIRECTORY);
  final IFolder outputFolder=talendJavaProject.getOutputFolder();
  this.codePath=jobSrcFolder.getProjectRelativePath().append(fileName + JavaUtils.JAVA_EXTENSION);
  IPath srcProjectRelativePath=talendJavaProject.getSrcFolder().getProjectRelativePath();
  IPath jobPackagePath=jobSrcFolder.getProjectRelativePath().makeRelativeTo(srcProjectRelativePath);
  IFolder jobClassFolder=outputFolder.getFolder(jobPackagePath);
  this.compiledCodePath=jobClassFolder.getProjectRelativePath().append(fileName);
  this.typeName=jobPackagePath.append(fileName).toString().replace('/','.');
  String contextFileName=escapeFilename(context.getName()) + JavaUtils.JAVA_CONTEXT_EXTENSION;
  this.contextPath=contextSrcFolder.getProjectRelativePath().append(contextFileName);
  IPath contextPackagePath=contextSrcFolder.getProjectRelativePath().makeRelativeTo(srcProjectRelativePath);
  IFolder contextOutputFolder=outputFolder.getFolder(contextPackagePath);
  this.compiledContextPath=contextOutputFolder.getProjectRelativePath().append(contextFileName);
}

Fixed version (ground truth):
public void initCodePath(IContext context) throws ProcessorException {
  String projectFolderName=JavaResourcesHelper.getProjectFolderName(property);
  String jobFolderName=JavaResourcesHelper.getJobFolderName(process.getName(),process.getVersion());
  String fileName=filenameFromLabel ? escapeFilename(process.getName()) : process.getId();
  TalendProcessJavaProject talendJavaProject=JavaProcessorUtilities.getTalendJavaProject();
  if (talendJavaProject == null) {
    throw new ProcessorException(Messages.getString("String_Node_Str"));
  }
  this.mainClass=projectFolderName + '.' + jobFolderName+ '.'+ fileName;
  final IFolder projectSrcFolder=talendJavaProject.getSrcSubFolder(null,projectFolderName);
  final IFolder jobSrcFolder=talendJavaProject.createSubFolder(null,projectSrcFolder,jobFolderName);
  final IFolder contextSrcFolder=talendJavaProject.createSubFolder(null,jobSrcFolder,JavaUtils.JAVA_CONTEXTS_DIRECTORY);
  final IFolder outputFolder=talendJavaProject.getOutputFolder();
  this.codePath=jobSrcFolder.getProjectRelativePath().append(fileName + JavaUtils.JAVA_EXTENSION);
  IPath srcProjectRelativePath=talendJavaProject.getSrcFolder().getProjectRelativePath();
  IPath jobPackagePath=jobSrcFolder.getProjectRelativePath().makeRelativeTo(srcProjectRelativePath);
  IFolder jobClassFolder=outputFolder.getFolder(jobPackagePath);
  this.compiledCodePath=jobClassFolder.getProjectRelativePath().append(fileName);
  String contextFileName=escapeFilename(context.getName()) + JavaUtils.JAVA_CONTEXT_EXTENSION;
  this.contextPath=contextSrcFolder.getProjectRelativePath().append(contextFileName);
  IPath contextPackagePath=contextSrcFolder.getProjectRelativePath().makeRelativeTo(srcProjectRelativePath);
  IFolder contextOutputFolder=outputFolder.getFolder(contextPackagePath);
  this.compiledContextPath=contextOutputFolder.getProjectRelativePath().append(contextFileName);
}