Bug 140542 label can't be displayed without resource file or unmatched key
Steps to reproduce: 1.New a report, add a lable with text "aaa" 2.Add a resource file for the report, set key to "key1", value to "actuate", apply the value to the label 3.Clear the resource file in Property Editor->General->Resource File (or change the key to "abc") 4.Preview the report Expected result: 1.Display label text "aaa" on preview or 2.Give a warning message to say resource file is not found or unmatched key Actual result: Nothing displays on preview
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/Module.java
Long idObj = new Long( element.getID( ) );
		assert idMap.containsKey( idObj );
		idMap.remove( idObj );
	}
	/**
	 * 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.
	 */
	public DesignElement getElementByID( long id )
	{
		if ( idMap == null )
			return null;
		return (DesignElement) idMap.get( new Long( id ) );
	}
	/**
	 * Returns the undo/redo stack for this module.
	 * 
	 * @return The "command" stack.
	 */
	public ActivityStack getActivityStack( )
	{