Bug 199702 ArrayIndexOutOfBoundsException is thrown out from HTML emitter when preview a emtpy report
ArrayIndexOutOfBoundsException is thrown out from HTML emitter when preview an empty report
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/html/buffer/DummyPageBuffer.java
{
			return;
		}
		if ( masterPage == null || "".equals( masterPage ) )
		{
			ContentEmitterUtil.startContent( pageContent, pageEmitter );
		}
		else
		{
			IReportContent report = pageContent.getReportContent( );
			MasterPageDesign defaultMasterPage = LayoutUtil
					.getDefaultMasterPage( report );
			if ( defaultMasterPage.getName( ).equals( masterPage ) )
			{
				ContentEmitterUtil.startContent( pageContent, pageEmitter );
			}
			else
			{
				pageContent = ReportExecutorUtil.executeMasterPage( executor,
						context.getPageNumber( ), LayoutUtil.getMasterPage( report,
								masterPage ) );
				if(pageContent!=null)
				{
					ContentEmitterUtil.startContent( pageContent, pageEmitter );
				}
			}
		}
	}
}