Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Atl plugin problem ecore with referenced ecore
[ATL] Atl plugin problem ecore with referenced ecore [message #755012] Sun, 06 November 2011 19:15 Go to next message
giovi disanto is currently offline 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 #755056 is a reply to message #755012] Mon, 07 November 2011 08:51 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26127
Registered: July 2009
Senior Member
A problem like this (where the proxy URI is relative) is most likely
caused by not using an absolute URI to load the initial Ecore model.

On 06/11/2011 8:15 PM, giovi wrote:
> Hi,
>
> i've followed this two topic 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?
Re: [ATL] Atl plugin problem ecore with referenced ecore [message #755089 is a reply to message #755056] Mon, 07 November 2011 11:04 Go to previous messageGo to next message
giovi disanto is currently offline 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 #755182 is a reply to message #755089] Mon, 07 November 2011 15:48 Go to previous messageGo to next message
giovi disanto is currently offline giovi disanto
Messages: 58
Registered: September 2011
Member
if i make plugins of my emf projects the 2 metamodels are correctly registered but it still not work....
Re: [ATL] Atl plugin problem ecore with referenced ecore [message #755185 is a reply to message #755089] Mon, 07 November 2011 15:54 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26127
Registered: July 2009
Senior Member
I wasn't suggesting that. I was suggesting an absolute physical URI.
E.g., file:/c:/..../Foo.ecore, http://..../Foo.ecore or something like that.
What did you use?

On 07/11/2011 12:04 PM, giovi wrote:
> 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)
>
Re: [ATL] Atl plugin problem ecore with referenced ecore [message #755190 is a reply to message #755182] Mon, 07 November 2011 16:10 Go to previous messageGo to next message
giovi disanto is currently offline 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

Re: [ATL] Atl plugin problem ecore with referenced ecore [message #755204 is a reply to message #755190] Mon, 07 November 2011 16:32 Go to previous messageGo to next message
giovi disanto is currently offline giovi disanto
Messages: 58
Registered: September 2011
Member
This error appear when i enable inter model references with this option: "Mngr2ctxmngr.options.allowInterModelReferences = true"
Without this option transformation work but inter model references are not treated.... someone can help me?

[Updated on: Mon, 07 November 2011 19:29]

Report message to a moderator

Re: [ATL] Atl plugin problem ecore with referenced ecore [message #755470 is a reply to message #755204] Tue, 08 November 2011 15:37 Go to previous message
giovi disanto is currently offline giovi disanto
Messages: 58
Registered: September 2011
Member
i've also tried to use a specific path as suggest. The initial problem is solved also in this case but not the second problem.... I forgot to say second metamodel load as resource first metamodel because use as reference some element of it.
Previous Topic:[ATL] EMFInjector and Resource
Next Topic:Partial parsing to an EObject which contains a cross reference across grammars
Goto Forum:
  


Current Time: Tue Oct 21 07:11:41 GMT 2014

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

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