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/ReportDocumentWriter.java
RAOutputStream out = archive.createRandomAccessStream( DESIGN_STREAM );
			design.serialize( out );
			out.close();
		}
		catch ( Exception ex )
		{
			logger.log( Level.SEVERE, "Failed to save design!", ex );
		}
	}
	/**
	 * save the paramters into the stream.
	 * 
	 * @param paramters
	 *            HashMap cotains (name, value) pair.
	 */
	public void saveParamters( HashMap paramters )
	{
		try
		{
			saveObject( archive.createRandomAccessStream( PARAMTER_STREAM ), paramters );
		}
		catch ( Exception ex )
		{
			logger.log( Level.SEVERE, "failed to save the paramters", ex );
		}
	}
	
	/**
	 * save an object into the file
	 *