Bug 188336 Fairly Simple Report Generates NPE When Saving as Excel
When attempting to Save the attached report to Excel, the following error is displayed in the viewer instead of the Excel file: + org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report; nested exception is: java.util.EmptyStackException
engine/org.eclipse.birt.report.engine.emitter.prototype.excel/src/org/eclipse/birt/report/engine/emitter/excel/ExcelEmitter.java
}
		
		if ( design instanceof DataItemDesign && tableBindings.size( ) > 0 )
		{
			TableBinding tb = (TableBinding) tableBindings.peek( );
			if ( tb.isAggregateData( design ) )
			{
				tb.add2DataList( design, data );
			}
			else
			{
				GroupInfo groupInfo = (GroupInfo) groupInfos.peek( );
				int index = tb.getDataItemDesignIndex( design );
				groupInfo.addPosition( index, span.getCol( ), lb
						.getListSize( span.getCol( ) ) );
			}
		}
		
		if(design instanceof DynamicTextItemDesign)
		{
			engine.calculateTopStyles( );
		}	
	}
	
	private String convertCharacter( int num )
	{
		char base = (char) ( num + 64 );
		Character cha = new Character( base );
		return cha.toString( );
	}