Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [XPAND] Workflow problem
[XPAND] Workflow problem [message #632530] Wed, 13 October 2010 10:36
pkojo is currently offline pkojoFriend
Messages: 27
Registered: October 2009
Junior Member
Hi,

Previously everything was working fine, now I have added some more elements in UML models and exported it from Magic draw and tried to run the workflow and got following problem. What should be the problem. I am new to Xpand, does some one has a idea how to resolve it.


0 INFO WorkflowRunner - ------------------------------------------------------------ --------------------------
0 INFO WorkflowRunner - EMF Modeling Workflow Engine 1.0.0, Build v201005250425
0 INFO WorkflowRunner - (c) 2005-2009 openarchitectureware.org and contributors
0 INFO WorkflowRunner - ------------------------------------------------------------ --------------------------
0 INFO WorkflowRunner - running workflow: C:/Workspace_xtend/test.uml2.models/src/Workflow_files/test2 .1.mwe
0 INFO WorkflowRunner -
3360 INFO CompositeComponent - XmiReader: file 'TestModel/test2.1/test2.1.uml' => slot 'modelSlot'
9000 ERROR WorkflowRunner - org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Unresolved reference '/-1'. (file:/C:/Workspace_xtend/test.uml2.models/TestModel/test2.1 /test2.1.uml, 736, 187)
org.eclipse.emf.mwe.core.ConfigurationException: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Unresolved reference '/-1'. (file:/C:/Workspace_xtend/test.uml2.models/TestModel/test2.1 /test2.1.uml, 736, 187)
at org.eclipse.xtend.typesystem.emf.XmiReader.invokeInternal(Xm iReader.java:140)
at org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent.invok e(AbstractWorkflowComponent.java:126)
at org.eclipse.emf.mwe.core.container.CompositeComponent.intern alInvoke(CompositeComponent.java:104)
at org.eclipse.emf.mwe.core.container.CompositeComponent.invoke (CompositeComponent.java:89)
at org.eclipse.emf.mwe.core.WorkflowRunner.executeWorkflow(Work flowRunner.java:408)
at org.eclipse.emf.mwe.core.WorkflowRunner.run(WorkflowRunner.j ava:293)
at org.eclipse.emf.mwe.core.WorkflowRunner.main(WorkflowRunner. java:241)
Caused by: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Unresolved reference '/-1'. (file:/C:/Workspace_xtend/ test.uml2.models/TestModel/test2.1 /test2.1.uml, 736, 187)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.handleErrors(XMLL oadImpl.java:83)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl. java:191)
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:1494)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1282)
at org.eclipse.xtend.typesystem.emf.XmiReader.invokeInternal(Xm iReader.java:137)
... 6 more
Caused by: org.eclipse.emf.ecore.xmi.UnresolvedReferenceException: Unresolved reference '/-1'. (file:/C:/Workspace_xtend/test.uml2.models/TestModel/test2.1 /test2.1.uml, 736, 187)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleForwardRefer ences(XMLHandler.java:1154)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.endDocument(XMLHan dler.java:1228)
at org.eclipse.uml2.uml.internal.resource.UMLHandler.endDocumen t(UMLHandler.java:55)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .endDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(U nknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSA XParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl. java:181)
... 10 more
Previous Topic:[Xpand] Debugging
Next Topic:[Acceleo] How to traduct s.Fields ->collect(field|field.name='toto').notEmpty()
Goto Forum:
  


Current Time: Wed Dec 11 22:30:09 GMT 2024

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

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

Back to the top