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/DteDataEngine.java
assert ( report != null );
		ModelDteApiAdapter adaptor = new ModelDteApiAdapter( context, context
				.getSharedScope( ) );
		
		ReportDesignHandle handle = report.getReportDesign( );
		List dataSourceList = handle.getAllDataSources( );
		for ( int i = 0; i < dataSourceList.size( ); i++ )
		{
			DataSourceHandle dataSource = ( DataSourceHandle ) dataSourceList
					.get( i );
			try
			{
				engine.defineDataSource( adaptor
						.createDataSourceDesign( dataSource ) );
			} catch ( BirtException e )
			{
				logger.log( Level.SEVERE, e.getMessage( ), e );
				context.addException( dataSource, e );
			}
		} 
		
		List dataSetList = handle.getAllDataSets( );
		for ( int i = 0; i < dataSetList.size( ); i++ )
		{
			DataSetHandle dataset = ( DataSetHandle ) dataSetList.get( i );
			try
			{
				engine.defineDataSet( adaptor.createDataSetDesign( dataset ) );
			} catch ( BirtException e )
			{