Bug 200755 [smoke]Fail to preview Crosstab after deploy BIRT in application servers.[0601][1102]
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ServiceForQueryResults.java
*/
		private IBaseExpression[] populateAggregationArgument( Context cx,
				ExpressionCompiler compiler, IBinding binding, List argument,
				IAggregation aggrFunction ) throws DataException
		{
			int offset = 0;
			if ( aggrFunction.getParameterDefn( ).length > 0 )
			{
				offset = 1;
			}
			IBaseExpression[] compiledArgu = new IBaseExpression[argument.size( )
					+ offset];
			if ( offset > 0 )
			{
				
				
				
				compiledArgu[0] = binding.getExpression( );
				compiler.compile( compiledArgu[0], cx );
			}
			for ( int j = offset; j < argument.size( ) + offset; j++ )
			{
				IScriptExpression scriptExpr = (IScriptExpression) argument.get( j - offset );
				compiler.compile( scriptExpr, cx );
				compiledArgu[j] = scriptExpr;
			}
			return compiledArgu;
		}
		/**
		 * Sort the binding according to their calculation level.