Bug 124444 Preview attached file in pdf will display nothing.
Description: Preview attached file in pdf will display nothing. Steps to reproduce: 1. Preview attached design file in pdf Expected result: Report content shows Actual result: Wait for 10 minutes but nothing showed at all
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/AbstractDataEngine.java
protected boolean validateQueryResult( IQueryResults queryResults )
			throws BirtException
	{
		IResultIterator riter = queryResults.getResultIterator( );
		assert riter != null;
		return riter != null;
	}
	protected IResultSet getSubqueryResult( IBaseQueryDefinition query )
	{
		
		
		assert query instanceof ISubqueryDefinition;
		if ( queryResultStack.isEmpty( ) )
			return null;
		assert ( queryResultStack.getLast( ) instanceof DteResultSet );
		DteResultSet resultSet;
		try
		{
			DteResultSet parent = (DteResultSet) queryResultStack.getLast( );
			ISubqueryDefinition subQuery = (ISubqueryDefinition) query;
			String subQueryName = subQuery.getName( );
			IResultIterator parentRI = parent.getResultIterator( );
			IResultIterator ri = parentRI.getSecondaryIterator( subQueryName,
					context.getSharedScope( ) );
			assert ri != null;
			resultSet = new DteResultSet( parent, subQueryName, ri, this,
					context );
			queryResultStack.addLast( resultSet );
			return resultSet;
		}