Bug 212478 Exception occurs when preview the table including a Autotext
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/ReportQueryBuilder.java
}
				}
				handleListingBand( detail, query, false, null );
				handleListingBand( list.getFooter( ), query, true, null );
			}
			try
			{
				transformExpressions( list, query );
			}
			catch ( BirtException ex )
			{
				context.addException( list.getHandle( ), ex );
			}
			return getResultQuery( query, value );
		}
		/*
		 * (non-Javadoc)
		 * 
		 * @see org.eclipse.birt.report.engine.ir.ReportItemVisitor#visitTextItem(org.eclipse.birt.report.engine.ir.TextItemDesign)
		 */
		public Object visitTextItem( TextItemDesign text, Object value )
		{
			BaseQueryDefinition query;
			if ( text.useCachedResult( ) )
			{
				query = getRefenceQuery( text );
				if ( query == null )
				{
					registerUnresolvedQueryReference( text );
					return null;