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
* </ul>
	 * 
	 * @return the name option
	 */
	public int getNameOption( )
	{
		return nameOption;
	}
	/**
	 * Determines if this element acts as a container.
	 * 
	 * @return True if this element is a container, false otherwise.
	 */
	public boolean isContainer( )
	{
		return slots != null;
	}
	/**
	 * Returns the number of slots in this container.
	 * 
	 * @return The number of slots. Returns 0 if this element is not a
	 *         container.
	 */
	public int getSlotCount( )
	{
		if ( slots == null )
			return 0;
		return slots.size( );
	}
	/**