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
if ( context instanceof HTMLLayoutContext )
			{
				HTMLLayoutContext htmlContext = (HTMLLayoutContext) context;
				document.setPageCount( pageNumber );
				boolean reportFinished = htmlContext.isFinished( );
				if ( reportFinished )
				{
					writeTotalPage( pageNumber );
					close( );
					return;
				}
				boolean checkpoint = false;
				
				
				if ( pageNumber == 1 || pageNumber == 10 || pageNumber == 50
						|| pageNumber % 100 == 0 )
				{
					checkpoint = true;
				}
				ArrayList pageHint = htmlContext.getPageHint( );
				PageHint hint = new PageHint( pageNumber, pageOffset );
				for ( int i = 0; i < pageHint.size( ); i++ )
				{
					IContent[] range = (IContent[]) pageHint.get( i );
					PageSection section = createPageSection( range[0], range[1] );
					hint.addSection( section );
				}
				hint
						.addUnresolvedRowHints( htmlContext
								.getUnresolvedRowHints( ) );