Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EEF](Generate EEF Architecture error)
[EEF] [message #1807930] Wed, 12 June 2019 17:54 Go to next message
Claudia Irvine is currently offline Claudia IrvineFriend
Messages: 25
Registered: July 2015
Junior Member
We have numerous Ecore models that we are using EEF properties view with. We can no longer generate the properties pages. We are using Eclipse 4.11 with EEF 2.1.2 and Extended Editing Framework 1.5.1. When rt-clicking an eefgen file > EEF > Generate EEF Architecture, we get the following error:

org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.eclipse.emf.ecore.xmi.UnresolvedReferenceException: Unresolved reference '/0/declareEObjectUpdater.1/editionElement'. (file:/C:/Eclipse/eclipse-latest/configuration/org.eclipse.osgi/464/0/.cp/org/eclipse/emf/eef/codegen/widgets/impl/imageviewer/imageViewerControl.emtl, 566, 135)
	at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:319)
	at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:278)
	at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:406)
	at org.eclipse.acceleo.common.utils.ModelUtils.load(ModelUtils.java:391)
	at org.eclipse.acceleo.common.utils.ModelUtils.load(ModelUtils.java:356)
	at org.eclipse.acceleo.common.utils.ModelUtils.load(ModelUtils.java:233)
	at org.eclipse.acceleo.engine.internal.environment.AcceleoEvaluationEnvironment.loadDynamicModules(AcceleoEvaluationEnvironment.java:829)
	at org.eclipse.acceleo.engine.internal.environment.AcceleoEvaluationEnvironment.mapDynamicOverrides(AcceleoEvaluationEnvironment.java:938)
	at org.eclipse.acceleo.engine.internal.environment.AcceleoEvaluationEnvironment.<init>(AcceleoEvaluationEnvironment.java:173)
	at org.eclipse.acceleo.engine.internal.environment.AcceleoEnvironmentFactory.createEvaluationEnvironment(AcceleoEnvironmentFactory.java:124)
	at org.eclipse.ocl.internal.evaluation.QueryImpl.getEvaluationEnvironment(QueryImpl.java:280)
	at org.eclipse.ocl.ecore.QueryImpl.getEvaluationEnvironment(QueryImpl.java:68)
	at org.eclipse.acceleo.engine.generation.AcceleoEngine.doEvaluate(AcceleoEngine.java:353)
	at org.eclipse.acceleo.engine.generation.AcceleoEngine.evaluate(AcceleoEngine.java:142)
	at org.eclipse.acceleo.engine.service.AcceleoService.doGenerateTemplate(AcceleoService.java:984)
	at org.eclipse.acceleo.engine.service.AcceleoService.doGenerate(AcceleoService.java:641)
	at org.eclipse.acceleo.engine.service.AbstractAcceleoGenerator.generate(AbstractAcceleoGenerator.java:209)
	at org.eclipse.acceleo.engine.service.AbstractAcceleoGenerator.generate(AbstractAcceleoGenerator.java:172)
	at org.eclipse.acceleo.engine.service.AbstractAcceleoGenerator.doGenerate(AbstractAcceleoGenerator.java:159)
	at org.eclipse.emf.eef.codegen.launcher.EEFLauncher.doGenerate(EEFLauncher.java:232)
	at org.eclipse.emf.eef.codegen.ui.generators.common.GenerateAll.doGenerate(GenerateAll.java:102)
	at org.eclipse.emf.eef.codegen.ui.generators.actions.AbstractGenerateEEFAction$1.run(AbstractGenerateEEFAction.java:102)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: org.eclipse.emf.ecore.xmi.UnresolvedReferenceException: Unresolved reference '/0/declareEObjectUpdater.1/editionElement'. (file:/C:/Eclipse/eclipse-latest/configuration/org.eclipse.osgi/464/0/.cp/org/eclipse/emf/eef/codegen/widgets/impl/imageviewer/imageViewerControl.emtl, 566, 135)
	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleForwardReferences(XMLHandler.java:1197)
	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.endDocument(XMLHandler.java:1282)
	at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endDocument(AbstractSAXParser.java:746)
	at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:539)
	at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:888)
	at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:824)
	at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
	at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
	at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:635)
	at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:324)
	at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:175)
	at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:261)
	at org.eclipse.acceleo.model.mtl.resource.EMtlResourceImpl.doLoad(EMtlResourceImpl.java:93)
	at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1563)
	at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1342)
	at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:259)
	at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
	... 21 more


I did not find any bug tickets in reference to this.
Re: [EEF] [message #1807946 is a reply to message #1807930] Thu, 13 June 2019 04:48 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6458
Registered: July 2009
Senior Member
Hi

See https://www.eclipse.org/forums/index.php/mv/msg/1098273/1806509/#msg_1806509

Use Acceleo 3.7.8. http://download.eclipse.org/acceleo/updates/releases/3.7/R201902261618/?d

Regards

Ed Willink
Re: [EEF] [message #1807968 is a reply to message #1807946] Thu, 13 June 2019 12:27 Go to previous message
Claudia Irvine is currently offline Claudia IrvineFriend
Messages: 25
Registered: July 2015
Junior Member
That worked. Thanks so much.
Previous Topic:EMF Refactor & Modisco Java model
Next Topic:Modeling Symposium @ EclipseCon Europe 2019
Goto Forum:
  


Current Time: Sun Sep 22 19:03:34 GMT 2019

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

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

Back to the top