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
* 
	 * @return The java class of this element.
	 */
	public String getJavaClass( )
	{
		return javaClass;
	}
	/**
	 * Indicates if this element has a style.
	 * 
	 * @return Returns whether the element has a style.
	 */
	public boolean hasStyle( )
	{
		return hasStyle;
	}
	/**
	 * Sets whether the element has style properties.
	 * 
	 * @param flag
	 *            True if this element supports style properties, false if not.
	 */
	void setHasStyle( boolean flag )
	{
		assert !isBuilt;
		hasStyle = flag;
	}
	/**
	 * Returns properties definitions as a list.
	 *