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 ( (IQueryResultSet) currentRset ).getResultIterator( );
			}
			else if ( resultType == ILinkedResult.TYPE_CUBE )
			{
				return ( (ICubeResultSet) currentRset ).getCubeCursor( );
			}
			return null;
		}
		public int getCurrentResultType( )
		{
			return resultType;
		}
	}
	public boolean hasErrors( )
	{
		return !elementExceptions.isEmpty( );
	}
	/**
	 * Returns list or errors, the max count of the errors is
	 * <code>MAX_ERRORS</code>
	 * 
	 * @return error list which has max error size limited to
	 *         <code>MAX_ERRORS</code>
	 */
	public List getErrors( )
	{
		List errors = this.getAllErrors( );
		if ( errors.size( ) > MAX_ERRORS )
		{