Program: 68442
Project: 68442
Buggy source:
/** 
 * Test aggregation on measure with arguments
 * @throws OLAPException
 * @throws BirtException
 */
public void testCursorModel7() throws OLAPException, BirtException {
  ICubeQueryDefinition cqd=this.creator.createQueryDefinition();
  IBinding rowGrandAvg=new Binding("String_Node_Str");
  rowGrandAvg.setAggrFunction(IBuildInAggregation.TOTAL_WEIGHTEDAVE_FUNC);
  rowGrandAvg.setExpression(new ScriptExpression("String_Node_Str"));
  rowGrandAvg.addAggregateOn("String_Node_Str");
  rowGrandAvg.addAggregateOn("String_Node_Str");
  rowGrandAvg.addArgument(new ScriptExpression("String_Node_Str"));
  cqd.addBinding(rowGrandAvg);
  BirtCubeView cubeView=new BirtCubeView(new CubeQueryExecutor(null,cqd,de.getSession(),this.scope,de.getContext()));
  CubeCursor dataCursor=cubeView.getCubeCursor(new StopSign(),cube);
  List columnEdgeBindingNames=new ArrayList();
  columnEdgeBindingNames.add("String_Node_Str");
  columnEdgeBindingNames.add("String_Node_Str");
  columnEdgeBindingNames.add("String_Node_Str");
  columnEdgeBindingNames.add("String_Node_Str");
  List rowEdgeBindingNames=new ArrayList();
  rowEdgeBindingNames.add("String_Node_Str");
  rowEdgeBindingNames.add("String_Node_Str");
  List measureBindingNames=new ArrayList();
  measureBindingNames.add("String_Node_Str");
  List rowGrandTotalNames=new ArrayList();
  rowGrandTotalNames.add("String_Node_Str");
  try {
    testOut.print(creator.printCubeAlongEdge(dataCursor,columnEdgeBindingNames,rowEdgeBindingNames,measureBindingNames,rowGrandTotalNames,null,null,null));
    this.checkOutputFile();
  }
 catch (  Exception e) {
    fail("String_Node_Str");
  }
}

Fixed version (ground truth):
/** 
 * Test aggregation on measure with arguments
 * @throws OLAPException
 * @throws BirtException
 */
public void testCursorModel7() throws OLAPException, BirtException {
  ICubeQueryDefinition cqd=this.creator.createQueryDefinition();
  IBinding rowGrandAvg=new Binding("String_Node_Str");
  rowGrandAvg.setAggrFunction(IBuildInAggregation.TOTAL_WEIGHTEDAVE_FUNC);
  rowGrandAvg.setExpression(new ScriptExpression("String_Node_Str"));
  rowGrandAvg.addAggregateOn("String_Node_Str");
  rowGrandAvg.addAggregateOn("String_Node_Str");
  rowGrandAvg.addArgument(new ScriptExpression("String_Node_Str"));
  cqd.addBinding(rowGrandAvg);
  BirtCubeView cubeView=new BirtCubeView(new CubeQueryExecutor(null,cqd,de.getSession(),this.scope,de.getContext()));
  CubeCursor dataCursor=cubeView.getCubeCursor(new StopSign(),cube,false);
  List columnEdgeBindingNames=new ArrayList();
  columnEdgeBindingNames.add("String_Node_Str");
  columnEdgeBindingNames.add("String_Node_Str");
  columnEdgeBindingNames.add("String_Node_Str");
  columnEdgeBindingNames.add("String_Node_Str");
  List rowEdgeBindingNames=new ArrayList();
  rowEdgeBindingNames.add("String_Node_Str");
  rowEdgeBindingNames.add("String_Node_Str");
  List measureBindingNames=new ArrayList();
  measureBindingNames.add("String_Node_Str");
  List rowGrandTotalNames=new ArrayList();
  rowGrandTotalNames.add("String_Node_Str");
  try {
    testOut.print(creator.printCubeAlongEdge(dataCursor,columnEdgeBindingNames,rowEdgeBindingNames,measureBindingNames,rowGrandTotalNames,null,null,null));
    this.checkOutputFile();
  }
 catch (  Exception e) {
    fail("String_Node_Str");
  }
}