regards
______________________________
Jad El-khoury, PhD
KTH Royal Institute of Technology
School of Industrial Engineering and Management, Mechatronics Division
Brinellvägen 83, SE-100 44 Stockholm, Sweden
Phone: +46(0)8 790 6877 Mobile: +46(0)70 773 93 45 jad@xxxxxx,
www.kth.se
-----Original Message-----
From: lyo-dev-bounces@xxxxxxxxxxx [mailto:lyo-dev-bounces@xxxxxxxxxxx]
On Behalf Of Jan-Patrick Osterloh
Sent: 15 April 2019 11:55
To: lyo-dev@xxxxxxxxxxx
Subject: [lyo-dev] Lyo Generator Problem
Hi,
I just had to re-install/setup my eclipse, but now my toolchain isn't generating any more. There's no error message in eclipse, but I was able to find the following in the log file:
!ENTRY org.eclipse.ui 4 0 2019-04-15 11:33:14.273 !MESSAGE Unhandled
event loop exception !STACK 0
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException:
org.eclipse.emf.ecore.xmi.UnresolvedReferenceException: Unresolved reference '/0/generateForServiceProviderCatalog/anAdaptorInterface'.
(jar:file:/C:/Users/patrick/eclipse/java-photon/eclipse/plugins/org.ec
lipse.lyo.oslc4j.codegenerator_2.4.0.jar!/org/eclipse/lyo/oslc4j/codeg
enerator/main/generate.emtl,
83, 155)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadEx
ception(ResourceSetImpl.java:319)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(R
esourceSetImpl.java:278)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(Resour
ceSetImpl.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.engine.service.AbstractAcceleoGenerator.initialize
(AbstractAcceleoGenerator.java:485)
at
org.eclipse.lyo.oslc4j.codegenerator.main.Generate.<init>(Generate.jav
a:90)
at
org.eclipse.lyo.tools.codegenerator.ui.common.GenerateAll.<init>(Gener
ateAll.java:70)
at
org.eclipse.lyo.tools.codegenerator.ui.popupMenus.AcceleoGenerateCodeg
eneratorAction.run(AcceleoGenerateCodegeneratorAction.java:107)
at
org.eclipse.ui.actions.ActionDelegate.runWithEvent(ActionDelegate.java
:75)
at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:23
7)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(
ActionContributionItem.java:565)
at
org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContrib
utionItem.java:397)
at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4118)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3931)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3534)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(Par
tRenderingEngine.java:1170)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.jav
a:336)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartR
enderingEngine.java:1059)
at
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Work
bench.java:153)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:667)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.jav
a:336)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java
:597)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplic
ation.java:152)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle
.java:196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplic
ation(EclipseAppLauncher.java:134)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ecl
ipseAppLauncher.java:104)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.jav
a:388)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.jav
a:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592)
at org.eclipse.equinox.launcher.Main.run(Main.java:1498)
Caused by: org.eclipse.emf.ecore.xmi.UnresolvedReferenceException:
Unresolved reference
'/0/generateForServiceProviderCatalog/anAdaptorInterface'.
(jar:file:/C:/Users/patrick/eclipse/java-photon/eclipse/plugins/org.ec
lipse.lyo.oslc4j.codegenerator_2.4.0.jar!/org/eclipse/lyo/oslc4j/codeg
enerator/main/generate.emtl,
83, 155)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleForwardReferences(XMLH
andler.java:1197)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.endDocument(XMLHandler.java:
1282)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endDocume
nt(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
.scanDocument(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Un
known
Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Un
known
Source)
at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unk
nown
Source)
at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.pa
rse(Unknown
Source)
at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown
Source)
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(EMtlRes
ourceImpl.java:93)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.jav
a:1563)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.jav
a:1342)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(Resourc
eSetImpl.java:259)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(R
esourceSetImpl.java:274)
... 37 more
I've attached my eclipse configuration as printed out via Help - About Eclipse...
How can I fix this?
Best regards
Jan-Patrick