Program: 166419
Project: 166419
Buggy source:
public RangerPolicyServiceBase(){
  super();
  searchFields.add(new SearchField(SearchFilter.SERVICE_TYPE,"String_Node_Str",DATA_TYPE.STRING,SEARCH_TYPE.FULL,"String_Node_Str","String_Node_Str"));
  searchFields.add(new SearchField(SearchFilter.SERVICE_TYPE_ID,"String_Node_Str",DATA_TYPE.INTEGER,SEARCH_TYPE.FULL,"String_Node_Str","String_Node_Str"));
  searchFields.add(new SearchField(SearchFilter.SERVICE_NAME,"String_Node_Str",DATA_TYPE.STRING,SEARCH_TYPE.FULL,"String_Node_Str","String_Node_Str"));
  searchFields.add(new SearchField(SearchFilter.SERVICE_ID,"String_Node_Str",DATA_TYPE.INTEGER,SEARCH_TYPE.FULL,"String_Node_Str","String_Node_Str"));
  searchFields.add(new SearchField(SearchFilter.IS_ENABLED,"String_Node_Str",DATA_TYPE.BOOLEAN,SEARCH_TYPE.FULL));
  searchFields.add(new SearchField(SearchFilter.POLICY_ID,"String_Node_Str",DATA_TYPE.INTEGER,SEARCH_TYPE.FULL));
  searchFields.add(new SearchField(SearchFilter.POLICY_NAME,"String_Node_Str",DATA_TYPE.STRING,SEARCH_TYPE.FULL));
  searchFields.add(new SearchField(SearchFilter.USER,"String_Node_Str",DATA_TYPE.STRING,SEARCH_TYPE.FULL,"String_Node_Str","String_Node_Str" + "String_Node_Str"));
  searchFields.add(new SearchField(SearchFilter.GROUP,"String_Node_Str",DATA_TYPE.STRING,SEARCH_TYPE.FULL,"String_Node_Str","String_Node_Str" + "String_Node_Str"));
  searchFields.add(new SearchField(SearchFilter.POL_RESOURCE,"String_Node_Str",DATA_TYPE.STRING,SEARCH_TYPE.PARTIAL,"String_Node_Str","String_Node_Str"));
  searchFields.add(new SearchField(SearchFilter.POLICY_NAME_PARTIAL,"String_Node_Str",DATA_TYPE.STRING,SEARCH_TYPE.PARTIAL));
  sortFields.add(new SortField(SearchFilter.CREATE_TIME,"String_Node_Str"));
  sortFields.add(new SortField(SearchFilter.UPDATE_TIME,"String_Node_Str"));
  sortFields.add(new SortField(SearchFilter.POLICY_ID,"String_Node_Str"));
  sortFields.add(new SortField(SearchFilter.POLICY_NAME,"String_Node_Str"));
}

Fixed version (ground truth):
public RangerPolicyServiceBase(){
  super();
  searchFields.add(new SearchField(SearchFilter.SERVICE_TYPE,"String_Node_Str",DATA_TYPE.STRING,SEARCH_TYPE.FULL,"String_Node_Str","String_Node_Str"));
  searchFields.add(new SearchField(SearchFilter.SERVICE_TYPE_ID,"String_Node_Str",DATA_TYPE.INTEGER,SEARCH_TYPE.FULL,"String_Node_Str","String_Node_Str"));
  searchFields.add(new SearchField(SearchFilter.SERVICE_NAME,"String_Node_Str",DATA_TYPE.STRING,SEARCH_TYPE.FULL,"String_Node_Str","String_Node_Str"));
  searchFields.add(new SearchField(SearchFilter.SERVICE_ID,"String_Node_Str",DATA_TYPE.INTEGER,SEARCH_TYPE.FULL,"String_Node_Str","String_Node_Str"));
  searchFields.add(new SearchField(SearchFilter.IS_ENABLED,"String_Node_Str",DATA_TYPE.BOOLEAN,SEARCH_TYPE.FULL));
  searchFields.add(new SearchField(SearchFilter.POLICY_ID,"String_Node_Str",DATA_TYPE.INTEGER,SEARCH_TYPE.FULL));
  searchFields.add(new SearchField(SearchFilter.POLICY_NAME,"String_Node_Str",DATA_TYPE.STRING,SEARCH_TYPE.FULL));
  searchFields.add(new SearchField(SearchFilter.USER,"String_Node_Str",DATA_TYPE.STRING,SEARCH_TYPE.FULL,"String_Node_Str","String_Node_Str" + "String_Node_Str"));
  searchFields.add(new SearchField(SearchFilter.GROUP,"String_Node_Str",DATA_TYPE.STRING,SEARCH_TYPE.FULL,"String_Node_Str","String_Node_Str" + "String_Node_Str"));
  searchFields.add(new SearchField(SearchFilter.POL_RESOURCE,"String_Node_Str",DATA_TYPE.STRING,SEARCH_TYPE.PARTIAL,"String_Node_Str","String_Node_Str"));
  searchFields.add(new SearchField(SearchFilter.POLICY_NAME_PARTIAL,"String_Node_Str",DATA_TYPE.STRING,SEARCH_TYPE.PARTIAL));
  sortFields.add(new SortField(SearchFilter.CREATE_TIME,"String_Node_Str"));
  sortFields.add(new SortField(SearchFilter.UPDATE_TIME,"String_Node_Str"));
  sortFields.add(new SortField(SearchFilter.POLICY_ID,"String_Node_Str",true,SORT_ORDER.ASC));
  sortFields.add(new SortField(SearchFilter.POLICY_NAME,"String_Node_Str"));
}