Program: 75743
Project: 75743
Buggy source:
/** 
 * create cube query definition for aggregation filtering.
 * @return
 * @throws DataException
 */
private void createCube1QueryDefn() throws DataException {
  cubeQuery=CubeElementFactory.createCubeQuery("String_Node_Str");
  IEdgeDefinition rowEdge=cubeQuery.createEdge(ICubeQueryDefinition.ROW_EDGE);
  IEdgeDefinition columnEdge=cubeQuery.createEdge(ICubeQueryDefinition.COLUMN_EDGE);
  IDimensionDefinition dimension1=rowEdge.createDimension("String_Node_Str");
  IHierarchyDefinition hier1=dimension1.createHierarchy("String_Node_Str");
  hier1.createLevel("String_Node_Str");
  hier1.createLevel("String_Node_Str");
  hier1.createLevel("String_Node_Str");
  IBinding bindin11=new Binding("String_Node_Str");
  bindin11.setExpression(new ScriptExpression("String_Node_Str"));
  cubeQuery.addBinding(bindin11);
  IBinding bindin12=new Binding("String_Node_Str");
  bindin11.setExpression(new ScriptExpression("String_Node_Str"));
  cubeQuery.addBinding(bindin12);
  IBinding bindin13=new Binding("String_Node_Str");
  bindin11.setExpression(new ScriptExpression("String_Node_Str"));
  cubeQuery.addBinding(bindin13);
  IDimensionDefinition dimension2=columnEdge.createDimension("String_Node_Str");
  IHierarchyDefinition hier2=dimension2.createHierarchy("String_Node_Str");
  level21=hier2.createLevel("String_Node_Str");
  IBinding bindin21=new Binding("String_Node_Str");
  bindin11.setExpression(new ScriptExpression("String_Node_Str"));
  cubeQuery.addBinding(bindin21);
  IDimensionDefinition dimension3=columnEdge.createDimension("String_Node_Str");
  IHierarchyDefinition hier3=dimension3.createHierarchy("String_Node_Str");
  level31=hier3.createLevel("String_Node_Str");
  IBinding bindin31=new Binding("String_Node_Str");
  bindin11.setExpression(new ScriptExpression("String_Node_Str"));
  cubeQuery.addBinding(bindin31);
  IBinding measure1=new Binding("String_Node_Str");
  measure1.setExpression(new ScriptExpression("String_Node_Str"));
  cubeQuery.addBinding(measure1);
  IBinding measure2=new Binding("String_Node_Str");
  measure2.setExpression(new ScriptExpression("String_Node_Str"));
  cubeQuery.addBinding(measure2);
}

Fixed version (ground truth):
/** 
 * create cube query definition for aggregation filtering.
 * @return
 * @throws DataException
 */
private void createCube1QueryDefn() throws DataException {
  cubeQuery=new CubeElementFactory().createCubeQuery("String_Node_Str");
  IEdgeDefinition rowEdge=cubeQuery.createEdge(ICubeQueryDefinition.ROW_EDGE);
  IEdgeDefinition columnEdge=cubeQuery.createEdge(ICubeQueryDefinition.COLUMN_EDGE);
  IDimensionDefinition dimension1=rowEdge.createDimension("String_Node_Str");
  IHierarchyDefinition hier1=dimension1.createHierarchy("String_Node_Str");
  hier1.createLevel("String_Node_Str");
  hier1.createLevel("String_Node_Str");
  hier1.createLevel("String_Node_Str");
  IBinding bindin11=new Binding("String_Node_Str");
  bindin11.setExpression(new ScriptExpression("String_Node_Str"));
  cubeQuery.addBinding(bindin11);
  IBinding bindin12=new Binding("String_Node_Str");
  bindin11.setExpression(new ScriptExpression("String_Node_Str"));
  cubeQuery.addBinding(bindin12);
  IBinding bindin13=new Binding("String_Node_Str");
  bindin11.setExpression(new ScriptExpression("String_Node_Str"));
  cubeQuery.addBinding(bindin13);
  IDimensionDefinition dimension2=columnEdge.createDimension("String_Node_Str");
  IHierarchyDefinition hier2=dimension2.createHierarchy("String_Node_Str");
  level21=hier2.createLevel("String_Node_Str");
  IBinding bindin21=new Binding("String_Node_Str");
  bindin11.setExpression(new ScriptExpression("String_Node_Str"));
  cubeQuery.addBinding(bindin21);
  IDimensionDefinition dimension3=columnEdge.createDimension("String_Node_Str");
  IHierarchyDefinition hier3=dimension3.createHierarchy("String_Node_Str");
  level31=hier3.createLevel("String_Node_Str");
  IBinding bindin31=new Binding("String_Node_Str");
  bindin11.setExpression(new ScriptExpression("String_Node_Str"));
  cubeQuery.addBinding(bindin31);
  IBinding measure1=new Binding("String_Node_Str");
  measure1.setExpression(new ScriptExpression("String_Node_Str"));
  cubeQuery.addBinding(measure1);
  IBinding measure2=new Binding("String_Node_Str");
  measure2.setExpression(new ScriptExpression("String_Node_Str"));
  cubeQuery.addBinding(measure2);
}