Bug 119124 Something wrong with page number
Using latest engine api regenreate report. The last page of a 59 pages report is empty. The content of any 1 page report is always empty.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/RunTask.java
writer = new ReportDocumentWriter( archive );
		doRun( );
		try 
		{
			archive.finish( );
		} 
		catch (IOException e) 
		{
			
			e.printStackTrace();
		}
	}
	/**
	 * runs the report
	 * 
	 * @throws EngineException
	 *             throws exception when there is a run error
	 */
	protected void doRun( ) throws EngineException
	{
		if ( !validateParameters( ) )
			throw new EngineException(
					MessageConstants.INVALID_PARAMETER_EXCEPTION ); 
		setupExecutionContext( );
		executionContext.setReportDocWriter( writer );
		setupEmitterService( );
		IContentEmitter emitter = new HTMLPaginationEmitter( executor,
				new ReportDocumentEmitter( writer ) );
		
		emitter.initialize( services );