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 gd = new GridData( );
		gd.widthHint = 20;
		gd.heightHint = 20;
		button.setLayoutData( gd );
		button.setImage( image );
		if ( button.getImage( ) != null )
		{
			button.getImage( ).setBackground( button.getBackground( ) );
		}
	}
	private String getColumnBindingExpressionByName( String name )
	{
		try
		{
			CrosstabReportItemHandle xtabHandle = (CrosstabReportItemHandle) ( (ExtendedItemHandle) getBindingHolder( ) ).getReportItem( );
			String[] mesureNames = new String[xtabHandle.getMeasureCount( )];
			for ( int i = 0; i < mesureNames.length; i++ )
			{
				if ( xtabHandle.getMeasure( i )
						.getCubeMeasureName( )
						.equals( name ) )
					return DEUtil.getExpression( xtabHandle.getMeasure( i )
							.getCubeMeasure( ) );
			}
		}
		catch ( ExtendedElementException e )
		{
		}
		return null;
	}