Bug 213973 [2.2.2]ClassCastException throws out when preview a table share crosstab
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/ReportQueryBuilder.java
query = getRefenceQuery( cell );
				if ( query == null )
				{
					registerUnresolvedQueryReference( cell );
					return null;
				}
			}
			else
			{
				query = createQuery( cell, value );
			}
			for ( int i = 0; i < cell.getContentCount( ); i++ )
			{
				build( query, cell.getContent( i ) );
			}
			try
			{
				transformExpressions( cell, query );
			}
			catch ( BirtException ex )
			{
				context.addException( cell.getHandle( ), ex );
			}
			return getResultQuery( query, value );
		}
		private IBaseQueryDefinition[] getResultQuery(
				IBaseQueryDefinition query, Object parent )
		{
			if ( query != null && query != parent )
			{