Program: 75661
Project: 75661
Buggy source:
/** 
 * In java script expression, all the java type should be convert to java script type.
 */
public void test16() throws Exception {
  String[] bindingNameGroup=new String[2];
  bindingNameGroup[0]="String_Node_Str";
  bindingNameGroup[1]="String_Node_Str";
  IBaseExpression[] bindingExprGroup=new IBaseExpression[2];
  bindingExprGroup[0]=new ScriptExpression("String_Node_Str");
  bindingExprGroup[1]=new ScriptExpression("String_Node_Str");
  GroupDefinition[] groupDefn=new GroupDefinition[]{new GroupDefinition("String_Node_Str"),new GroupDefinition("String_Node_Str")};
  groupDefn[0].setKeyExpression("String_Node_Str");
  groupDefn[1].setKeyExpression("String_Node_Str");
  String[] bindingNameSort=new String[1];
  bindingNameSort[0]="String_Node_Str";
  IBaseExpression[] bindingExprSort=new IBaseExpression[1];
  bindingExprSort[0]=new ScriptExpression("String_Node_Str");
  SortDefinition[] sortDefn=new SortDefinition[]{new SortDefinition()};
  sortDefn[0].setColumn("String_Node_Str");
  sortDefn[0].setSortDirection(ISortDefinition.SORT_DESC);
  String[] bindingNameFilter=new String[1];
  bindingNameFilter[0]="String_Node_Str";
  IBaseExpression[] bindingExprFilter=new IBaseExpression[1];
  bindingExprFilter[0]=new ScriptExpression("String_Node_Str");
  FilterDefinition[] filterDefn=new FilterDefinition[]{new FilterDefinition(new ConditionalExpression("String_Node_Str",IConditionalExpression.OP_EQ,"String_Node_Str"))};
  String[] bindingNameRow=new String[7];
  bindingNameRow[0]="String_Node_Str";
  bindingNameRow[1]="String_Node_Str";
  bindingNameRow[2]="String_Node_Str";
  bindingNameRow[3]="String_Node_Str";
  bindingNameRow[4]="String_Node_Str";
  bindingNameRow[5]="String_Node_Str";
  bindingNameRow[6]="String_Node_Str";
  IBaseExpression[] bindingExprRow=new IBaseExpression[7];
  bindingExprRow[0]=new ScriptExpression("String_Node_Str");
  bindingExprRow[1]=new ScriptExpression("String_Node_Str");
  bindingExprRow[2]=new ScriptExpression("String_Node_Str");
  bindingExprRow[3]=new ScriptExpression("String_Node_Str");
  bindingExprRow[4]=new ScriptExpression("String_Node_Str");
  bindingExprRow[5]=new ScriptExpression("String_Node_Str");
  bindingExprRow[6]=new ScriptExpression("String_Node_Str");
  createAndRunQuery(bindingNameGroup,bindingExprGroup,groupDefn,bindingNameSort,bindingExprSort,sortDefn,bindingNameFilter,bindingExprFilter,filterDefn,bindingNameRow,bindingExprRow);
  checkOutputFile();
}

Fixed version (ground truth):
/** 
 * In java script expression, all the java type should be convert to java script type.
 */
public void test16() throws Exception {
  String[] bindingNameGroup=new String[2];
  bindingNameGroup[0]="String_Node_Str";
  bindingNameGroup[1]="String_Node_Str";
  IBaseExpression[] bindingExprGroup=new IBaseExpression[2];
  bindingExprGroup[0]=new ScriptExpression("String_Node_Str");
  bindingExprGroup[1]=new ScriptExpression("String_Node_Str");
  GroupDefinition[] groupDefn=new GroupDefinition[]{new GroupDefinition("String_Node_Str"),new GroupDefinition("String_Node_Str")};
  groupDefn[0].setKeyExpression("String_Node_Str");
  groupDefn[1].setKeyExpression("String_Node_Str");
  String[] bindingNameFilter=new String[1];
  bindingNameFilter[0]="String_Node_Str";
  IBaseExpression[] bindingExprFilter=new IBaseExpression[1];
  bindingExprFilter[0]=new ScriptExpression("String_Node_Str");
  FilterDefinition[] filterDefn=new FilterDefinition[]{new FilterDefinition(new ConditionalExpression("String_Node_Str",IConditionalExpression.OP_EQ,"String_Node_Str"))};
  String[] bindingNameRow=new String[7];
  bindingNameRow[0]="String_Node_Str";
  bindingNameRow[1]="String_Node_Str";
  bindingNameRow[2]="String_Node_Str";
  bindingNameRow[3]="String_Node_Str";
  bindingNameRow[4]="String_Node_Str";
  bindingNameRow[5]="String_Node_Str";
  bindingNameRow[6]="String_Node_Str";
  IBaseExpression[] bindingExprRow=new IBaseExpression[7];
  bindingExprRow[0]=new ScriptExpression("String_Node_Str");
  bindingExprRow[1]=new ScriptExpression("String_Node_Str");
  bindingExprRow[2]=new ScriptExpression("String_Node_Str");
  bindingExprRow[3]=new ScriptExpression("String_Node_Str");
  bindingExprRow[4]=new ScriptExpression("String_Node_Str");
  bindingExprRow[5]=new ScriptExpression("String_Node_Str");
  bindingExprRow[6]=new ScriptExpression("String_Node_Str");
  createAndRunQuery(bindingNameGroup,bindingExprGroup,groupDefn,null,null,null,bindingNameFilter,bindingExprFilter,filterDefn,bindingNameRow,bindingExprRow);
  checkOutputFile();
}