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
* @return the <code>URL</code> object if the file with
	 *         <code>fileName</code> is found, or null otherwise.
	 */
	public URL findResource( String fileName, int fileType )
	{
		URL url = getSession( ).getResourceLocator( ).findResource(
				(ModuleHandle) getHandle( this ), fileName, fileType );
		return url;
	}
	/**
	 * Loads library with the given library file name. This file name can be
	 * absolute or relative. If the library doesn't exist or fatal error occurs
	 * when opening library, one invalid library will be added into the library
	 * list of this module.
	 * 
	 * @param libraryFileName
	 *            library file name
	 * @param namespace
	 *            library namespace
	 * @return the loaded library
	 * @throws DesignFileException
	 *             if the library file has fatal error.
	 */
	public Library loadLibrary( String libraryFileName, String namespace )
			throws DesignFileException
	{
		if ( libraries == null )
			libraries = new ArrayList( );
		URL url = findResource( libraryFileName, IResourceLocator.LIBRARY );
		if ( url == null )