It's all about the answers!

Ask a question

Error loading model in Design Manager


Jonathan Badcock (63) | asked Aug 31 '11, 1:23 p.m.
Hi,


Getting an exception thrown when I am trying to load a model from a local workspace. It is a UML model with a UML profile. I created the model in 7.5.5.4 and imported into 8.0.3 and then upgraded it to an 8.0.3 and then imported it into DM 3.1 using the 3.1 import engine. I have other models loaded successfully

Exception: 500 (CRITICAL) :Feature 'version' not found. (platform:/resource/HSBCModelExample/HSBCAnalysisTemplate.emx, 31965, 163)
User: https://gbl01167.systems.uk.hsbc:9401/jts/users/43348206
NO REQUEST STRINGorg.eclipse.emf.ecore.resource.Resource$IOWrappedException: Feature 'version' not found. (platform:/resource/HSBCModelExample/HSBCAnalysisTemplate.emx, 31965, 163)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.handleErrors(XMLLoadImpl.java:83)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:191)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:180)
at com.ibm.xtools.rmps.core.RmpsResourceFactory$ResourceImpl.doLoad(RmpsResourceFactory.java:556)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1494)
at com.ibm.xtools.rmps.importer.converter.internal.ImporterResourceConverterHelper$5.processInputStream(ImporterResourceConverterHelper.java:1266)
at com.ibm.xtools.rmps.frontservice.resourcemanager.internal.JfsResourceManager.readBinaryResource(JfsResourceManager.java:259)
at com.ibm.xtools.rmps.frontservice.resourcemanager.internal.JfsResourceManager.readBinaryResource(JfsResourceManager.java:241)
at com.ibm.xtools.rmps.importer.converter.internal.ImporterResourceConverterHelper.loadResource(ImporterResourceConverterHelper.java:1262)
at com.ibm.xtools.rmps.core.emf.EmfResourceConverter.convertResources(EmfResourceConverter.java:165)
at com.ibm.xtools.rmps.importer.converter.internal.ImporterConverterService$2.doExecute(ImporterConverterService.java:370)
at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)
at com.ibm.xtools.rmps.importer.converter.internal.ImporterConverterService.internalConvert(ImporterConverterService.java:382)
at com.ibm.xtools.rmps.importer.converter.internal.ImporterConverterService.convert(ImporterConverterService.java:135)
at com.ibm.xtools.rmps.importer.requests.internal.ImportRequest.importModelData(ImportRequest.java:821)
at com.ibm.xtools.rmps.importer.requests.internal.ImportRequest.run(ImportRequest.java:322)
at com.ibm.xtools.rmps.core.servicemanager.RmpsNorvoServiceCallable.invokeRunnable(RmpsNorvoServiceCallable.java:47)
at com.ibm.xtools.rmps.frontservice.servicemanager.internal.RmpsServiceCallable.call(RmpsServiceCallable.java:94)
at com.ibm.xtools.rmps.core.servicemanager.RmpsNorvoServiceCallable.call(RmpsNorvoServiceCallable.java:66)
at com.ibm.xtools.rmps.frontservice.servicemanager.internal.RmpsServiceCallable.call(RmpsServiceCallable.java:1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:284)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:678)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:703)
at java.lang.Thread.run(Thread.java:811)
Caused by: org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'version' not found. (platform:/resource/HSBCModelExample/HSBCAnalysisTemplate.emx, 31965, 163)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.reportUnknownFeature(XMLHandler.java:1991)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleUnknownFeature(XMLHandler.java:1955)
at org.eclipse.emf.ecore.xmi.impl.XMIHandler.handleUnknownFeature(XMIHandler.java:151)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.setAttribValue(XMLHandler.java:2709)
at org.eclipse.emf.ecore.xmi.impl.SAXXMIHandler.handleObjectAttribs(SAXXMIHandler.java:85)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromFactory(XMLHandler.java:2193)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectByType(XMLHandler.java:1330)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createTopObject(XMLHandler.java:1468)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:1019)
at org.eclipse.emf.ecore.xmi.impl.XMIHandler.processElement(XMIHandler.java:87)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:1001)
at com.ibm.xtools.rmps.core.RmpsResourceFactory$ResourceImpl$1$1.startElement(RmpsResourceFactory.java:377)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:712)
at org.eclipse.emf.ecore.xmi.impl.XMIHandler.startElement(XMIHandler.java:169)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:181)
... 23 more

One answer



permanent link
Jin Zhou (591619) | answered Sep 16 '13, 11:10 p.m.
edited Sep 16 '13, 11:14 p.m.
my understanding is if client using Rhapsody 8.0.x, the model should be imported into DM server side with version 4.0 or higher.

Considering you are using Rhapsody 8.0.3, how about install/upgrade to RDM 4.0.3 or higher version.
The import error should be gone.

There could be some domain definitions changed from 3.0.x to 4.0.x hence some models are not affected and possible to be successfully imported.

I recommend you to migrate to later version or RDM.

Regards
--Jin

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.