Bug 197068 Failure occurs inJunit test of org.eclipse.birt.report.engine.tests in daily build 20070719
Failure occurs inJunit test of org.eclipse.birt.report.engine.tests in daily build 20070719. Please see the attachment for details.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/ReportDocumentBuilder.java
return contentEmitter;
	}
	public void build( )
	{
		IReportExecutor executor = executionContext.getExecutor( );
		engine = LayoutEngineFactory
				.createLayoutEngine( ExtensionManager.PAGE_BREAK_PAGINATION );
		engine.setPageHandler( layoutPageHandler );
		IReportContent report = executor.execute( );
		outputEmitters.start( report );
		engine.layout( executor, report, outputEmitters, true );
		outputEmitters.end( report );
		engine = null;
	}
	public void cancel( )
	{
		if ( engine != null )
		{
			engine.cancel( );
		}
	}
	public void setPageHandler( IPageHandler handler )
	{
		pageHandler = handler;
	}
	protected void ensureContentSaved( IReportContentWriter writer,
			IContent content ) throws IOException
	{
		DocumentExtension docExt = (DocumentExtension) content
				.getExtension( IContent.DOCUMENT_EXTENSION );