Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Errors when generating the Diagram Editor using GMF (I get the following error during the last phase of GMF (i.e.: generating diagram editor) )
Errors when generating the Diagram Editor using GMF [message #1771916] Fri, 01 September 2017 05:20 Go to next message
Nipuni Perera is currently offline Nipuni PereraFriend
Messages: 3
Registered: September 2017
Junior Member
I get the following error during the last phase of GMF (i.e.: generating diagram editor)

java.lang.NoClassDefFoundError: org/eclipse/m2m/internal/qvt/oml/runtime/project/BundleUnitResolver
at org.eclipse.gmf.internal.xpand.util.BundleResourceManager.getQVTUnitResolver(BundleResourceManager.java:118)
at org.eclipse.gmf.internal.xpand.util.ResourceManagerImpl.getQvtCompiler(ResourceManagerImpl.java:97)
at org.eclipse.gmf.internal.xpand.util.ResourceManagerImpl.doLoadQvtResource(ResourceManagerImpl.java:75)
at org.eclipse.gmf.internal.xpand.util.ResourceManagerImpl.loadQvtResourceThroughCache(ResourceManagerImpl.java:63)
at org.eclipse.gmf.internal.xpand.util.ResourceManagerImpl.loadQvtResource(ResourceManagerImpl.java:46)
at org.eclipse.gmf.internal.xpand.model.Scope.findExtension(Scope.java:148)
at org.eclipse.gmf.internal.xpand.model.ExecutionContextImpl.getImportedModules(ExecutionContextImpl.java:293)
at org.eclipse.gmf.internal.xpand.model.ExecutionContextImpl.getOCLEnvironment(ExecutionContextImpl.java:254)
at org.eclipse.gmf.internal.xpand.ocl.TypeHelper.getTypeForName(TypeHelper.java:35)
at org.eclipse.gmf.internal.xpand.model.ExecutionContextImpl.findDefinition(ExecutionContextImpl.java:231)
at org.eclipse.gmf.internal.xpand.model.ExecutionContextImpl.findDefinition(ExecutionContextImpl.java:167)
at org.eclipse.gmf.internal.xpand.XpandFacade.evaluate(XpandFacade.java:54)
at org.eclipse.gmf.internal.common.codegen.XpandTextEmitter.generate(XpandTextEmitter.java:64)
at org.eclipse.gmf.internal.common.codegen.GeneratorBase.doGenerateJavaClass(GeneratorBase.java:347)
at org.eclipse.gmf.codegen.util.Generator.generateExternalizationSupport(Generator.java:892)
at org.eclipse.gmf.codegen.util.Generator.customRun(Generator.java:135)
at org.eclipse.gmf.internal.common.codegen.GeneratorBase$1.run(GeneratorBase.java:486)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2262)
at org.eclipse.gmf.internal.common.codegen.GeneratorBase.doRun(GeneratorBase.java:483)
at org.eclipse.gmf.internal.common.codegen.GeneratorBase.run(GeneratorBase.java:90)
at org.eclipse.gmf.internal.codegen.popup.actions.ExecuteTemplatesOperation.run(ExecuteTemplatesOperation.java:226)
at org.eclipse.gmf.internal.codegen.popup.actions.ExecuteTemplatesOperation$1.run(ExecuteTemplatesOperation.java:122)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

Can someone suggest a solution?
Thanks
Re: Errors when generating the Diagram Editor using GMF [message #1771988 is a reply to message #1771916] Sat, 02 September 2017 16:44 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3017
Registered: July 2009
Senior Member

Can you provide some details of the installation? The versions of Eclipse and the Java Runtime? How exactly you installed them? Whether this is always a problem or just happened one time?

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Errors when generating the Diagram Editor using GMF [message #1772087 is a reply to message #1771988] Tue, 05 September 2017 11:52 Go to previous messageGo to next message
Nipuni Perera is currently offline Nipuni PereraFriend
Messages: 3
Registered: September 2017
Junior Member
This happens all the time I try to generate the diagram editor.
I am using Eclipse Oxygen version Version: Oxygen Release (4.7.0)
Build id: 20170620-1800

Java version 8 update 144 (build 1.8.0_144-b01)
Also I have installed other plugins such as:

Buildship: Eclipse Plug-ins for Gradle 2.0.2.v20170420-0909 org.eclipse.buildship.feature.group Eclipse Buildship
CDO Model Repository Client 2.0.0.v200906221520 org.eclipse.emf.cdo.feature.group Eclipse Modeling Project
CDO Model Repository Client Source 2.0.0.v200906221520 org.eclipse.emf.cdo.source.feature.group Eclipse Modeling Project
CDO Model Repository Definitions 2.0.0.v200906221520 org.eclipse.emf.cdo.defs.feature.group Eclipse Modeling Project
CDO Model Repository Definitions Source 2.0.0.v200906221520 org.eclipse.emf.cdo.defs.source.feature.group Eclipse Modeling Project
CDO Model Repository Documentation 2.0.0.v200906221520 org.eclipse.emf.cdo.doc.feature.group Eclipse Modeling Project
CDO Model Repository Examples 2.0.0.v200906221520 org.eclipse.emf.cdo.examples.feature.group Eclipse Modeling Project
CDO Model Repository Examples Source 2.0.0.v200906221520 org.eclipse.emf.cdo.examples.source.feature.group Eclipse Modeling Project
CDO Model Repository SDK 2.0.0.v200906221520 org.eclipse.emf.cdo.sdk.feature.group Eclipse Modeling Project
CDO Model Repository Server 2.0.0.v200906221520 org.eclipse.emf.cdo.server.feature.group Eclipse Modeling Project
CDO Model Repository Server Hibernate 2.0.0.v200906221520 org.eclipse.emf.cdo.server.hibernate.feature.group Eclipse Modeling Project
CDO Model Repository Server Hibernate Source 2.0.0.v200906221520 org.eclipse.emf.cdo.server.hibernate.source.feature.group Eclipse Modeling Project
CDO Model Repository Server Source 2.0.0.v200906221520 org.eclipse.emf.cdo.server.source.feature.group Eclipse Modeling Project
Code Recommenders for Java Developers 2.4.9.v20170613-1301 org.eclipse.recommenders.rcp.feature.feature.group Eclipse Code Recommenders
Code Recommenders Mylyn Integration 2.4.9.v20170613-1301 org.eclipse.recommenders.mylyn.rcp.feature.feature.group Eclipse Code Recommenders
Code Recommenders Snipmatch 2.4.9.v20170613-1301 org.eclipse.recommenders.snipmatch.rcp.feature.feature.group Eclipse Code Recommenders
EclEmma Java Code Coverage 3.0.0.201706140232 org.eclipse.eclemma.feature.feature.group Eclipse EclEmma
Eclipse Color Theme 1.0.0.201410260308 com.github.eclipsecolortheme.feature.feature.group GitHub
Eclipse IDE for Java Developers 4.7.0.20170620-1800 epp.package.java Eclipse Packaging Project
Eclipse Java Development Tools 3.13.0.v20170612-0950 org.eclipse.jdt.feature.group Eclipse.org
Eclipse Platform 4.7.0.v20170612-1255 org.eclipse.platform.feature.group Eclipse.org
Eclipse RCP 4.7.0.v20170612-1255 org.eclipse.rcp.feature.group Eclipse.org
Eclipse XML Editors and Tools 3.9.0.v201706011851 org.eclipse.wst.xml_ui.feature.feature.group Eclipse Web Tools Platform
EMF Compare 1.1.1.v201009150438 org.eclipse.emf.compare.feature.group Eclipse Modeling project
EMF Compare Documentation 1.1.0.v201009150438 org.eclipse.emf.compare.doc.feature.group Eclipse Modeling project
EMF Compare SDK 1.1.1.v201009150438 org.eclipse.emf.compare.sdk.feature.group Eclipse Modeling Project
EMF Compare Source 1.1.1.v201009150438 org.eclipse.emf.compare.source.feature.group Eclipse Modeling Project
EMF Compare Subversive Integration 1.1.1.v201009150438 org.eclipse.emf.compare.team.subversive.feature.group Eclipse Modeling Project
EMF Compare Subversive Integration Source 1.1.1.v201009150438 org.eclipse.emf.compare.team.subversive.source.feature.group Eclipse Modeling Project
EMF Compare UI capabilities 1.1.1.v201009150438 org.eclipse.emf.compare.ui.capabilities.feature.group Eclipse Modeling Project
EMF Compare UI Capabilities Source 1.1.1.v201009150438 org.eclipse.emf.compare.ui.capabilities.source.feature.group Eclipse Modeling Project
EMF Examples Source 2.5.0.v200906151043 org.eclipse.emf.examples.source.feature.group Eclipse Modeling Project
EMF Model Query Examples Source 1.6.0.v20120425-2310 org.eclipse.emf.query.examples.source.feature.group Eclipse Modeling Project
EMF Model Transaction Examples Source 1.6.0.v20120328-0001 org.eclipse.emf.transaction.examples.source.feature.group Eclipse Modeling Project
EMF Model Transaction Workbench Integration Examples 1.6.0.v20120328-0001-479-9oB56P5CAT5D9K2 org.eclipse.emf.workspace.examples.feature.group Eclipse Modeling Project
EMF Model Transaction Workbench Integration Examples Source 1.6.0.v20120328-0001 org.eclipse.emf.workspace.examples.source.feature.group Eclipse Modeling Project
EMF SDO - Service Data Objects Runtime 2.4.0.v200902171115 org.eclipse.emf.ecore.sdo.feature.group Eclipse.org
EMF SDO Documentation 2.4.0.v200902171115 org.eclipse.emf.ecore.sdo.doc.feature.group Eclipse.org
EMF SDO Source 2.4.0.v200902171115 org.eclipse.emf.ecore.sdo.source.feature.group Eclipse.org
EMF Teneo EclipseLink Persistence Source 1.1.1.v200909151729-7910EVVFGMGMNsO6WM org.eclipse.emf.teneo.eclipselink.source.feature.group Eclipse Modeling Project
EMF Teneo Eclipselink Runtime 1.1.1.v200909151729-7910EVVFGMGMNsO6WM org.eclipse.emf.teneo.eclipselink.feature.group Eclipse Modeling Project
EMF Teneo Eclipselink SDK 1.0.0.v200909151729-31184E43QYgJOQQRZuYI_PFWWGHN org.eclipse.emf.teneo.eclipselink.sdk.feature.group Eclipse Modeling Project
EMF Teneo Hibernate 1.1.1.v200909151729-7862DZRDEBEBKlKz-SB org.eclipse.emf.teneo.feature.group Eclipse Modeling Project
EMF Teneo Hibernate Documentation 1.1.0.v200909151729-20-7w311A1A26283A org.eclipse.emf.teneo.doc.feature.group Eclipse Modeling Project
EMF Teneo Hibernate SDK 1.1.1.v200909151729-42188FAFLgfKYI_KdreDKXR_SEFC org.eclipse.emf.teneo.sdk.feature.group Eclipse Modeling Project
EMF Teneo Persistence Source 1.1.1.v200909151729-7862DZRDEBEBKlKz-SB org.eclipse.emf.teneo.source.feature.group Eclipse Modeling Project
EMF Validation Framework Examples Source 1.6.0.v20120328-0001 org.eclipse.emf.validation.examples.source.feature.group Eclipse Modeling Project
GEF Cloudio Developer Documentation 5.0.0.201706131249 org.eclipse.gef.cloudio.doc.feature.group Eclipse GEF
GEF Cloudio End-User Tools 5.0.0.201706131249 org.eclipse.gef.cloudio.user.feature.group Eclipse GEF
GEF Cloudio SDK 5.0.0.201706131249 org.eclipse.gef.cloudio.sdk.feature.group Eclipse GEF
GEF Cloudio User Guide 5.0.0.201706131249 org.eclipse.gef.cloudio.doc.user.feature.group Eclipse GEF
GEF Cloudio.UI 5.0.0.201706131249 org.eclipse.gef.cloudio.ui.feature.group Eclipse GEF
GEF Common 5.0.0.201706131249 org.eclipse.gef.common.feature.group Eclipse GEF
GEF Common Developer Documentation 5.0.0.201706131249 org.eclipse.gef.common.doc.feature.group Eclipse GEF
GEF Common SDK 5.0.0.201706131249 org.eclipse.gef.common.sdk.feature.group Eclipse GEF
GEF DOT 5.0.0.201706131249 org.eclipse.gef.dot.feature.group Eclipse GEF
GEF DOT Developer Documentation 5.0.0.201706131249 org.eclipse.gef.dot.doc.feature.group Eclipse GEF
GEF DOT End-User Tools 5.0.0.201706131249 org.eclipse.gef.dot.user.feature.group Eclipse GEF
GEF DOT SDK 5.0.0.201706131249 org.eclipse.gef.dot.sdk.feature.group Eclipse GEF
GEF DOT User Guide 5.0.0.201706131249 org.eclipse.gef.dot.doc.user.feature.group Eclipse GEF
GEF DOT.UI 5.0.0.201706131249 org.eclipse.gef.dot.ui.feature.group Eclipse GEF
GEF FX 5.0.0.201706131249 org.eclipse.gef.fx.feature.group Eclipse GEF
GEF FX Developer Documentation 5.0.0.201706131249 org.eclipse.gef.fx.doc.feature.group Eclipse GEF
GEF FX Equinox Compatibility 5.0.0.201706131249 org.eclipse.gef.fx.compatibility.equinox.feature.group Eclipse GEF
GEF FX SDK 5.0.0.201706131249 org.eclipse.gef.fx.sdk.feature.group Eclipse GEF
GEF FX.JFace 5.0.0.201706131249 org.eclipse.gef.fx.jface.feature.group Eclipse GEF
GEF FX.SWT 5.0.0.201706131249 org.eclipse.gef.fx.swt.feature.group Eclipse GEF
GEF Geometry 5.0.0.201706131249 org.eclipse.gef.geometry.feature.group Eclipse GEF
GEF Geometry Developer Documentation 5.0.0.201706131249 org.eclipse.gef.geometry.doc.feature.group Eclipse GEF
GEF Geometry SDK 5.0.0.201706131249 org.eclipse.gef.geometry.sdk.feature.group Eclipse GEF
GEF Geometry.Convert.FX 5.0.0.201706131249 org.eclipse.gef.geometry.convert.fx.feature.group Eclipse GEF
GEF Geometry.Convert.SWT 5.0.0.201706131249 org.eclipse.gef.geometry.convert.swt.feature.group Eclipse GEF
GEF Graph 5.0.0.201706131249 org.eclipse.gef.graph.feature.group Eclipse GEF
GEF Graph Developer Documentation 5.0.0.201706131249 org.eclipse.gef.graph.doc.feature.group Eclipse GEF
GEF Graph SDK 5.0.0.201706131249 org.eclipse.gef.graph.sdk.feature.group Eclipse GEF
GEF Layout 5.0.0.201706131249 org.eclipse.gef.layout.feature.group Eclipse GEF
GEF Layout Developer Documentation 5.0.0.201706131249 org.eclipse.gef.layout.doc.feature.group Eclipse GEF
GEF Layout SDK 5.0.0.201706131249 org.eclipse.gef.layout.sdk.feature.group Eclipse GEF
GEF MVC Developer Documentation 5.0.0.201706131249 org.eclipse.gef.mvc.doc.feature.group Eclipse GEF
GEF MVC Examples with Sources 5.0.0.201706131249 org.eclipse.gef.mvc.examples.source.feature.group Eclipse GEF
GEF MVC SDK 5.0.0.201706131249 org.eclipse.gef.mvc.sdk.feature.group Eclipse GEF
GEF MVC.FX 5.0.0.201706131249 org.eclipse.gef.mvc.fx.feature.group Eclipse GEF
GEF MVC.FX Equinox Compatibility 5.0.0.201706131249 org.eclipse.gef.mvc.fx.compatibility.equinox.feature.group Eclipse GEF
GEF MVC.FX.UI 5.0.0.201706131249 org.eclipse.gef.mvc.fx.ui.feature.group Eclipse GEF
GEF Zest Developer Documentation 5.0.0.201706131249 org.eclipse.gef.zest.doc.feature.group Eclipse GEF
GEF Zest Examples with Sources 5.0.0.201706131249 org.eclipse.gef.zest.examples.source.feature.group Eclipse GEF
GEF Zest SDK 5.0.0.201706131249 org.eclipse.gef.zest.sdk.feature.group Eclipse GEF
GEF Zest.FX 5.0.0.201706131249 org.eclipse.gef.zest.fx.feature.group Eclipse GEF
GEF Zest.FX Equinox Compatibility 5.0.0.201706131249 org.eclipse.gef.zest.fx.compatibility.equinox.feature.group Eclipse GEF
GEF Zest.FX.JFace 5.0.0.201706131249 org.eclipse.gef.zest.fx.jface.feature.group Eclipse GEF
GEF Zest.FX.UI 5.0.0.201706131249 org.eclipse.gef.zest.fx.ui.feature.group Eclipse GEF
Git integration for Eclipse 4.8.0.201706111038-r org.eclipse.egit.feature.group Eclipse EGit
Git integration for Eclipse - Task focused interface 4.8.0.201706111038-r org.eclipse.egit.mylyn.feature.group Eclipse EGit
Google Guice Assistedinject 3.0.0.v201402270930 com.google.inject.assistedinject Eclipse Orbit
Graphical Modeling Framework (GMF) Tooling SDK 3.0.1.201210111630 org.eclipse.gmf.sdk.feature.group Eclipse Modeling Project
Java implementation of Git 4.8.0.201706111038-r org.eclipse.jgit.feature.group Eclipse JGit
m2e - Maven Integration for Eclipse (includes Incubating components) 1.8.0.20170516-2043 org.eclipse.m2e.feature.feature.group Eclipse.org - m2e
m2e - slf4j over logback logging (Optional) 1.8.0.20170516-2043 org.eclipse.m2e.logback.feature.feature.group Eclipse.org - m2e
Mylyn Builds Connector: Hudson/Jenkins 1.15.0.v20170411-2141 org.eclipse.mylyn.hudson.feature.group Eclipse Mylyn
Mylyn Context Connector: Eclipse IDE 3.23.0.v20170411-2108 org.eclipse.mylyn.ide_feature.feature.group Eclipse Mylyn
Mylyn Context Connector: Java Development 3.23.0.v20170411-2108 org.eclipse.mylyn.java_feature.feature.group Eclipse Mylyn
Mylyn Task List 3.23.0.v20170614-1854 org.eclipse.mylyn_feature.feature.group Eclipse Mylyn
Mylyn Task-Focused Interface 3.23.0.v20170414-0629 org.eclipse.mylyn.context_feature.feature.group Eclipse Mylyn
Mylyn Tasks Connector: Bugzilla 3.23.0.v20170411-2036 org.eclipse.mylyn.bugzilla_feature.feature.group Eclipse Mylyn
Mylyn Versions Connector: Git 1.15.0.v20170411-2003 org.eclipse.mylyn.git.feature.group Eclipse Mylyn
Mylyn WikiText 3.0.6.201703111926 org.eclipse.mylyn.wikitext_feature.feature.group Eclipse Mylyn
Net4j DB Framework 2.0.0.v200906160348 org.eclipse.net4j.db.feature.group Eclipse Modeling Project
Net4j DB Framework Source 2.0.0.v200906160348 org.eclipse.net4j.db.source.feature.group Eclipse Modeling Project
Net4j Signalling Platform Definitions 2.0.0.v200906160348 org.eclipse.net4j.defs.feature.group Eclipse Modeling Project
Net4j Signalling Platform Definitions Source 2.0.0.v200906160348 org.eclipse.net4j.defs.source.feature.group Eclipse Modeling Project
Net4j Signalling Platform Documentation 2.0.0.v200906160348 org.eclipse.net4j.doc.feature.group Eclipse Modeling Project
Net4j Signalling Platform Examples 2.0.0.v200906160348 org.eclipse.net4j.examples.feature.group Eclipse Modeling Project
Net4j Signalling Platform Examples Source 2.0.0.v200906160348 org.eclipse.net4j.examples.source.feature.group Eclipse Modeling Project
Net4j Signalling Platform Runtime 2.0.0.v200906160348 org.eclipse.net4j.feature.group Eclipse Modeling Project
Net4j Signalling Platform Runtime Source 2.0.0.v200906160348 org.eclipse.net4j.source.feature.group Eclipse Modeling Project
Net4j Signalling Platform SDK 2.0.0.v200906160348 org.eclipse.net4j.sdk.feature.group Eclipse Modeling Project
Net4j Signalling Platform UI 2.0.0.v200906160348 org.eclipse.net4j.ui.feature.group Eclipse Modeling Project
Net4j Signalling Platform UI Source 2.0.0.v200906160348 org.eclipse.net4j.ui.source.feature.group Eclipse Modeling Project
Oomph Setup 1.9.0.v20170706-0615 org.eclipse.oomph.setup.feature.group Eclipse Oomph Project
Source for XSD - XML Schema Definition Model 2.13.0.v20170609-0928 org.eclipse.xsd.source.feature.group Eclipse Modeling Project
Teneo EMF EclipseLink Examples 1.0.0.v200909151729-4--9oB55W5W8K8QBW org.eclipse.emf.teneo.eclipselink.examples.feature.group Eclipse Modeling Project
XSD - XML Schema Definition Model 2.13.0.v20170609-0928 org.eclipse.xsd.feature.group Eclipse Modeling Project
XSD Documentation 2.9.0.v20170609-0928 org.eclipse.xsd.doc.feature.group Eclipse Modeling Project
XSD Ecore Converter 2.9.0.v20170609-0928 org.eclipse.xsd.ecore.converter.feature.group Eclipse Modeling Project
XSD Edit 2.9.0.v20170609-0928 org.eclipse.xsd.edit.feature.group Eclipse Modeling Project
XSD Mapping 2.9.0.v20170609-0928 org.eclipse.xsd.mapping.feature.group Eclipse Modeling Project
XSD Mapping Editor 2.9.0.v20170609-0928 org.eclipse.xsd.mapping.editor.feature.group Eclipse Modeling Project
XSD Sample Editor 2.10.0.v20170609-0928 org.eclipse.xsd.editor.feature.group Eclipse Modeling Project
Re: Errors when generating the Diagram Editor using GMF [message #1775855 is a reply to message #1772087] Tue, 07 November 2017 10:01 Go to previous messageGo to next message
tong ming is currently offline tong mingFriend
Messages: 7
Registered: June 2017
Junior Member
Did you solve the problem?
I meet it too.
Version: Neon.1a Release (4.6.1)
Build id: 20161007-1200
jdk 8
Re: Errors when generating the Diagram Editor using GMF [message #1775859 is a reply to message #1775855] Tue, 07 November 2017 10:39 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 29031
Registered: July 2009
Senior Member
It's probably better to ask on the GMF forum: https://www.eclipse.org/forums/index.php/f/16/
Previous Topic:Visual Layout Designer Plugin Development
Next Topic:Problem Opening Wizard
Goto Forum:
  


Current Time: Mon Dec 11 00:29:36 GMT 2017

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

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