Program: 137263
Project: 137263
Buggy source:
public static FileInputDelimited createFileInputDelimited(DelimitedFileConnection delimitedFileconnection) throws IOException {
  String rowSeparator=delimitedFileconnection.getRowSeparatorValue();
  String encoding=delimitedFileconnection.getEncoding();
  String fieldSeparatorValue=delimitedFileconnection.getFieldSeparatorValue();
  if (delimitedFileconnection.isContextMode()) {
    rowSeparator=ConnectionUtils.getOriginalConntextValue(delimitedFileconnection,rowSeparator);
    encoding=ConnectionUtils.getOriginalConntextValue(delimitedFileconnection,encoding);
    fieldSeparatorValue=ConnectionUtils.getOriginalConntextValue(delimitedFileconnection,fieldSeparatorValue);
  }
  boolean isSpliteRecord=delimitedFileconnection.isSplitRecord();
  boolean isSkipeEmptyRow=delimitedFileconnection.isRemoveEmptyRow();
  String languageName=LanguageManager.getCurrentLanguage().getName();
  String zero="String_Node_Str";
  int limitValue=AnalysisExecutorHelper.getLimitValue(delimitedFileconnection);
  int headValue=AnalysisExecutorHelper.getHeadValue(delimitedFileconnection);
  int footValue=0;
  String footing=delimitedFileconnection.getFooterValue();
  String path=AnalysisExecutorHelper.getFilePath(delimitedFileconnection);
  if (delimitedFileconnection.isContextMode()) {
    footing=ConnectionUtils.getOriginalConntextValue(delimitedFileconnection,footing);
    footValue=Integer.parseInt(footing == PluginConstant.EMPTY_STRING ? zero : footing);
  }
 else {
    footValue=Integer.parseInt(footing == null || PluginConstant.EMPTY_STRING.equals(footing) ? zero : footing);
  }
  return new FileInputDelimited(ParameterUtil.trimParameter(path),ParameterUtil.trimParameter(encoding),ParameterUtil.trimParameter(StringUtils.loadConvert(fieldSeparatorValue,languageName)),ParameterUtil.trimParameter(StringUtils.loadConvert(rowSeparator,languageName)),isSkipeEmptyRow,headValue,footValue,limitValue,-1,isSpliteRecord);
}

Fixed version (ground truth):
public static FileInputDelimited createFileInputDelimited(DelimitedFileConnection delimitedFileconnection) throws IOException {
  String rowSeparator=JavaSqlFactory.getRowSeparatorValue(delimitedFileconnection);
  String encoding=JavaSqlFactory.getEncoding(delimitedFileconnection);
  String fieldSeparatorValue=JavaSqlFactory.getFieldSeparatorValue(delimitedFileconnection);
  boolean isSpliteRecord=delimitedFileconnection.isSplitRecord();
  boolean isSkipeEmptyRow=delimitedFileconnection.isRemoveEmptyRow();
  String languageName=LanguageManager.getCurrentLanguage().getName();
  int limitValue=JavaSqlFactory.getLimitValue(delimitedFileconnection);
  int headValue=JavaSqlFactory.getHeadValue(delimitedFileconnection);
  int footValue=JavaSqlFactory.getFooterValue(delimitedFileconnection);
  String path=JavaSqlFactory.getURL(delimitedFileconnection);
  return new FileInputDelimited(ParameterUtil.trimParameter(path),ParameterUtil.trimParameter(encoding),ParameterUtil.trimParameter(StringUtils.loadConvert(fieldSeparatorValue,languageName)),ParameterUtil.trimParameter(StringUtils.loadConvert(rowSeparator,languageName)),isSkipeEmptyRow,headValue,footValue,limitValue,-1,isSpliteRecord);
}