Bug 213981 [Automation] [Regression] Exception is thrown out when preview the attached report design [07]
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExtendedGenerateExecutor.java
import org.eclipse.birt.report.engine.extension.IQueryResultSet;
import org.eclipse.birt.report.engine.extension.IReportItemGeneration;
import org.eclipse.birt.report.engine.extension.internal.ReportItemGenerationInfo;
import org.eclipse.birt.report.engine.i18n.MessageConstants;
import org.eclipse.birt.report.engine.ir.ExtendedItemDesign;
import org.eclipse.birt.report.model.api.ExtendedItemHandle;
public class ExtendedGenerateExecutor extends QueryItemExecutor
{
	IReportItemGeneration itemGeneration;
	IBaseResultSet[] rsets;
	public ExtendedGenerateExecutor( ExecutorManager manager,
			IReportItemGeneration itemGeneration )
	{
		super( manager, -1 );
		this.itemGeneration = itemGeneration;
	}
	
	public void close( )
	{
		closeQueries( );
		super.close( );
	}
	public IContent execute( )
	{
		ExtendedItemDesign extDesign = (ExtendedItemDesign) design;
		IForeignContent extContent = report.createForeignContent( );
		setContent( extContent );
		try
		{
			executeQueries( );