Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Xpand] Error in reading diagram files from GMF editor
[Xpand] Error in reading diagram files from GMF editor [message #513862] Thu, 11 February 2010 14:19
Syed Imran is currently offline Syed ImranFriend
Messages: 25
Registered: October 2009
Location: Ireland
Junior Member
Hi,



When running workflow on the generated diagram files of EMF-GMF editor
models I got this error.

Any idea?? What should I do to solve it?

I have already put 'http://www.eclipse.org/gmf/runtime/1.0.2/notation' in
classpath of my project but still the problem persist.





0 INFO
WorkflowRunner - ------------------------------------------------------------ --------------------------

0 INFO WorkflowRunner - openArchitectureWare 4.3.1, Build
200905111041NGT

0 INFO WorkflowRunner - (c) 2005-2008 openarchitectureware.org and
contributors

0 INFO
WorkflowRunner - ------------------------------------------------------------ --------------------------

0 INFO WorkflowRunner - running workflow: workflow.oaw

0 INFO WorkflowRunner -

594 INFO CompositeComponent - XmiReader(xmiParser): file
'example.data_diagram' => slot 'model'

1266 ERROR WorkflowRunner -
org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with uri
'http://www.eclipse.org/gmf/runtime/1.0.2/notation' not found.
(file:/E:/Eclipse_workspace/Bismillah_M2T/Data.generator/bin /example.data_diagram,
2, 309)

org.openarchitectureware.workflow.ConfigurationException:
org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with uri
'http://www.eclipse.org/gmf/runtime/1.0.2/notation' not found.
(file:/E:/Eclipse_workspace/Prac_M2T/Data.generator/bin/exam ple.data_diagram,
2, 309)

at org.openarchitectureware.emf.XmiReader.invoke(XmiReader.java :139)

at
org.openarchitectureware.workflow.container.CompositeCompone nt.internalInvoke(CompositeComponent.java:129)

at
org.openarchitectureware.workflow.container.CompositeCompone nt.invoke(CompositeComponent.java:112)

at
org.openarchitectureware.workflow.WorkflowRunner.executeWork flow(WorkflowRunner.java:380)

at
org.openarchitectureware.workflow.WorkflowRunner.run(Workflo wRunner.java:261)

at
org.openarchitectureware.workflow.WorkflowRunner.main(Workfl owRunner.java:213)

Caused by: org.eclipse.emf.ecore.resource.Resource$IOWrappedException:
Package with uri 'http://www.eclipse.org/gmf/runtime/1.0.2/notation' not
found.
(file:/E:/Eclipse_workspace/Prac_M2T/Data.generator/bin/exam ple.data_diagram,
2, 309)

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.openarchitectureware.emf.XmiReader.invoke(XmiReader.java :136)

... 5 more

Caused by: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with
uri 'http://www.eclipse.org/gmf/runtime/1.0.2/notation' not found.
(file:/E:/Eclipse_workspace/Prac_M2T/Data.generator/bin/exam ple.data_diagram,
2, 309)

at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(X MLHandler.java:2590)

at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.getFactoryForPrefi x(XMLHandler.java:2421)

at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectByType (XMLHandler.java:1299)

at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.createTopObject(XM LHandler.java:1468)

at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XML Handler.java:1019)

at
org.eclipse.emf.ecore.xmi.impl.XMIHandler.processElement(XMI Handler.java:83)

at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHa ndler.java:1001)

at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHa ndler.java:712)

... 9 more
Previous Topic:[JET] writing into files
Next Topic:Graphical editor model files for oAW workflow
Goto Forum:
  


Current Time: Sat Dec 20 21:42:43 GMT 2014

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

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