Bug 163018 An error extension will lead the report contain chart can't be opened and can not new a report.
Details: An error extension will lead the report contain chart can't open In org.eclipse.birt.report.tests.model has an error extension. When run the birt use workbenck, the report contain chart can't be opened and it can not new a report.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/metadata/ElementDefn.java
*/
	protected void buildProperties( ) throws MetaDataException
	{
		
		
		buildLocalProperties( );
		buildStyleProperties( );
		buildCachedPropertyDefns( );
	}
	/**
	 * Builds cached meta-data for properties defined on this element.
	 * 
	 * @throws MetaDataException
	 *             if any exception occurs during build.
	 */
	protected void buildLocalProperties( ) throws MetaDataException
	{
		boolean isStyle = MetaDataConstants.STYLE_NAME.equals( name );
		Iterator iter = properties.values( ).iterator( );
		while ( iter.hasNext( ) )
		{
			ElementPropertyDefn prop = (ElementPropertyDefn) iter.next( );
			
			
			
			
			if ( prop.isStyleProperty( ) && !isStyle )
				throw new MetaDataException(
						new String[]{name, prop.getName( )},
						MetaDataException.DESIGN_EXCEPTION_INVALID_STYLE_PROP_OPTION );