Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [lyo-dev] Lyo Generator Problem
  • From: Jan-Patrick Osterloh <osterloh@xxxxxxxx>
  • Date: Mon, 15 Apr 2019 12:16:24 +0200
  • Autocrypt: addr=osterloh@xxxxxxxx; prefer-encrypt=mutual; keydata= mQINBFaYzvABEAC6kSTwexU5Zme4Zc21MF2Zy+fsv8/nLPVgeTTGCY/3RJEoqpMzd+Ox7JR3 iSMkItkxTHu6Giw8YcMNbTM5ptoSTryDRMjLXvvMTmaWhPBlv66gvy6KJwfLawkQAubJKj32 rh1/7r9eT4s7iDSTLcabyHHx/9Ogvhm7feRwOvRB9u7ukcI7m4fEDZscvVZKwlcGD3wr1OtY BQIOhhEzS6XvumVTgLBN5NgtEk5MlAmFIQaBxYDt47D1QsDu7991Z2iFTuuybqrJL0vo8PAA Sqtjo0cSQu12NqU78D3zCOG8hU+kiXKW2DdmXnmkbyH1K/yztwSpNfbbOpi17CeD1snmAAEY akTtZKkVvtTa3Xg3GQ6yU/GVxFEZ+cLDViRSStL1gi5mnRHbHY7IyoEx1W/+GYPv5ripe2aB Y9c1a9l/1bLxWXAKwbD9haCHZ19lMfvF0eGn4Li3HyB5YHnhCCapoxIJJnOuDGPvaB5H+qv1 p8cxqN7p24Z6v3NZ0b7sEtQNHnq9IvJ2sSUVpHk9hy93ZNdAg3TqrQ09kN7elXxPy3xQ5OLr Q/PZTGi8bRMSShzSm8KPZy1FKzSWbYTLOtiw6HeM2s7tl+lPVD2+UH0mWleXPfZ7iaIwKa7m XlkwUSgh2dc5LvWBVCz0LiXz1NBiqrT70czodA62l1pQYLno2wARAQABtChKYW4tUGF0cmlj ayBPc3RlcmxvaCA8b3N0ZXJsb2hAb2ZmaXMuZGU+iQJCBBMBCAAsAhsjBwsJCAcDAgEGFQgC CQoLBBYCAwECHgECF4ACGQEFAluWVmQFCQbeuvQACgkQlxtC0YJWygwFGRAAgNfQK1yfY5Wf Mzz9W0J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  • List-archive: <https://www.eclipse.org/mailman/private/lyo-dev>
  • List-help: <mailto:lyo-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/lyo-dev>, <mailto:lyo-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/lyo-dev>, <mailto:lyo-dev-request@eclipse.org?subject=unsubscribe>
  • Openpgp: preference=signencrypt
  • User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Hi Jad,

Am 15.04.2019 um 12:04 schrieb Jad El-Khoury:
> Hi Jan-Patrick,
>
> What version of Eclipse were you using before. You are using Photon now, right?

I'm not sure, what the last version of eclipse was that code generation
was working on. I'm on Photon, I switched a while ago from Oxygen.
Honestly I'm not sure if I tested Lyo with that...

>
> Did you setup your environment, as instructed here? In particular, I am thinking of setting up the Java JDK in Eclipse
> https://wiki.eclipse.org/Lyo/General_Setup_for_OSLC4J_Development

I'm starting eclipse with JRE 1.8, my default JRE is a JDK 11.

>
> Finally, did you download Lyo Designer from the stable site update-site http://download.eclipse.org/lyo/p2/stable/? Or http://download.eclipse.org/lyo/p2/edge/?

I installed it from the stable update site.

Best
Jan-Patrick


>
>
>
> 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.eclipse.lyo.oslc4j.codegenerator_2.4.0.jar!/org/eclipse/lyo/oslc4j/codegenerator/main/generate.emtl,
> 83, 155)
>     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.engine.service.AbstractAcceleoGenerator.initialize(AbstractAcceleoGenerator.java:485)
>     at
> org.eclipse.lyo.oslc4j.codegenerator.main.Generate.<init>(Generate.java:90)
>     at
> org.eclipse.lyo.tools.codegenerator.ui.common.GenerateAll.<init>(GenerateAll.java:70)
>     at
> org.eclipse.lyo.tools.codegenerator.ui.popupMenus.AcceleoGenerateCodegeneratorAction.run(AcceleoGenerateCodegeneratorAction.java:107)
>     at
> org.eclipse.ui.actions.ActionDelegate.runWithEvent(ActionDelegate.java:75)
>     at
> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:237)
>     at
> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
>     at
> org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.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(PartRenderingEngine.java:1170)
>     at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
>     at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1059)
>     at
> org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
>     at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:667)
>     at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java: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(IDEApplication.java:152)
>     at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>     at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
>     at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
>     at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
>     at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: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.eclipse.lyo.oslc4j.codegenerator_2.4.0.jar!/org/eclipse/lyo/oslc4j/codegenerator/main/generate.emtl,
> 83, 155)
>     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
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endDocument(Unknown
> Source)
>     at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
>     at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
> Source)
>     at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
> Source)
>     at
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
>     at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown
> Source)
>     at
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(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(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)
>     ... 37 more
>
> I've attached my eclipse configuration as printed out via Help - About Eclipse...
>
> How can I fix this?
>
> Best regards
> Jan-Patrick

-- 
Dipl. Inform. Jan-Patrick Osterloh
Senior Research Engineer
Human Centered Design Group

OFFIS e.V. - Institut für Informatik | Institute for Information Technology
             FuE Bereich Verkehr     | R&D Division Transportation
             Escherweg 2, 26121 Oldenburg - Germany
Room:        D107
Phone/Fax:   +49 441 97 22-524 / -502
E-Mail:      osterloh@xxxxxxxx
URL:         http://www.offis.de 

Registergericht: Amtsgericht Oldenburg VR 1956
Vorstand: Prof. Dr.-Ing. Wolfgang H. Nebel (Vorsitzender),
          Prof. Dr. techn. Susanne Boll-Westermann,
          Prof. Dr.-Ing. Axel Hahn,
          Prof. Dr.-Ing. Andreas Hein,
          Prof. Dr. Sebastian Lehnhoff 




Back to the top