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
}
		}
		protected void close( )
		{
			if ( writer != null )
			{
				writer.close( );
			}
			writer = null;
		}
		public void start( IReportContent report )
		{
			open( );
		}
		public void end( IReportContent report )
		{
			close( );
			
			ITOCTree tocTree = report.getTOCTree( null, null );
			if ( tocTree instanceof TOCTree )
			{
				document.saveTOC( (TOCTree) report.getTOCTree( null, null ) );
			}
			
			document.saveReportletsIdIndex( reportletsIndexById );
			document.saveReprotletsBookmarkIndex( reportletsIndexByBookmark );
		}
		public void startContent( IContent content )
		{
			if ( writer != null )