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/ReportDocumentReader.java
}
	}
	/**
	 * add the TOC node into the map for search.
	 * 
	 * @param node
	 *            TOC cache.
	 * @param map
	 *            map contains the (name, TOC) pair.
	 */
	private void addTOCEntry( TOCNode node, HashMap map )
	{
		map.put( node.getNodeID( ), node );
		Iterator iter = node.getChildren( ).iterator( );
		while ( iter.hasNext( ) )
		{
			TOCNode child = (TOCNode) iter.next( );
			addTOCEntry( child, map );
		}
	}
	/**
	 * load an object from the file. File is written using ObjectOuputStream and
	 * contains at least one valid object.
	 * 
	 * @param file
	 *            source file
	 * @return the object read from the file.
	 */
    protected Object loadObject( InputStream istream ) throws Exception
    {