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
}
					}
					this.binding.setDisplayName( txtDisplayName.getText( ) );
					this.binding.setExpression( txtExpression.getText( ) );
				}
			}
		}
	}
	private void saveAggregate( ) throws Exception
	{
		if ( getBinding( ) == null )
		{
			if ( cmbDataField.getText( ) == null
					|| cmbDataField.getText( ).trim( ).length( ) == 0 )
			{
				return;
			}
			ComputedColumn newBinding = StructureFactory.newComputedColumn( getBindingHolder( ),
					txtName.getText( ) );
			newBinding.setDisplayName( txtDisplayName.getText( ) );
			for ( int i = 0; i < DATA_TYPE_CHOICES.length; i++ )
			{
				if ( DATA_TYPE_CHOICES[i].getDisplayName( )
						.endsWith( cmbType.getText( ) ) )
				{
					newBinding.setDataType( DATA_TYPE_CHOICES[i].getName( ) );
					break;
				}
			}
			newBinding.setExpression( cmbDataField.getText( ) );