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
}
		catch ( BirtException ex )
		{
			logger.log( Level.SEVERE, ex.getMessage( ), ex );
			context.addException( design.getHandle( ), new EngineException( ex
					.getLocalizedMessage( ), ex ) );
			return null;
		}
		
		initializeContent( extDesign, extContent );
		processAction( extDesign, extContent );
		processBookmark( extDesign, extContent );
		processStyle( extDesign, extContent );
		processVisibility( extDesign, extContent );
		generateContent( extDesign, extContent );
		return extContent;
	}
	protected void generateContent( ExtendedItemDesign item,
			IForeignContent content )
	{
		
		ExtendedItemHandle handle = (ExtendedItemHandle) item.getHandle( );
		String name = item.getName( );
		byte[] generationStatus = null;
		if ( itemGeneration != null )
		{
			IDataQueryDefinition[] queries = ( (ExtendedItemDesign) item )
					.getQueries( );
			ReportItemGenerationInfo info = new ReportItemGenerationInfo( );
			info.setModelObject( handle );