Bug 191168 [Regression]Exception occurs when resize masterpage in library
Description: Exception occurs when resize masterpage in library. Build number:2.2.0.v20070606-0630 Regression bug:187443 Steps to reproduce: 1. New a library. 2. Go to Master Page, resize the master page using the ruler. Expected result: 1. Layout works correctly. 2. No exception is thrown out. Error log: An unexpected internal exception occurred.Please see log for detail. Plug-in Provider:Eclipse.org Plug-in Name:BIRT Designer UI Plug-in ID:org.eclipse.birt.report.designer.ui Version:2.2.0.v20070606-0630 Error Code:Error.GUIException.invokedByUnexpectedException Error Message:org.eclipse.birt.report.designer.internal.lib.lalyout.LibraryReportDesignLayout
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/Module.java
*/
	public void dropElementID( DesignElement element )
	{
		if ( idMap == null )
			return;
		assert element.getID( ) > 0;
		Long idObj = new Long( element.getID( ) );
		assert idMap.containsKey( idObj );
		idMap.remove( idObj );
	}
	/**
	 * Initializes the line number hash map.
	 */
	public void initLineNoMap( )
	{
		lineNoInfo = new LineNumberInfo( );
	}
	/**
	 * Looks up an element given an element ID. Returns null if no element
	 * exists with the given ID. Also returns null if IDs are not enabled. Note:
	 * this method will not find an element that has previously been deleted
	 * from the module, even if that element still exists in memory in
	 * anticipation of issuing an undo of the delete. That is, only valid
	 * elements can be found.
	 * 
	 * @param id
	 *            The id of the element to find.
	 * @return The element itself, or null if the element can't be found or if
	 *         IDs are not enabled.
	 */