[ATL] Atl plugin problem ecore with referenced ecore [message #755012] |
Sun, 06 November 2011 19:15 |
giovi disanto Messages: 58 Registered: September 2011 |
Member |
|
|
Hi,
i've followed this two topics (http://www.eclipse.org/forums/index.php/t/217023/ and http://www.eclipse.org/forums/index.php/mv/msg/214674/686524/#msg_686524) but when i put the correct path of my two metamodel (IN and OUT metamodels) i receive these errors:
Resource for org.eclipse.emf.ecore.impl.EClassImpl@3af42ad0 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@2bd1e730 (eProxyURI: exp.ecore#//OpaqueExpression) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@1505bd58 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@16df1832 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@704f459c (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@409cb0f4 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@3af42ad0 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@3af42ad0 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@3af42ad0 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@2bd1e730 (eProxyURI: exp.ecore#//OpaqueExpression) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@1505bd58 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@16df1832 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@704f459c (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@3af42ad0 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@3af42ad0 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@2bd1e730 (eProxyURI: exp.ecore#//OpaqueExpression) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@1505bd58 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@16df1832 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@704f459c (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@409cb0f4 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@704f459c (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@704f459c (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@2bd1e730 (eProxyURI: exp.ecore#//OpaqueExpression) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@1505bd58 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@704f459c (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@3af42ad0 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@2bd1e730 (eProxyURI: exp.ecore#//OpaqueExpression) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@1505bd58 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@16df1832 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@704f459c (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@409cb0f4 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@3af42ad0 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@3af42ad0 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@2bd1e730 (eProxyURI: exp.ecore#//OpaqueExpression) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@1505bd58 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@3af42ad0 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@3af42ad0 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@2bd1e730 (eProxyURI: exp.ecore#//OpaqueExpression) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@1505bd58 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@16df1832 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@704f459c (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@409cb0f4 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@16df1832 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@3af42ad0 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@2bd1e730 (eProxyURI: exp.ecore#//OpaqueExpression) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@1505bd58 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@16df1832 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@704f459c (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@409cb0f4 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@44d3db51 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@9d7fbfb (eProxyURI: exp.ecore#//OpaqueExpression) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@39e57e8f (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@8888e6c (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@4839e5b5 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@671381e7 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@44d3db51 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@44d3db51 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@44d3db51 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@9d7fbfb (eProxyURI: exp.ecore#//OpaqueExpression) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@39e57e8f (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@8888e6c (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@4839e5b5 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@44d3db51 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@44d3db51 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@9d7fbfb (eProxyURI: exp.ecore#//OpaqueExpression) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@39e57e8f (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@8888e6c (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@4839e5b5 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@671381e7 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@4839e5b5 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@4839e5b5 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@9d7fbfb (eProxyURI: exp.ecore#//OpaqueExpression) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@39e57e8f (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@4839e5b5 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@44d3db51 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@9d7fbfb (eProxyURI: exp.ecore#//OpaqueExpression) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@39e57e8f (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@8888e6c (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@4839e5b5 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@671381e7 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@44d3db51 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@44d3db51 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@9d7fbfb (eProxyURI: exp.ecore#//OpaqueExpression) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@39e57e8f (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@44d3db51 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@44d3db51 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@9d7fbfb (eProxyURI: exp.ecore#//OpaqueExpression) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@39e57e8f (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@8888e6c (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@4839e5b5 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@671381e7 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@8888e6c (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@44d3db51 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@9d7fbfb (eProxyURI: exp.ecore#//OpaqueExpression) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@39e57e8f (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@8888e6c (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@4839e5b5 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@671381e7 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
Resource for org.eclipse.emf.ecore.impl.EClassImpl@4839e5b5 (eProxyURI: named.ecore#//NamedElement) is null; cannot be referenced
org.eclipse.m2m.atl.core.ATLCoreException: Error loading /home/nino/eclipse/mngr2ctxmngr/source/manager1.mngr: org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'name' not found. (file:///home/nino/eclipse/mngr2ctxmngr/source/manager1.mngr, 3, 126)
at org.eclipse.m2m.atl.core.emf.EMFInjector.inject(EMFInjector.java:70)
at org.eclipse.m2m.atl.core.emf.EMFInjector.inject(EMFInjector.java:84)
at mngr2ctxmngr.ATLplugin.files.Mngr2ctxmngr.loadModels(Mngr2ctxmngr.java:132)
at mngr2ctxmngr.ATLplugin.files.Mngr2ctxmngr.main(Mngr2ctxmngr.java:86)
Caused by: org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'name' not found. (file:///home/nino/eclipse/mngr2ctxmngr/source/manager1.mngr, 3, 126)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:315)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:397)
at org.eclipse.m2m.atl.core.emf.EMFInjector.inject(EMFInjector.java:65)
... 3 more
Caused by: org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'name' not found. (file:///home/nino/eclipse/mngr2ctxmngr/source/manager1.mngr, 3, 126)
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:80)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromFactory(XMLHandler.java:2193)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromFeatureType(XMLHandler.java:2159)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObject(XMLHandler.java:2035)
at org.eclipse.emf.ecore.xmi.impl.XMIHandler.createObject(XMIHandler.java:134)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLHandler.java:1840)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:1023)
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 org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:712)
at org.eclipse.emf.ecore.xmi.impl.XMIHandler.startElement(XMIHandler.java:169)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2755)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:181)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:242)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1511)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1290)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:255)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:270)
... 5 more
I think problem is that my two ecore file loads other ecore files as resource and use elements defined there. The atl plugin didn't see them. there is any way to solve this problem?
[Updated on: Sun, 06 November 2011 19:19] Report message to a moderator
|
|
|
|
Re: [ATL] Atl plugin problem ecore with referenced ecore [message #755089 is a reply to message #755056] |
Mon, 07 November 2011 11:04 |
giovi disanto Messages: 58 Registered: September 2011 |
Member |
|
|
Hi Ed Merks and thank you for reply. As you suggest i tried to use nsUris of my metamodel. In this case: http://www.kermeta.org/mngr and http://www.kermeta.org/ctxmngr. But the plugin use this as a path and throw a FileNotFound exception:
Quote:
org.eclipse.m2m.atl.core.ATLCoreException: Error loading http://www.kermeta.org/mngr: java.io.FileNotFoundException: http://www.kermeta.org/mngr
at org.eclipse.m2m.atl.core.emf.EMFInjector.inject(EMFInjector.java:70)
at org.eclipse.m2m.atl.core.emf.EMFInjector.inject(EMFInjector.java:84)
at mngr2ctxmngr.ATLplugin.files.Mngr2ctxmngr.loadModels(Mngr2ctxmngr.java:128)
at mngr2ctxmngr.ATLplugin.files.Mngr2ctxmngr.main(Mngr2ctxmngr.java:86)
Caused by: org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: java.io.FileNotFoundException: http://www.kermeta.org/mngr
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:315)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:397)
at org.eclipse.m2m.atl.core.emf.EMFInjector.inject(EMFInjector.java:65)
do i need to register my package?
[Updated on: Mon, 07 November 2011 11:07] Report message to a moderator
|
|
|
|
|
Re: [ATL] Atl plugin problem ecore with referenced ecore [message #755190 is a reply to message #755182] |
Mon, 07 November 2011 16:10 |
giovi disanto Messages: 58 Registered: September 2011 |
Member |
|
|
Ok! i've recreated the atl plugin and in wizard when it ask to select in and out metamodel i selected "browse" button and i chose from registred metamodel my two metamodel and now eProxyUri problem is solved but i've another error:
Quote:
Metamodel contains several classifiers with same name: Element
Metamodel contains several classifiers with same name: Element
org.eclipse.m2m.atl.engine.emfvm.VMException: mngr.impl.ManagerStateImpl
at __applyRoot#38(mngr2ctxmngrND.atl[15:4-15:58])
local variables: self=mngr2ctxmngrND : ASMModule, link=TransientLink {rule = Root, sourceElements = {i2 = mngr.impl.ManagerImpl@4b142196 (name: null, qualifiedName: null), i1 = mngr.impl.ManagerImpl@362f0d54 (name: null, qualifiedName: null)}, targetElements = {o = ctxmngr.impl.ContextManagerImpl@25961581 (name: null, qualifiedName: null)}, variables = {}}, i1=IN1!<unnamed>, i2=IN2!<unnamed>, o=OUT!<unnamed>
at __exec__#8(mngr2ctxmngrND.atl)
local variables: self=mngr2ctxmngrND : ASMModule, e=TransientLink {rule = Root, sourceElements = {i2 = mngr.impl.ManagerImpl@4b142196 (name: null, qualifiedName: null), i1 = mngr.impl.ManagerImpl@362f0d54 (name: null, qualifiedName: null)}, targetElements = {o = ctxmngr.impl.ContextManagerImpl@25961581 (name: null, qualifiedName: null)}, variables = {}}
at main#24(mngr2ctxmngrND.atl)
local variables: self=mngr2ctxmngrND : ASMModule
Java Stack:
org.eclipse.m2m.atl.engine.emfvm.VMException: mngr.impl.ManagerStateImpl
at org.eclipse.m2m.atl.engine.emfvm.adapter.EMFModelAdapter.set(EMFModelAdapter.java:684)
at org.eclipse.m2m.atl.engine.emfvm.ASMOperation.exec(ASMOperation.java:474)
at org.eclipse.m2m.atl.engine.emfvm.ASMOperation.exec(ASMOperation.java:388)
at org.eclipse.m2m.atl.engine.emfvm.ASMOperation.exec(ASMOperation.java:388)
at org.eclipse.m2m.atl.engine.emfvm.ASM.run(ASM.java:208)
at org.eclipse.m2m.atl.engine.emfvm.launch.EMFVMLauncher.internalLaunch(EMFVMLauncher.java:170)
at org.eclipse.m2m.atl.engine.emfvm.launch.EMFVMLauncher.launch(EMFVMLauncher.java:139)
at mngr2ctxmngr.atlplugin.files.Mngr2ctxmngr.doMngr2ctxmngr(Mngr2ctxmngr.java:179)
at mngr2ctxmngr.atlplugin.files.Mngr2ctxmngr.main(Mngr2ctxmngr.java:88)
Caused by: java.lang.ArrayStoreException: mngr.impl.ManagerStateImpl
at org.eclipse.emf.common.util.BasicEList.assign(BasicEList.java:124)
at org.eclipse.emf.common.util.BasicEList.addUnique(BasicEList.java:424)
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.doAddUnique(NotifyingListImpl.java:331)
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(NotifyingListImpl.java:315)
at org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:307)
at org.eclipse.m2m.atl.engine.emfvm.adapter.EMFModelAdapter.set(EMFModelAdapter.java:615)
... 8 more
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03180 seconds