Program: 68443
Project: 68443
Buggy source:
/** 
 * without measure
 * @throws Exception 
 */
public void testCursorWithoutMeasure() throws Exception {
  ICubeQueryDefinition cqd=new CubeQueryDefinition(CubeUtility.cubeName);
  IEdgeDefinition rowEdge=cqd.createEdge(ICubeQueryDefinition.ROW_EDGE);
  IDimensionDefinition rowdim1=rowEdge.createDimension("String_Node_Str");
  IHierarchyDefinition rowhier1=rowdim1.createHierarchy("String_Node_Str");
  rowhier1.createLevel("String_Node_Str");
  IDimensionDefinition rowdim2=rowEdge.createDimension("String_Node_Str");
  IHierarchyDefinition rowhier2=rowdim2.createHierarchy("String_Node_Str");
  rowhier2.createLevel("String_Node_Str");
  IEdgeDefinition columnEdge=cqd.createEdge(ICubeQueryDefinition.COLUMN_EDGE);
  IDimensionDefinition dim1=columnEdge.createDimension("String_Node_Str");
  IHierarchyDefinition hier1=dim1.createHierarchy("String_Node_Str");
  hier1.createLevel("String_Node_Str");
  IDimensionDefinition dim2=columnEdge.createDimension("String_Node_Str");
  IHierarchyDefinition hier2=dim2.createHierarchy("String_Node_Str");
  hier2.createLevel("String_Node_Str");
  IDimensionDefinition dim3=columnEdge.createDimension("String_Node_Str");
  IHierarchyDefinition hier3=dim3.createHierarchy("String_Node_Str");
  hier3.createLevel("String_Node_Str");
  IDimensionDefinition dim4=columnEdge.createDimension("String_Node_Str");
  IHierarchyDefinition hier4=dim4.createHierarchy("String_Node_Str");
  hier4.createLevel("String_Node_Str");
  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");
  testOut.print(creator.printCubeAlongEdge(dataCursor,columnEdgeBindingNames,rowEdgeBindingNames,null,null,null,null,null));
  this.checkOutputFile();
  try {
    dataCursor.getObject("String_Node_Str");
  }
 catch (  Exception e) {
    assertTrue(e instanceof OLAPException);
  }
}

Fixed version (ground truth):
/** 
 * without measure
 * @throws Exception 
 */
public void testCursorWithoutMeasure() throws Exception {
  ICubeQueryDefinition cqd=new CubeQueryDefinition(CubeUtility.cubeName);
  IEdgeDefinition rowEdge=cqd.createEdge(ICubeQueryDefinition.ROW_EDGE);
  IDimensionDefinition rowdim1=rowEdge.createDimension("String_Node_Str");
  IHierarchyDefinition rowhier1=rowdim1.createHierarchy("String_Node_Str");
  rowhier1.createLevel("String_Node_Str");
  IDimensionDefinition rowdim2=rowEdge.createDimension("String_Node_Str");
  IHierarchyDefinition rowhier2=rowdim2.createHierarchy("String_Node_Str");
  rowhier2.createLevel("String_Node_Str");
  IEdgeDefinition columnEdge=cqd.createEdge(ICubeQueryDefinition.COLUMN_EDGE);
  IDimensionDefinition dim1=columnEdge.createDimension("String_Node_Str");
  IHierarchyDefinition hier1=dim1.createHierarchy("String_Node_Str");
  hier1.createLevel("String_Node_Str");
  IDimensionDefinition dim2=columnEdge.createDimension("String_Node_Str");
  IHierarchyDefinition hier2=dim2.createHierarchy("String_Node_Str");
  hier2.createLevel("String_Node_Str");
  IDimensionDefinition dim3=columnEdge.createDimension("String_Node_Str");
  IHierarchyDefinition hier3=dim3.createHierarchy("String_Node_Str");
  hier3.createLevel("String_Node_Str");
  IDimensionDefinition dim4=columnEdge.createDimension("String_Node_Str");
  IHierarchyDefinition hier4=dim4.createHierarchy("String_Node_Str");
  hier4.createLevel("String_Node_Str");
  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");
  testOut.print(creator.printCubeAlongEdge(dataCursor,columnEdgeBindingNames,rowEdgeBindingNames,null,null,null,null,null));
  this.checkOutputFile();
  try {
    dataCursor.getObject("String_Node_Str");
  }
 catch (  Exception e) {
    assertTrue(e instanceof OLAPException);
  }
}