Bug 207897 [Automation][Regression]A DataException is thrown out when preview reportdesign
Description: A DataException is thrown out when preview reportdesign Test Date: 20071030 Test Build: BIRT2.2.2 v20071029 Step to reproduce: 1. Use the reportdesign attached 2. Preview it Expect result: Report can be previewed without any exception. Actual result: A DataException is thrown out.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExecutionContext.java
}
		return (DesignElementHandle) reportHandles.peek( );
	}
	/**
	 * Adds the exception
	 * 
	 * @param ex
	 *            the Throwable instance
	 */
	public void addException( BirtException ex )
	{
		DesignElementHandle handle = getDesign( );
		if ( design != null )
		{
			handle = design.getHandle( );
		}
		addException( handle, ex );
	}
	protected HashMap elementExceptions = new HashMap( );
	public void addException( DesignElementHandle element, BirtException ex )
	{
		ElementExceptionInfo exInfo = (ElementExceptionInfo) elementExceptions
				.get( element );
		if ( exInfo == null )
		{
			exInfo = new ElementExceptionInfo( element );
			if ( reportContent != null )
			{
				if ( reportContent.getErrors( ).size( ) < ERROR_TOTAL_COUNT )
				{