Bug 189806 Add aggregation data item to a table - Exception is thrown
- Add a table with dataset to a report design - DnD aggregation from palette to the table footer - Aggregation builder is shown - Choose SUM function on "Quantity orderred" data field Current behavior - A exception is thrown which say java.util.EmptyStackException
xtab/org.eclipse.birt.report.item.crosstab.ui/src/org/eclipse/birt/report/item/crosstab/internal/ui/dialogs/CrosstabBindingDialogHelper.java
}
			if ( !( this.binding.getName( ) != null && this.binding.getName( )
					.equals( txtName.getText( ).trim( ) ) ) )
				this.binding.setName( txtName.getText( ) );
			this.binding.setDisplayName( txtDisplayName.getText( ) );
			for ( int i = 0; i < DATA_TYPE_CHOICES.length; i++ )
			{
				if ( DATA_TYPE_CHOICES[i].getDisplayName( )
						.equals( cmbType.getText( ) ) )
				{
					this.binding.setDataType( DATA_TYPE_CHOICES[i].getName( ) );
					break;
				}
			}
			this.binding.setExpression( cmbDataField.getText( ) );
			this.binding.setAggregateFunction( cmbFunction.getText( ) );
			this.binding.setFilterExpression( txtFilter.getText( ) );
			this.binding.clearAggregateOnList( );
			String aggStr = cmbAggOn.getText( );
			StringTokenizer token = new StringTokenizer( aggStr );
			while ( token.hasMoreTokens( ) )
			{
				String agg = token.nextToken( );
				if ( !agg.equals( ALL ) )
					this.binding.addAggregateOn( agg );
			}
			this.binding.clearArgumentList( );
			for ( Iterator iterator = argsMap.keySet( ).iterator( ); iterator.hasNext( ); )
			{
				String arg = (String) iterator.next( );