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
private List getFunctionArgNames( String function )
	{
		List functions = DEUtil.getMetaDataDictionary( ).getFunctions( );
		List argList = new ArrayList( );
		for ( Iterator iterator = functions.iterator( ); iterator.hasNext( ); )
		{
			IMethodInfo method = (IMethodInfo) iterator.next( );
			if ( method.getName( ).equals( function ) )
			{
				Iterator argumentListIter = method.argumentListIterator( );
				IArgumentInfoList arguments = (IArgumentInfoList) argumentListIter.next( );
				for ( Iterator iter = arguments.argumentsIterator( ); iter.hasNext( ); )
				{
					IArgumentInfo argInfo = (IArgumentInfo) iter.next( );
					argList.add( argInfo.getName( ) );
				}
				break;
			}
		}
		return argList;
	}
	public void save( ) throws Exception
	{
		if ( txtName.getText( ) != null
				&& txtName.getText( ).trim( ).length( ) > 0 )
		{
			if ( isAggregate( ) )
			{
				saveAggregate( );
			}