Bug 207895 [Automation]Exception occurs when preview a crosstab with IN filter[1102]
Description: Exception occurs when preview a crosstab with IN filter[1102] Build number: 2.3.0.v20071029-0630 Steps to reproduce: 1, New a crosstab 2, Specify a IN filter of crosstab 3, Preview Expected result: Preview should be ok and filter works well Actual result: Exception occurs Error log: org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report; nested exception is: java.lang.StackOverflowError java.util.ArrayList.get(ArrayList.java:321) org.eclipse.birt.data.engine.olap.query.view.CubeQueryDefinitionUtil.getExprTextList(CubeQueryDefinitionUtil.java:248)
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/query/view/CubeQueryDefinitionUtil.java
for ( int i = 0; i < columnLevels.length; i++ )
		{
			levelList.add( new DimLevel( columnLevels[i] ) );
		}
		return levelList;
	}
	
	/**
	 * 
	 * @param aggrList
	 * @param levelList
	 * @return
	 */
	private static int getResultSetIndex( List aggrList, List levelList )
	{
		for ( int i = 0; i < aggrList.size( ); i++ )
		{
			CalculatedMember member = (CalculatedMember) aggrList.get( i );
			if ( member.getAggrOnList( ).equals( levelList ) )
			{
				return member.getRsID( );
			}
		}		
		return -1;
	}
	
	/**
	 * get all ILevelDefinition from certain IEdgeDefinition
	 * 
	 * @param edgeDefn