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
* @param resourceKey
	 *            Resource key of the user defined message.
	 * @param locale
	 *            locale of message, if the input <code>locale</code> is
	 *            <code>null</code>, the locale for the current thread will
	 *            be used instead.
	 * @return the corresponding locale-dependent messages. Return
	 *         <code>""</code> if translation can not be found, or
	 *         <code>resourceKey</code> is blank or <code>null</code>.
	 */
	public String getMessage( String resourceKey, ULocale locale )
	{
		if ( StringUtil.isBlank( resourceKey ) )
			return null;
		if ( locale == null )
			locale = ThreadResources.getLocale( );
		
		String msg = translations.getMessage( resourceKey, locale );
		if ( msg != null )
			return msg;
		
		String baseName = getStringProperty( this, INCLUDE_RESOURCE_PROP );
		if ( baseName == null )
			return null;
		
		msg = BundleHelper.getHelper( this, baseName ).getMessage( resourceKey,
				locale );
		return msg;
	}
	/**