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 ( aggOns[j].equals( aggstr ) )
						cmbAggOn.select( j );
				}
			}
		}
		catch ( ExtendedElementException e )
		{
			ExceptionHandler.handle( e );
		}
	}
	private String[] getAggOns( CrosstabReportItemHandle xtabHandle )
	{
		List rowLevelList = getCrosstabViewHandleLevels( xtabHandle,
				ICrosstabConstants.ROW_AXIS_TYPE );
		List columnLevelList = getCrosstabViewHandleLevels( xtabHandle,
				ICrosstabConstants.COLUMN_AXIS_TYPE );
		List aggOnList = new ArrayList( );
		aggOnList.add( ALL );
		for ( Iterator iterator = rowLevelList.iterator( ); iterator.hasNext( ); )
		{
			String name = (String) iterator.next( );
			aggOnList.add( name );
		}
		for ( Iterator iterator = columnLevelList.iterator( ); iterator.hasNext( ); )
		{
			String name = (String) iterator.next( );
			aggOnList.add( name );
		}
		for ( Iterator iterator = rowLevelList.iterator( ); iterator.hasNext( ); )