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/internal/document/v4/ExtendedItemExecutor.java
/**
 * Processes an extended item.
 */
public class ExtendedItemExecutor extends ContainerExecutor
{
	public ExtendedItemExecutor( ExecutorManager manager )
	{
		super( manager, ExecutorManager.EXTENDEDITEM );
	}
	public void close( )
	{
		closeQuery( );
		super.close( );
	}
	protected IReportItemExecutor prepareChildExecutor( ) throws Exception
	{
		
		if ( prepareFirstChild )
		{
			if ( fragment == null && nextOffset == -1 )
			{
				DocumentExtension docExt = (DocumentExtension) content
						.getExtension( IContent.DOCUMENT_EXTENSION );
				if ( docExt != null )
				{
					nextOffset = docExt.getFirstChild( );
				}
			}
			if ( fragment != null )
			{