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.tests/test/org/eclipse/birt/report/model/extension/PeerExtensionTest.java
import org.eclipse.birt.report.model.api.elements.DesignChoiceConstants;
import org.eclipse.birt.report.model.api.elements.ReportDesignConstants;
import org.eclipse.birt.report.model.api.metadata.IColorConstants;
import org.eclipse.birt.report.model.api.metadata.MetaDataConstants;
import org.eclipse.birt.report.model.api.metadata.PropertyValueException;
import org.eclipse.birt.report.model.elements.ExtendedItem;
import org.eclipse.birt.report.model.elements.TableItem;
import org.eclipse.birt.report.model.elements.interfaces.IImageItemModel;
import org.eclipse.birt.report.model.elements.interfaces.IStyleModel;
import org.eclipse.birt.report.model.i18n.ThreadResources;
import org.eclipse.birt.report.model.metadata.ElementDefn;
import org.eclipse.birt.report.model.metadata.ExtensionElementDefn;
import org.eclipse.birt.report.model.metadata.ExtensionSlotDefn;
import org.eclipse.birt.report.model.metadata.MetaDataDictionary;
import org.eclipse.birt.report.model.metadata.PeerExtensionLoader;
import org.eclipse.birt.report.model.metadata.PropertyDefn;
import org.eclipse.birt.report.model.metadata.PropertyType;
import org.eclipse.birt.report.model.util.BaseTestCase;
import com.ibm.icu.util.ULocale;
/**
 * New cases for report item extension should be added here.
 * <p>
 * Tests the cases for the peer extension enhancement: slot definition.
 */
public class PeerExtensionTest extends BaseTestCase
{
	protected static final String TESTING_BOX_NAME = "TestingBox"; 
	private static final String FILE_NAME = "PeerExtensionTest.xml"; 
	private static final String FILE_NAME_1 = "PeerExtensionTest_1.xml"; 
	private static final String FILE_NAME_2 = "PeerExtensionTest_2.xml";