Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Modeling (top-level project) » org.eclipse.emf.ecore.xmi.IllegalValueException: Value '' while loading the serialised model
org.eclipse.emf.ecore.xmi.IllegalValueException: Value '' while loading the serialised model [message #381890] Wed, 19 March 2008 13:35 Go to next message
Eclipse User
Originally posted by: ranjeev.backbase.com

This is a multi-part message in MIME format.
--------------020206070801070800000709
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit



Hello there,


I get the following exception stack trace...can anybody help.

attached is the ecore file and the serialised xmi file.

The code I used to save (which works fine):

try {
URL url =FileLocator.resolve(Platform.getBundle(
Activator.PLUGIN_ID).getEntry
("resources/palette.xmi"));

ResourceSet resourceSet = new ResourceSetImpl();
resourceSet.getResourceFactoryRegistry()
.getExtensionToFactoryMap().put("ecore",
new EcoreResourceFactoryImpl());
Resource resource = resourceSet.createResource
(URI.createFileURI(url.getPath() + ""));
EPackage pack = PaletteModelPackage.eINSTANCE;
resourceSet.getPackageRegistry()
.put(pack.getNsURI(), pack);
resource.getContents().add(container);
resource.save(Collections.EMPTY_MAP);

} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

Code I used to Load...which gives me the exception is as below:

try {
// Initialize the model
PaletteModelPackageImpl.init();
// Register the XMI resource
factory for the .website extension
Resource.Factory.Registry
reg = Resource.Factory.Registry.INSTANCE;
Map<String, Object> m = reg
.getExtensionToFactoryMap();
m.put("ecore", new EcoreResourceFactoryImpl());
// Obtain a new resource set
ResourceSet resSet = new ResourceSetImpl();
//get the url of the file location
URL url = FileLocator.resolve(Platform.getBundle
(Activator.PLUGIN_ID).getEntry
("resources/palette.xmi"));
System.out.println("url is : "+url.getPath());
// Get the resource

Resource resource = resSet.getResource
(URI.createFileURI(url.getPath()),true);
// Get the first model element and
// cast it to the PaletteContainer
PaletteContainer container = (PaletteContainer)
resource.getContents().get(0);
return container;

} catch (IOException e) {
Activator.getDefault().getLog()
.log(new DesignerCoreErrorStatus(e));
}

Thanks in Advance
Ranjeev


Exception Stack Trace:


org.eclipse.emf.ecore.xmi.IllegalValueException: Value
'URLImageDescriptor(bundleentry://746/general/container.gif)' is not
legal.
(file:/C:/Projects/Telamon/com.backbase.designer.core/resour ces/palette.xmi,
3, 109)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.setFeatureValue(XM LHandler.java:2524)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.setAttribValue(XML Handler.java:2578)
at
org.eclipse.emf.ecore.xmi.impl.SAXXMIHandler.handleObjectAtt ribs(SAXXMIHandler.java:76)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromFa ctory(XMLHandler.java:2058)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromFe atureType(XMLHandler.java:2024)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObject(XMLHa ndler.java:1900)
at
org.eclipse.emf.ecore.xmi.impl.XMIHandler.createObject(XMIHa ndler.java:131)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLH andler.java:1705)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XML Handler.java:974)
at
org.eclipse.emf.ecore.xmi.impl.XMIHandler.processElement(XMI Handler.java:87)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHa ndler.java:953)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHa ndler.java:684)
at
org.eclipse.emf.ecore.xmi.impl.XMIHandler.startElement(XMIHa ndler.java:167)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .startElement(AbstractSAXParser.java:533)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.j ava:878)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFra gmentScannerImpl.java:1693)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java: 368)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(XML11Configuration.java:834)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(XML11Configuration.java:764)
at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(X MLParser.java:148)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse(AbstractSAXParser.java:1242)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl. java:179)
at
org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLRes ourceImpl.java:180)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1354)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1155)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(ResourceSetImpl.java:256)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:271)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetImpl.java:398)
at
com.backbase.designer.palette.ui.PaletteCoreManager.getSeria lisedPaletteModel(PaletteCoreManager.java:187)
at
com.backbase.designer.palette.ui.PaletteCoreManager.getPalet teModel(PaletteCoreManager.java:120)
at
com.backbase.designer.palette.ui.viewers.DesignerPaletteView .createPartControl(DesignerPaletteView.java:36)
at
org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:370)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:227)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:592)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:29 9)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:53 1)
at
org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:179)
at
org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:268)
at
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
at
org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:400)
at
org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:668)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
at
org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:564)
at
org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:270)
at org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:931)
at
org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPa ge.java:2515)
at
org.eclipse.ui.internal.WorkbenchWindow$23.run(WorkbenchWind ow.java:2837)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.ui.internal.WorkbenchWindow.setActivePage(Workbe nchWindow.java:2818)
at
org.eclipse.ui.internal.WorkbenchWindow$17.runWithException( WorkbenchWindow.java:2135)
at
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3659)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3296)
at
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:801)
at
org.eclipse.ui.internal.Workbench$25.runWithException(Workbe nch.java:1342)
at
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3659)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3296)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2309)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
Caused by: java.lang.IllegalArgumentException: The value
'URLImageDescriptor(bundleentry://746/general/container.gif)' is invalid.
at
org.eclipse.emf.ecore.impl.EFactoryImpl.createFromString(EFa ctoryImpl.java:439)
at
com.backbase.designer.palette.model.impl.PaletteModelFactory Impl.createEImageDescriptorFromString(PaletteModelFactoryImp l.java:162)
at
com.backbase.designer.palette.model.impl.PaletteModelFactory Impl.createFromString(PaletteModelFactoryImpl.java:85)
at
org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl.createFromStrin g(XMLHelperImpl.java:1600)
at
org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl.setValue(XMLHel perImpl.java:1141)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.setFeatureValue(XM LHandler.java:2519)
... 83 more


--------------020206070801070800000709
Content-Type: text/xml;
name="PaletteModel.ecore"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="PaletteModel.ecore"

<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="model"
nsURI="http://com.backbase.designer.palette.model.PaletteModel" nsPrefix="com.backbase.designer.palette.model">
<eClassifiers xsi:type="ecore:EClass" name="PaletteContribution" eSuperTypes="#//PaletteElement">
<eStructuralFeatures xsi:type="ecore:EReference" name="paletteElements" upperBound="-1"
eType="#//PaletteEntry" containment="true" eOpposite="#//PaletteEntry/parentContribution"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="PaletteElement" abstract="true">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="label" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="smallIcon" eType="#//EImageDescriptor"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="largeIcon" eType="#//EImageDescriptor"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="PaletteContainer">
<eStructuralFeatures xsi:type="ecore:EReference" name="paletteContributions" upperBound="-1"
eType="#//PaletteContribution" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
defaultValueLiteral="developer"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EDataType" name="EImageDescriptor" instanceClassName="org.eclipse.jface.resource.ImageDescriptor "/>
<eClassifiers xsi:type="ecore:EClass" name="PaletteEntry" abstract="true" eSuperTypes="#//PaletteElement">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="showEntry" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="parentContribution" lowerBound="1"
eType="#//PaletteContribution" eOpposite="#//PaletteContribution/paletteElements"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="subPaletteEntries" upperBound="-1"
eType="#//PaletteEntry" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="GroupingEntry" eSuperTypes="#//PaletteEntry"/>
<eClassifiers xsi:type="ecore:EClass" name="ModelEntry" eSuperTypes="#//PaletteEntry">
<eStructuralFeatures xsi:type="ecore:EReference" name="modelElement" eType="ecore:EClass ../../com.backbase.designer.core.model/model/coremodel.ecore #//ModelElement "
containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="BundleContribution" eSuperTypes="#//PaletteContribution">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="bundleID" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="imagePath" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
</ecore:EPackage>

--------------020206070801070800000709
Content-Type: text/xml;
name="palette.xmi"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="palette.xmi"

<?xml version="1.0" encoding="ASCII"?>
<com.backbase.designer.palette.model:PaletteContainer xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:com.backbase.designer.core.model="http://com.backbase.designer.core.model" xmlns:com.backbase.designer.palette.model="http://com.backbase.designer.palette.model.PaletteModel">
<paletteContributions label="BTL" smallIcon="URLImageDescriptor(bundleentry://746/general/container.gif)">
<paletteElements xsi:type="com.backbase.designer.palette.model:GroupingEntry " label="Layout" smallIcon="URLImageDescriptor(bundleentry://746/general/updown.gif)">
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="accordion" smallIcon="URLImageDescriptor(bundleentry://739/resource/pallete/btl/icons/accordion.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="accordion" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:accordion xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;b:accordionItem>&lt;/b:accordionItem>&lt;/b:accordion >&#xA;&#x9;&#x9;&#x9;</templates>
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="accordionItem" smallIcon="URLImageDescriptor( bundleentry://739/resource/pallete/btl/icons/accordionItem.g if)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="accordionItem" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:accordionItem xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:accordionItem>&#xA;&#x9;&#x9;&#x9; </templates>
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="box" smallIcon="URLImageDescriptor(bundleentry://739/resource/pallete/btl/icons/box.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="box" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:box xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:box>&#xA;&#x9;&#x9;&#x9;</templates >
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="deck" smallIcon="URLImageDescriptor(bundleentry://739/resource/pallete/btl/icons/deck.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="deck" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:deck xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:deck>&#xA;&#x9;&#x9;&#x9;</templates >
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="deckItem" smallIcon="URLImageDescriptor(bundleentry://739/resource/pallete/btl/icons/deckItem.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="deckItem" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:deckItem xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:deckItem>&#xA;&#x9;&#x9;&#x9;</templates >
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="navBox" smallIcon="URLImageDescriptor(bundleentry://739/resource/pallete/btl/icons/navBox.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="navBox" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:navBox xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:navBox>&#xA;&#x9;&#x9;&#x9;</templates >
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="panelSet" smallIcon="URLImageDescriptor(bundleentry://739/resource/pallete/btl/icons/panelSet.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="panelSet" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:panelSet xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:panelSet>&#xA;&#x9;&#x9;&#x9;</templates >
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="panel" smallIcon="URLImageDescriptor(bundleentry://739/resource/pallete/btl/icons/panel.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="panel" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:panel xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:panel>&#xA;&#x9;&#x9;&#x9;</templates >
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="tabBox" smallIcon="URLImageDescriptor(bundleentry://739/resource/pallete/btl/icons/tabBox.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="tabBox" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:tabBox xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;b:tab label=&quot;Tab&quot; >&lt;/b:tab>&lt;/b:tabBox>&#xA;&#x9;&#x9;&#x9; </templates>
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="tab" smallIcon="URLImageDescriptor(bundleentry://739/resource/pallete/btl/icons/tab.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="tab" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:tab xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; label=&quot;Tab&quot; >&lt;/b:tab>&#xA;&#x9;&#x9;&#x9;</templates >
</modelElement>
</subPaletteEntries>
</paletteElements>
<paletteElements xsi:type="com.backbase.designer.palette.model:GroupingEntry " label="Media" smallIcon="URLImageDescriptor(bundleentry://746/general/updown.gif)">
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="applet" smallIcon="URLImageDescriptor(bundleentry://739/resource/pallete/btl/icons/applet.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="applet" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:applet xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:applet>&#xA;&#x9;&#x9;&#x9;</templates >
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="appletParam" smallIcon="URLImageDescriptor( bundleentry://739/resource/pallete/btl/icons/appletParam.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="appletParam" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:appletParam xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:appletParam>&#xA;&#x9;&#x9;&#x9; </templates>
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="flash" smallIcon="URLImageDescriptor(bundleentry://739/resource/pallete/btl/icons/flash.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="flash" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:flash xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:flash>&#xA;&#x9;&#x9;&#x9;</templates >
</modelElement>
</subPaletteEntries>
</paletteElements>
<paletteElements xsi:type="com.backbase.designer.palette.model:GroupingEntry " label="Feedback" smallIcon="URLImageDescriptor(bundleentry://746/general/updown.gif)">
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="balloon" smallIcon="URLImageDescriptor(bundleentry://739/resource/pallete/btl/icons/balloon.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="balloon" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:balloon xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:balloon>&#xA;&#x9;&#x9;&#x9;</templates >
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="infoBox" smallIcon="URLImageDescriptor(bundleentry://739/resource/pallete/btl/icons/infoBox.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="infoBox" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:infoBox xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:infoBox>&#xA;&#x9;&#x9;&#x9;</templates >
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="loadingMessage" smallIcon="URLImageDescriptor( bundleentry://739/resource/pallete/btl/icons/loadingMessage. gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="loadingMessage" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:loadingMessage xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:loadingMessage>&#xA;&#x9;&#x9;&#x9; </templates>
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="toolTip" smallIcon="URLImageDescriptor(bundleentry://739/resource/pallete/btl/icons/toolTip.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="toolTip" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:toolTip xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:toolTip>&#xA;&#x9;&#x9;&#x9;</templates >
</modelElement>
</subPaletteEntries>
</paletteElements>
<paletteElements xsi:type="com.backbase.designer.palette.model:GroupingEntry " label="Action" smallIcon="URLImageDescriptor(bundleentry://746/general/updown.gif)">
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="button" smallIcon="URLImageDescriptor(bundleentry://739/resource/pallete/btl/icons/button.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="button" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:button xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >button&lt;/b:button>&#xA;&#x9;&#x9;&#x9; </templates>
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="button2" smallIcon="URLImageDescriptor(bundleentry://739/resource/pallete/btl/icons/button.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="button" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9;&lt;script type=&quot;text/backbase+xml&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&#xA;&#x9;xmlns:b=&quot;http://www.backbase.com/2006/btl&quot;> &lt;b:button>button&lt;/b:button>&lt;/script>&#xA;&#x9;&#x9;&#x9; </templates>
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="contextMenu" smallIcon="URLImageDescriptor( bundleentry://739/resource/pallete/btl/icons/contextMenu.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="contextMenu" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:contextMenu xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:contextMenu>&#xA;&#x9;&#x9;&#x9; </templates>
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="menuBar" smallIcon="URLImageDescriptor(bundleentry://739/resource/pallete/btl/icons/menuBar.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="menuBar" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:menuBar xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:menuBar>&#xA;&#x9;&#x9;&#x9;</templates >
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="menuBarItem" smallIcon="URLImageDescriptor( bundleentry://739/resource/pallete/btl/icons/menuBarItem.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="menuBarItem" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:menuBarItem xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:menuBarItem>&#xA;&#x9;&#x9;&#x9; </templates>
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="menuBarSeparator" smallIcon="URLImageDescriptor( bundleentry://739/resource/pallete/btl/icons/menuBarSeparato r.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="menuBarSeparator" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:menuBarSeparator xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:menuBarSeparator>&#xA;&#x9;&#x9;&#x9; </templates>
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="menuPopUp" smallIcon="URLImageDescriptor(bundleentry://739/resource/pallete/btl/icons/menuPopUp.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="menuPopUp" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:menuPopUp xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:menuPopUp>&#xA;&#x9;&#x9;&#x9;</templates >
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="menuPopUpItem" smallIcon="URLImageDescriptor( bundleentry://739/resource/pallete/btl/icons/menuPopUpItem.g if)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="menuPopUpItem" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:menuPopUpItem xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:menuPopUpItem>&#xA;&#x9;&#x9;&#x9; </templates>
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="menuPopUpSeparator" smallIcon="URLImageDescriptor( bundleentry://739/resource/pallete/btl/icons/menuPopUpSepara tor.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="menuPopUpSeparator" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:menuPopUpSeparator xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:menuPopUpSeparator>&#xA;&#x9;&#x9;&#x9; </templates>
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="pagerBar" smallIcon="URLImageDescriptor(bundleentry://739/resource/pallete/btl/icons/pagerBar.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="pagerBar" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:pagerBar xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:pagerBar>&#xA;&#x9;&#x9;&#x9;</templates >
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="pager" smallIcon="URLImageDescriptor(bundleentry://739/resource/pallete/btl/icons/pager.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="pager" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:pager xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:pager>&#xA;&#x9;&#x9;&#x9;</templates >
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="pagerButton" smallIcon="URLImageDescriptor( bundleentry://739/resource/pallete/btl/icons/pagerButton.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="pagerButton" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:pagerButton xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:pagerButton>&#xA;&#x9;&#x9;&#x9; </templates>
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="pagerNumbers" smallIcon="URLImageDescriptor( bundleentry://739/resource/pallete/btl/icons/pagerNumbers.gi f)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="pagerNumbers" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:pagerNumbers xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:pagerNumbers>&#xA;&#x9;&#x9;&#x9; </templates>
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="pagerJumper" smallIcon="URLImageDescriptor( bundleentry://739/resource/pallete/btl/icons/pagerJumper.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="pagerJumper" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:pagerJumper xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:pagerJumper>&#xA;&#x9;&#x9;&#x9; </templates>
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="pagerSeparator" smallIcon="URLImageDescriptor( bundleentry://739/resource/pallete/btl/icons/pagerSeparator. gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="pagerSeparator" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:pagerSeparator xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:pagerSeparator>&#xA;&#x9;&#x9;&#x9; </templates>
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="toolBar" smallIcon="URLImageDescriptor(bundleentry://739/resource/pallete/btl/icons/toolBar.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="toolBar" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:toolBar xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:toolBar>&#xA;&#x9;&#x9;&#x9;</templates >
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="toolBarItem" smallIcon="URLImageDescriptor( bundleentry://739/resource/pallete/btl/icons/toolBarItem.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="toolBarItem" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:toolBarItem xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:toolBarItem>&#xA;&#x9;&#x9;&#x9; </templates>
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="toolBarButton" smallIcon="URLImageDescriptor( bundleentry://739/resource/pallete/btl/icons/toolBarButton.g if)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="toolBarButton" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:toolBarButton xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:toolBarButton>&#xA;&#x9;&#x9;&#x9; </templates>
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="toolBarSwitch" smallIcon="URLImageDescriptor( bundleentry://739/resource/pallete/btl/icons/toolBarSwitch.g if)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="toolBarSwitch" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:toolBarSwitch xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:toolBarSwitch>&#xA;&#x9;&#x9;&#x9; </templates>
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="toolBarSeparator" smallIcon="URLImageDescriptor( bundleentry://739/resource/pallete/btl/icons/toolBarSeparato r.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="toolBarSeparator" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:toolBarSeparator xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:toolBarSeparator>&#xA;&#x9;&#x9;&#x9; </templates>
</modelElement>
</subPaletteEntries>
</paletteElements>
<paletteElements xsi:type="com.backbase.designer.palette.model:GroupingEntry " label="Forms" smallIcon="URLImageDescriptor(bundleentry://746/general/updown.gif)">
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="calendar" smallIcon="URLImageDescriptor(bundleentry://739/resource/pallete/btl/icons/calendar.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="calendar" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:calendar xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:calendar>&#xA;&#x9;&#x9;&#x9;</templates >
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="comboBox" smallIcon="URLImageDescriptor(bundleentry://739/resource/pallete/btl/icons/comboBox.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="comboBox" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:comboBox xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:comboBox>&#xA;&#x9;&#x9;&#x9;</templates >
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="comboBoxOption" smallIcon="URLImageDescriptor( bundleentry://739/resource/pallete/btl/icons/comboBoxOption. gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="comboBoxOption" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:comboBoxOption xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:comboBoxOption>&#xA;&#x9;&#x9;&#x9; </templates>
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="fileInput" smallIcon="URLImageDescriptor(bundleentry://739/resource/pallete/btl/icons/fileInput.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="fileInput" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:fileInput xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:fileInput>&#xA;&#x9;&#x9;&#x9;</templates >
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="fileInputParameter" smallIcon="URLImageDescriptor( bundleentry://739/resource/pallete/btl/icons/fileInputParame ter.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="fileInputParameter" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:fileInputParameter xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:fileInputParameter>&#xA;&#x9;&#x9;&#x9; </templates>
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="listBox" smallIcon="URLImageDescriptor(bundleentry://739/resource/pallete/btl/icons/listBox.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="listBox" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:listBox xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:listBox>&#xA;&#x9;&#x9;&#x9;</templates >
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="listBoxOption" smallIcon="URLImageDescriptor( bundleentry://739/resource/pallete/btl/icons/listBoxOption.g if)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="listBoxOption" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:listBoxOption xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:listBoxOption>&#xA;&#x9;&#x9;&#x9; </templates>
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="fieldEditor" smallIcon="URLImageDescriptor( bundleentry://739/resource/pallete/btl/icons/fieldEditor.gif)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="fieldEditor" schemaURI="http://www.backbase.com/2006/btl">
<templates>&#xA; &#x9;&#x9; &lt;b:fieldEditor xmlns:b=&quot;http://www.backbase.com/2006/btl&quot; >&lt;/b:fieldEditor>&#xA;&#x9;&#x9;&#x9; </templates>
</modelElement>
</subPaletteEntries>
<subPaletteEntries xsi:type="com.backbase.designer.palette.model:ModelEntry" label="fieldCreator" smallIcon="URLImageDescriptor( bundleentry://739/resource/pallete/btl/icons/fieldCreator.gi f)">
<modelElement xsi:type="com.backbase.designer.core.model:SchemaElement" elementName="fieldCreator" schemaURI="http://www.backbase.com/2006/btl">
Re: org.eclipse.emf.ecore.xmi.IllegalValueException: Value '' while loading the serialised model [message #381891 is a reply to message #381890] Wed, 19 March 2008 15:10 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26126
Registered: July 2009
Senior Member
Ranjeev,

Please use the EMF newsgroup for questions like this. I've added it to
the "to" list of the reply. More comments below.

It looks like you need to specialize
com.backbase.designer.palette.model.impl.PaletteModelFactory Impl.createEImageDescriptorFromString
to create an instance from a string value.


Ranjeev wrote:
>
>
> Hello there,
>
>
> I get the following exception stack trace...can anybody help.
>
> attached is the ecore file and the serialised xmi file.
>
> The code I used to save (which works fine):
>
> try {
> URL url =FileLocator.resolve(Platform.getBundle(
> Activator.PLUGIN_ID).getEntry
> ("resources/palette.xmi"));
>
> ResourceSet resourceSet = new ResourceSetImpl();
> resourceSet.getResourceFactoryRegistry()
> .getExtensionToFactoryMap().put("ecore",
> new EcoreResourceFactoryImpl());
> Resource resource = resourceSet.createResource
> (URI.createFileURI(url.getPath() + ""));
> EPackage pack = PaletteModelPackage.eINSTANCE;
> resourceSet.getPackageRegistry()
> .put(pack.getNsURI(), pack);
> resource.getContents().add(container);
> resource.save(Collections.EMPTY_MAP);
>
> } catch (IOException e) {
> // TODO Auto-generated catch block
> e.printStackTrace();
> }
>
> Code I used to Load...which gives me the exception is as below:
>
> try {
> // Initialize the model
> PaletteModelPackageImpl.init();
> // Register the XMI resource
> factory for the .website extension
> Resource.Factory.Registry
> reg = Resource.Factory.Registry.INSTANCE;
> Map<String, Object> m = reg
> .getExtensionToFactoryMap();
> m.put("ecore", new EcoreResourceFactoryImpl());
> // Obtain a new resource set
> ResourceSet resSet = new ResourceSetImpl();
> //get the url of the file location
> URL url = FileLocator.resolve(Platform.getBundle
> (Activator.PLUGIN_ID).getEntry
> ("resources/palette.xmi"));
> System.out.println("url is : "+url.getPath());
> // Get the resource
>
> Resource resource = resSet.getResource
> (URI.createFileURI(url.getPath()),true);
> // Get the first model element and
> // cast it to the PaletteContainer
> PaletteContainer container = (PaletteContainer)
> resource.getContents().get(0);
> return container;
>
> } catch (IOException e) {
> Activator.getDefault().getLog()
> .log(new DesignerCoreErrorStatus(e));
> }
>
> Thanks in Advance
> Ranjeev
>
>
> Exception Stack Trace:
>
>
> org.eclipse.emf.ecore.xmi.IllegalValueException: Value
> 'URLImageDescriptor(bundleentry://746/general/container.gif)' is not
> legal.
> (file:/C:/Projects/Telamon/com.backbase.designer.core/resour ces/palette.xmi,
> 3, 109)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLHandler.setFeatureValue(XM LHandler.java:2524)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMLHandler.setAttribValue(XML Handler.java:2578)
>
> at
> org.eclipse.emf.ecore.xmi.impl.SAXXMIHandler.handleObjectAtt ribs(SAXXMIHandler.java:76)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromFa ctory(XMLHandler.java:2058)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromFe atureType(XMLHandler.java:2024)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObject(XMLHa ndler.java:1900)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMIHandler.createObject(XMIHa ndler.java:131)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLH andler.java:1705)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XML Handler.java:974)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMIHandler.processElement(XMI Handler.java:87)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHa ndler.java:953)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHa ndler.java:684)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMIHandler.startElement(XMIHa ndler.java:167)
>
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .startElement(AbstractSAXParser.java:533)
>
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.j ava:878)
>
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFra gmentScannerImpl.java:1693)
>
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java: 368)
>
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(XML11Configuration.java:834)
>
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(XML11Configuration.java:764)
>
> at
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(X MLParser.java:148)
>
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse(AbstractSAXParser.java:1242)
>
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl. java:179)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLRes ourceImpl.java:180)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1354)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1155)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(ResourceSetImpl.java:256)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:271)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetImpl.java:398)
>
> at
> com.backbase.designer.palette.ui.PaletteCoreManager.getSeria lisedPaletteModel(PaletteCoreManager.java:187)
>
> at
> com.backbase.designer.palette.ui.PaletteCoreManager.getPalet teModel(PaletteCoreManager.java:120)
>
> at
> com.backbase.designer.palette.ui.viewers.DesignerPaletteView .createPartControl(DesignerPaletteView.java:36)
>
> at
> org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:370)
>
> at
> org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:227)
> at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:592)
>
> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:29 9)
> at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:53 1)
> at
> org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:179)
>
> at
> org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:268)
>
> at
> org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
>
> at
> org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:400)
>
> at
> org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
>
> at
> org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:668)
> at
> org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
> at
> org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:564)
>
> at
> org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:270)
>
> at
> org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:931)
> at
> org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPa ge.java:2515)
> at
> org.eclipse.ui.internal.WorkbenchWindow$23.run(WorkbenchWind ow.java:2837)
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
> at
> org.eclipse.ui.internal.WorkbenchWindow.setActivePage(Workbe nchWindow.java:2818)
>
> at
> org.eclipse.ui.internal.WorkbenchWindow$17.runWithException( WorkbenchWindow.java:2135)
>
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
>
> at
> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3659)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3296)
> at
> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:801)
>
> at
> org.eclipse.ui.internal.Workbench$25.runWithException(Workbe nch.java:1342)
>
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
>
> at
> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3659)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3296)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2309)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
>
> at
> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:169)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 508)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.IllegalArgumentException: The value
> 'URLImageDescriptor(bundleentry://746/general/container.gif)' is invalid.
> at
> org.eclipse.emf.ecore.impl.EFactoryImpl.createFromString(EFa ctoryImpl.java:439)
>
> at
> com.backbase.designer.palette.model.impl.PaletteModelFactory Impl.createEImageDescriptorFromString(PaletteModelFactoryImp l.java:162)
>
> at
> com.backbase.designer.palette.model.impl.PaletteModelFactory Impl.createFromString(PaletteModelFactoryImpl.java:85)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl.createFromStrin g(XMLHelperImpl.java:1600)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl.setValue(XMLHel perImpl.java:1141)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMLHandler.setFeatureValue(XM LHandler.java:2519)
>
> ... 83 more
>
Re: org.eclipse.emf.ecore.xmi.IllegalValueException: Value '' while loading the serialised model [message #606559 is a reply to message #381890] Wed, 19 March 2008 15:10 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26126
Registered: July 2009
Senior Member
Ranjeev,

Please use the EMF newsgroup for questions like this. I've added it to
the "to" list of the reply. More comments below.

It looks like you need to specialize
com.backbase.designer.palette.model.impl.PaletteModelFactory Impl.createEImageDescriptorFromString
to create an instance from a string value.


Ranjeev wrote:
>
>
> Hello there,
>
>
> I get the following exception stack trace...can anybody help.
>
> attached is the ecore file and the serialised xmi file.
>
> The code I used to save (which works fine):
>
> try {
> URL url =FileLocator.resolve(Platform.getBundle(
> Activator.PLUGIN_ID).getEntry
> ("resources/palette.xmi"));
>
> ResourceSet resourceSet = new ResourceSetImpl();
> resourceSet.getResourceFactoryRegistry()
> .getExtensionToFactoryMap().put("ecore",
> new EcoreResourceFactoryImpl());
> Resource resource = resourceSet.createResource
> (URI.createFileURI(url.getPath() + ""));
> EPackage pack = PaletteModelPackage.eINSTANCE;
> resourceSet.getPackageRegistry()
> .put(pack.getNsURI(), pack);
> resource.getContents().add(container);
> resource.save(Collections.EMPTY_MAP);
>
> } catch (IOException e) {
> // TODO Auto-generated catch block
> e.printStackTrace();
> }
>
> Code I used to Load...which gives me the exception is as below:
>
> try {
> // Initialize the model
> PaletteModelPackageImpl.init();
> // Register the XMI resource
> factory for the .website extension
> Resource.Factory.Registry
> reg = Resource.Factory.Registry.INSTANCE;
> Map<String, Object> m = reg
> .getExtensionToFactoryMap();
> m.put("ecore", new EcoreResourceFactoryImpl());
> // Obtain a new resource set
> ResourceSet resSet = new ResourceSetImpl();
> //get the url of the file location
> URL url = FileLocator.resolve(Platform.getBundle
> (Activator.PLUGIN_ID).getEntry
> ("resources/palette.xmi"));
> System.out.println("url is : "+url.getPath());
> // Get the resource
>
> Resource resource = resSet.getResource
> (URI.createFileURI(url.getPath()),true);
> // Get the first model element and
> // cast it to the PaletteContainer
> PaletteContainer container = (PaletteContainer)
> resource.getContents().get(0);
> return container;
>
> } catch (IOException e) {
> Activator.getDefault().getLog()
> .log(new DesignerCoreErrorStatus(e));
> }
>
> Thanks in Advance
> Ranjeev
>
>
> Exception Stack Trace:
>
>
> org.eclipse.emf.ecore.xmi.IllegalValueException: Value
> 'URLImageDescriptor(bundleentry://746/general/container.gif)' is not
> legal.
> (file:/C:/Projects/Telamon/com.backbase.designer.core/resour ces/palette.xmi,
> 3, 109)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLHandler.setFeatureValue(XM LHandler.java:2524)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMLHandler.setAttribValue(XML Handler.java:2578)
>
> at
> org.eclipse.emf.ecore.xmi.impl.SAXXMIHandler.handleObjectAtt ribs(SAXXMIHandler.java:76)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromFa ctory(XMLHandler.java:2058)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromFe atureType(XMLHandler.java:2024)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObject(XMLHa ndler.java:1900)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMIHandler.createObject(XMIHa ndler.java:131)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLH andler.java:1705)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XML Handler.java:974)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMIHandler.processElement(XMI Handler.java:87)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHa ndler.java:953)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHa ndler.java:684)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMIHandler.startElement(XMIHa ndler.java:167)
>
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .startElement(AbstractSAXParser.java:533)
>
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.j ava:878)
>
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFra gmentScannerImpl.java:1693)
>
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java: 368)
>
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(XML11Configuration.java:834)
>
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(XML11Configuration.java:764)
>
> at
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(X MLParser.java:148)
>
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse(AbstractSAXParser.java:1242)
>
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl. java:179)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLRes ourceImpl.java:180)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1354)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1155)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(ResourceSetImpl.java:256)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:271)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetImpl.java:398)
>
> at
> com.backbase.designer.palette.ui.PaletteCoreManager.getSeria lisedPaletteModel(PaletteCoreManager.java:187)
>
> at
> com.backbase.designer.palette.ui.PaletteCoreManager.getPalet teModel(PaletteCoreManager.java:120)
>
> at
> com.backbase.designer.palette.ui.viewers.DesignerPaletteView .createPartControl(DesignerPaletteView.java:36)
>
> at
> org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:370)
>
> at
> org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:227)
> at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:592)
>
> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:29 9)
> at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:53 1)
> at
> org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:179)
>
> at
> org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:268)
>
> at
> org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
>
> at
> org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:400)
>
> at
> org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
>
> at
> org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:668)
> at
> org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
> at
> org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:564)
>
> at
> org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:270)
>
> at
> org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:931)
> at
> org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPa ge.java:2515)
> at
> org.eclipse.ui.internal.WorkbenchWindow$23.run(WorkbenchWind ow.java:2837)
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
> at
> org.eclipse.ui.internal.WorkbenchWindow.setActivePage(Workbe nchWindow.java:2818)
>
> at
> org.eclipse.ui.internal.WorkbenchWindow$17.runWithException( WorkbenchWindow.java:2135)
>
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
>
> at
> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3659)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3296)
> at
> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:801)
>
> at
> org.eclipse.ui.internal.Workbench$25.runWithException(Workbe nch.java:1342)
>
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
>
> at
> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3659)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3296)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2309)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
>
> at
> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:169)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 508)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.IllegalArgumentException: The value
> 'URLImageDescriptor(bundleentry://746/general/container.gif)' is invalid.
> at
> org.eclipse.emf.ecore.impl.EFactoryImpl.createFromString(EFa ctoryImpl.java:439)
>
> at
> com.backbase.designer.palette.model.impl.PaletteModelFactory Impl.createEImageDescriptorFromString(PaletteModelFactoryImp l.java:162)
>
> at
> com.backbase.designer.palette.model.impl.PaletteModelFactory Impl.createFromString(PaletteModelFactoryImpl.java:85)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl.createFromStrin g(XMLHelperImpl.java:1600)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl.setValue(XMLHel perImpl.java:1141)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMLHandler.setFeatureValue(XM LHandler.java:2519)
>
> ... 83 more
>
Previous Topic:org.eclipse.emf.ecore.xmi.IllegalValueException: Value '' while loading the serialised model
Next Topic:[Announce] SBVR component proposal
Goto Forum:
  


Current Time: Tue Oct 21 00:45:18 GMT 2014

Powered by FUDForum. Page generated in 0.01907 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software