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
*/
public class CrosstabBindingDialogHelper extends AbstractBindingDialogHelper
{
	protected static final String NAME = Messages.getString( "BindingDialogHelper.text.Name" ); 
	protected static final String DATA_TYPE = Messages.getString( "BindingDialogHelper.text.DataType" ); 
	protected static final String FUNCTION = Messages.getString( "BindingDialogHelper.text.Function" ); 
	protected static final String DATA_FIELD = Messages.getString( "BindingDialogHelper.text.DataField" ); 
	protected static final String FILTER_CONDITION = Messages.getString( "BindingDialogHelper.text.Filter" ); 
	protected static final String AGGREGATE_ON = Messages.getString( "BindingDialogHelper.text.AggOn" ); 
	protected static final String EXPRESSION = Messages.getString( "BindingDialogHelper.text.Expression" ); 
	protected static final String ALL = "All"; 
	protected static final String DISPLAY_NAME = Messages.getString( "BindingDialogHelper.text.displayName" ); 
	
	protected static final String DEFAULT_ITEM_NAME = "data item";
	protected static final IChoiceSet DATA_TYPE_CHOICE_SET = DEUtil.getMetaDataDictionary( )
			.getStructure( ComputedColumn.COMPUTED_COLUMN_STRUCT )
			.getMember( ComputedColumn.DATA_TYPE_MEMBER )
			.getAllowedChoices( );
	protected static final IChoice[] DATA_TYPE_CHOICES = DATA_TYPE_CHOICE_SET.getChoices( null );
	protected String[] dataTypes = ChoiceSetFactory.getDisplayNamefromChoiceSet( DATA_TYPE_CHOICE_SET );
	private Text txtName, txtFilter, txtExpression;
	private Combo cmbType, cmbFunction, cmbDataField, cmbAggOn;
	private Button btnTable, btnGroup;
	private Composite argsComposite;
	private String name;
	private String typeSelect;
	private String expression;
	private String functionName;
	private Map argsMap = new HashMap( );
	private Composite composite;