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
.equals( measureName ) )
					{
						exist = true;
						break;
					}
				}				
				if ( !exist )
				{
					measures.add( queryDefn.createMeasure( measureName ) );
				}
			}
		}
		return measures;
	}
	
	/**
	 * To get all the sub expressions' text list of the given expression
	 * 
	 * @param queryDefn, expression
	 * @return List
	 */
	private static List getExprTextList( IBaseExpression expression )
	{
		List textList = new ArrayList( );
		if ( expression instanceof IScriptExpression )
		{
			textList.add( ( (IScriptExpression) expression ).getText( ) );
		}
		else if ( expression instanceof IExpressionCollection )
		{