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
| GridData.GRAB_HORIZONTAL ) );
		WidgetUtil.createGridPlaceholder( composite, 1, false );
		new Label( composite, SWT.NONE ).setText( DATA_TYPE );
		cmbType = new Combo( composite, SWT.BORDER | SWT.READ_ONLY );
		cmbType.setLayoutData( new GridData( GridData.FILL_HORIZONTAL
				| GridData.GRAB_HORIZONTAL ) );
		WidgetUtil.createGridPlaceholder( composite, 1, false );
		if ( isAggregate( ) )
		{
			createAggregateSection( composite );
		}
		else
		{
			createCommonSection( composite );
		}
	}
	public void initDialog( )
	{
		if ( getBinding( ) == null )
		{
			setTypeSelect( dataTypes[0] );
			setName( DEFAULT_ITEM_NAME );
		}
		else
		{
			setName( getBinding( ).getName( ) );
			setDisplayName( getBinding( ).getDisplayName( ) );
			setTypeSelect( DATA_TYPE_CHOICE_SET.findChoice( getBinding( ).getDataType( ) )
					.getDisplayName( ) );
			setDataFieldExpression( getBinding( ).getExpression( ) );