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
/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.model.core.DesignElement#getSlot(int)
	 */
	public ContainerSlot getSlot( int slot )
	{
		assert slot >= 0 && slot < getSlotCount( );
		return slots[slot];
	}
	/**
	 * Records a semantic error during build and similar batch operations. This
	 * implementation is preliminary.
	 * 
	 * @param ex
	 *            the exception to record
	 */
	public void semanticError( SemanticException ex )
	{
		if ( allExceptions == null )
			allExceptions = new ArrayList( );
		allExceptions.add( ex );
	}
	/**
	 * Returns a list containing all errors during parsing the module file.
	 * 
	 * @return a list containing parsing errors. Each element in the list is
	 *         <code>ErrorDetail</code>.
	 * 
	 * @see ErrorDetail