Bug 164586 [compatibility]Preview attached report throws multiple exception[0901]
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/adapter/ModelDteApiAdapter.java
{
		if ( dataSet == null || dteEngine == null )
			return;
		this.dteEngine = dteEngine;
		DataSourceHandle dataSource = dataSet.getDataSource( );
		if ( dataSource != null )
		{
			doDefineDataSource( dataSource );
		}
		doDefineDataSet( dataSet );
	}
	
	/**
	 * 
	 * @param dataSource
	 * @throws BirtException
	 */
	private void doDefineDataSource( DataSourceHandle dataSource )
			throws BirtException
	{
		dteEngine.defineDataSource( createDataSourceDesign( dataSource ) );
	}
	/**
	 * 
	 * @param dataSet
	 * @throws BirtException
	 */
	private void doDefineDataSet( DataSetHandle dataSet )
			throws BirtException
	{