Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » error EXPAND(Workflow interrupted because of configuration errors.)
error EXPAND [message #1745087] Tue, 04 October 2016 22:54 Go to next message
babou boubou is currently offline babou boubouFriend
Messages: 22
Registered: October 2016
Junior Member
hello i have this configration error any one can help me?


0 INFO WorkflowRunner - --------------------------------------------------------------------------------------
8 INFO WorkflowRunner - EMF Modeling Workflow Engine 1.0.2, Build v201102150556
8 INFO WorkflowRunner - (c) 2005-2009 openarchitectureware.org and contributors
9 INFO WorkflowRunner - --------------------------------------------------------------------------------------
10 INFO WorkflowRunner - running workflow: C:/Users/mabrouk/Desktop/travail/WorkSpaceFinal09-07-2015_AI/my.generator.ModelACME2TextACME/src/workflow/generator.mwe
10 INFO WorkflowRunner -
647 INFO StandaloneSetup - Registering platform uri 'C:\Users\mabrouk\Desktop\travail\WorkSpaceFinal09-07-2015_AI'
19536 ERROR VisitorCreator - org.eclipse.emf.mwe.core.ConfigurationException: Couldn't find an interface my.generator.ModelACME2TextACME
java.lang.RuntimeException: org.eclipse.emf.mwe.core.ConfigurationException: Couldn't find an interface my.generator.ModelACME2TextACME
at org.eclipse.emf.mwe.internal.core.ast.util.InjectorSimple.setValue(InjectorSimple.java:35)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorCreator.visitSimpleParamAST(VisitorCreator.java:203)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorBase.visit(VisitorBase.java:49)
at org.eclipse.emf.mwe.internal.core.ast.AbstractASTBase.accept(AbstractASTBase.java:44)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorCreator.createBean(VisitorCreator.java:157)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorCreator.visitComponentAST(VisitorCreator.java:118)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorBase.visit(VisitorBase.java:37)
at org.eclipse.emf.mwe.internal.core.ast.AbstractASTBase.accept(AbstractASTBase.java:44)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorCreator.createBean(VisitorCreator.java:157)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorCreator.visitComponentAST(VisitorCreator.java:118)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorBase.visit(VisitorBase.java:37)
at org.eclipse.emf.mwe.internal.core.ast.AbstractASTBase.accept(AbstractASTBase.java:44)
at org.eclipse.emf.mwe.internal.core.ast.util.WorkflowFactory.parseInitAndCreate(WorkflowFactory.java:74)
at org.eclipse.emf.mwe.internal.core.ast.util.WorkflowFactory.parseInitAndCreate(WorkflowFactory.java:52)
at org.eclipse.emf.mwe.core.WorkflowRunner.prepare(WorkflowRunner.java:332)
at org.eclipse.emf.mwe.core.WorkflowRunner.run(WorkflowRunner.java:290)
at org.eclipse.emf.mwe.core.WorkflowRunner.main(WorkflowRunner.java:241)
Caused by: org.eclipse.emf.mwe.core.ConfigurationException: Couldn't find an interface my.generator.ModelACME2TextACME
at org.eclipse.emf.mwe.utils.StandaloneSetup.addRegisterGeneratedEPackage(StandaloneSetup.java:176)
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.emf.mwe.internal.core.ast.util.InjectorSimple.setValue(InjectorSimple.java:33)
... 16 more
19701 ERROR WorkflowRunner - [ERROR]: Error creating instance of type 'org.eclipse.emf.mwe.utils.StandaloneSetup' : org.eclipse.emf.mwe.core.ConfigurationException: Couldn't find an interface my.generator.ModelACME2TextACME(Element: bean bean class='org.eclipse.emf.mwe.utils.StandaloneSetup' in C:/Users/mabrouk/Desktop/travail/WorkSpaceFinal09-07-2015_AI/my.generator.ModelACME2TextACME/src/workflow/generator.mwe:8; Reported by: -UNKNOWN-)
19701 ERROR WorkflowRunner - Workflow interrupted because of configuration errors.
Re: error EXPAND [message #1745162 is a reply to message #1745087] Wed, 05 October 2016 22:00 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13885
Registered: July 2009
Senior Member
This error says my.generator.ModelACME2TextACME cannot be found on the classpath

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: error EXPAND [message #1745163 is a reply to message #1745162] Wed, 05 October 2016 22:02 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13885
Registered: July 2009
Senior Member
For more hints we need to see what you actually do in the relevant part of the wf

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: error EXPAND [message #1745295 is a reply to message #1745163] Fri, 07 October 2016 11:11 Go to previous messageGo to next message
babou boubou is currently offline babou boubouFriend
Messages: 22
Registered: October 2016
Junior Member
i create an other project and i have the same error :
0 INFO WorkflowRunner - --------------------------------------------------------------------------------------
10 INFO WorkflowRunner - EMF Modeling Workflow Engine 1.0.2, Build v201102150556
10 INFO WorkflowRunner - (c) 2005-2009 openarchitectureware.org and contributors
10 INFO WorkflowRunner - --------------------------------------------------------------------------------------
12 INFO WorkflowRunner - running workflow: C:/Users/mabrouk/Desktop/fin/eclipsehelio avec atl/workspace/my.generator.WSDLandBPELModel2Text/src/workflow/generator.mwe
12 INFO WorkflowRunner -
704 INFO StandaloneSetup - Registering platform uri 'C:\Users\mabrouk\Desktop\fin\eclipsehelio avec atl\workspace'
13355 ERROR VisitorCreator - org.eclipse.emf.mwe.core.ConfigurationException: Couldn't find an interface my.generator.WSDLandBPELModel2Text
java.lang.RuntimeException: org.eclipse.emf.mwe.core.ConfigurationException: Couldn't find an interface my.generator.WSDLandBPELModel2Text
at org.eclipse.emf.mwe.internal.core.ast.util.InjectorSimple.setValue(InjectorSimple.java:35)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorCreator.visitSimpleParamAST(VisitorCreator.java:203)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorBase.visit(VisitorBase.java:49)
at org.eclipse.emf.mwe.internal.core.ast.AbstractASTBase.accept(AbstractASTBase.java:44)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorCreator.createBean(VisitorCreator.java:157)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorCreator.visitComponentAST(VisitorCreator.java:118)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorBase.visit(VisitorBase.java:37)
at org.eclipse.emf.mwe.internal.core.ast.AbstractASTBase.accept(AbstractASTBase.java:44)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorCreator.createBean(VisitorCreator.java:157)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorCreator.visitComponentAST(VisitorCreator.java:118)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorBase.visit(VisitorBase.java:37)
at org.eclipse.emf.mwe.internal.core.ast.AbstractASTBase.accept(AbstractASTBase.java:44)
at org.eclipse.emf.mwe.internal.core.ast.util.WorkflowFactory.parseInitAndCreate(WorkflowFactory.java:74)
at org.eclipse.emf.mwe.internal.core.ast.util.WorkflowFactory.parseInitAndCreate(WorkflowFactory.java:52)
at org.eclipse.emf.mwe.core.WorkflowRunner.prepare(WorkflowRunner.java:332)
at org.eclipse.emf.mwe.core.WorkflowRunner.run(WorkflowRunner.java:290)
at org.eclipse.emf.mwe.core.WorkflowRunner.main(WorkflowRunner.java:241)
Caused by: org.eclipse.emf.mwe.core.ConfigurationException: Couldn't find an interface my.generator.WSDLandBPELModel2Text
at org.eclipse.emf.mwe.utils.StandaloneSetup.addRegisterGeneratedEPackage(StandaloneSetup.java:176)
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.emf.mwe.internal.core.ast.util.InjectorSimple.setValue(InjectorSimple.java:33)
... 16 more
13417 ERROR WorkflowRunner - [ERROR]: Error creating instance of type 'org.eclipse.emf.mwe.utils.StandaloneSetup' : org.eclipse.emf.mwe.core.ConfigurationException: Couldn't find an interface my.generator.WSDLandBPELModel2Text(Element: bean bean class='org.eclipse.emf.mwe.utils.StandaloneSetup' in C:/Users/mabrouk/Desktop/fin/eclipsehelio avec atl/workspace/my.generator.WSDLandBPELModel2Text/src/workflow/generator.mwe:8; Reported by: -UNKNOWN-)
13417 ERROR WorkflowRunner - Workflow interrupted because of configuration errors.
Re: error EXPAND [message #1745296 is a reply to message #1745295] Fri, 07 October 2016 11:14 Go to previous messageGo to next message
babou boubou is currently offline babou boubouFriend
Messages: 22
Registered: October 2016
Junior Member
i should add all the list of plug-ins required for the operation of this plug-in?
how i do?
Re: error EXPAND [message #1745302 is a reply to message #1745296] Fri, 07 October 2016 11:42 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13885
Registered: July 2009
Senior Member
no i have no idea what you are doing. so please elaborate

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: error EXPAND [message #1745306 is a reply to message #1745302] Fri, 07 October 2016 11:54 Go to previous messageGo to next message
babou boubou is currently offline babou boubouFriend
Messages: 22
Registered: October 2016
Junior Member
i have an Project EXpand when i generate the project i have this error and i don't know what is the problem ?


0 INFO WorkflowRunner - --------------------------------------------------------------------------------------
10 INFO WorkflowRunner - EMF Modeling Workflow Engine 1.0.2, Build v201102150556
10 INFO WorkflowRunner - (c) 2005-2009 openarchitectureware.org and contributors
10 INFO WorkflowRunner - --------------------------------------------------------------------------------------
12 INFO WorkflowRunner - running workflow: C:/Users/mabrouk/Desktop/fin/eclipsehelio avec atl/workspace/my.generator.WSDLandBPELModel2Text/src/workflow/generator.mwe
12 INFO WorkflowRunner -
704 INFO StandaloneSetup - Registering platform uri 'C:\Users\mabrouk\Desktop\fin\eclipsehelio avec atl\workspace'
13355 ERROR VisitorCreator - org.eclipse.emf.mwe.core.ConfigurationException: Couldn't find an interface my.generator.WSDLandBPELModel2Text
java.lang.RuntimeException: org.eclipse.emf.mwe.core.ConfigurationException: Couldn't find an interface my.generator.WSDLandBPELModel2Text
at org.eclipse.emf.mwe.internal.core.ast.util.InjectorSimple.setValue(InjectorSimple.java:35)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorCreator.visitSimpleParamAST(VisitorCreator.java:203)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorBase.visit(VisitorBase.java:49)
at org.eclipse.emf.mwe.internal.core.ast.AbstractASTBase.accept(AbstractASTBase.java:44)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorCreator.createBean(VisitorCreator.java:157)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorCreator.visitComponentAST(VisitorCreator.java:118)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorBase.visit(VisitorBase.java:37)
at org.eclipse.emf.mwe.internal.core.ast.AbstractASTBase.accept(AbstractASTBase.java:44)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorCreator.createBean(VisitorCreator.java:157)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorCreator.visitComponentAST(VisitorCreator.java:118)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorBase.visit(VisitorBase.java:37)
at org.eclipse.emf.mwe.internal.core.ast.AbstractASTBase.accept(AbstractASTBase.java:44)
at org.eclipse.emf.mwe.internal.core.ast.util.WorkflowFactory.parseInitAndCreate(WorkflowFactory.java:74)
at org.eclipse.emf.mwe.internal.core.ast.util.WorkflowFactory.parseInitAndCreate(WorkflowFactory.java:52)
at org.eclipse.emf.mwe.core.WorkflowRunner.prepare(WorkflowRunner.java:332)
at org.eclipse.emf.mwe.core.WorkflowRunner.run(WorkflowRunner.java:290)
at org.eclipse.emf.mwe.core.WorkflowRunner.main(WorkflowRunner.java:241)
Caused by: org.eclipse.emf.mwe.core.ConfigurationException: Couldn't find an interface my.generator.WSDLandBPELModel2Text
at org.eclipse.emf.mwe.utils.StandaloneSetup.addRegisterGeneratedEPackage(StandaloneSetup.java:176)
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.emf.mwe.internal.core.ast.util.InjectorSimple.setValue(InjectorSimple.java:33)
... 16 more
13417 ERROR WorkflowRunner - [ERROR]: Error creating instance of type 'org.eclipse.emf.mwe.utils.StandaloneSetup' : org.eclipse.emf.mwe.core.ConfigurationException: Couldn't find an interface my.generator.WSDLandBPELModel2Text(Element: bean bean class='org.eclipse.emf.mwe.utils.StandaloneSetup' in C:/Users/mabrouk/Desktop/fin/eclipsehelio avec atl/workspace/my.generator.WSDLandBPELModel2Text/src/workflow/generator.mwe:8; Reported by: -UNKNOWN-)
13417 ERROR WorkflowRunner - Workflow interrupted because of configuration errors.
Re: error EXPAND [message #1745309 is a reply to message #1745306] Fri, 07 October 2016 12:05 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13885
Registered: July 2009
Senior Member
sry this gives me to few context to reproduce.

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: error EXPAND [message #1745311 is a reply to message #1745309] Fri, 07 October 2016 12:32 Go to previous messageGo to next message
babou boubou is currently offline babou boubouFriend
Messages: 22
Registered: October 2016
Junior Member
you speak about the workflow?
Re: error EXPAND [message #1745313 is a reply to message #1745311] Fri, 07 October 2016 12:36 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13885
Registered: July 2009
Senior Member
yes plus the versions of the tools you use etc. did you check the classpath?

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: error EXPAND [message #1745314 is a reply to message #1745311] Fri, 07 October 2016 12:37 Go to previous messageGo to next message
babou boubou is currently offline babou boubouFriend
Messages: 22
Registered: October 2016
Junior Member
<?xml version="1.0"?>
<workflow>
<property name="model" value="my.generator.WSDLandBPELModel2Text/src/SVLLOutWSDL.xmi" />
<property name="src-gen" value="src-gen" />

<!-- set up EMF for standalone execution -->

<bean class="org.eclipse.emf.mwe.utils.StandaloneSetup" >
<platformUri value=".."/>
<registerGeneratedEPackage value="my.generator.WSDLandBPELModel2Text" />
<registerEcoreFile value="my.generator.WSDLandBPELModel2Text/src/metamodel/WSDLandBPEL.ecore" />
</bean>

<!-- instantiate metamodel -->
<bean id="mm_emf" class="org.eclipse.xtend.typesystem.emf.EmfRegistryMetaModel"/>

<!-- load model and store it in slot 'model' -->
<component class="org.eclipse.emf.mwe.utils.Reader">
<uri value="platform:/resource/${model}" />
<modelSlot value="model" />
</component>

<!-- check model -->
<component class="org.eclipse.xtend.check.CheckComponent">
<metaModel idRef="mm_emf"/>
<checkFile value="metamodel::Checks" />
<emfAllChildrenSlot value="model" />
</component>

<!-- generate code -->
<component class="org.eclipse.xpand2.Generator">
<metaModel idRef="mm_emf"/>
<expand
value="template::Template::main FOR model" />
<outlet path="${src-gen}" >
<postprocessor class="org.eclipse.xpand2.output.JavaBeautifier" />
</outlet>
</component>
</workflow>
Re: error EXPAND [message #1745316 is a reply to message #1745314] Fri, 07 October 2016 12:40 Go to previous messageGo to next message
babou boubou is currently offline babou boubouFriend
Messages: 22
Registered: October 2016
Junior Member
please any help because i'm a beginner
Re: error EXPAND [message #1745318 is a reply to message #1745314] Fri, 07 October 2016 12:45 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13885
Registered: July 2009
Senior Member
so once more the question: is my.generator.WSDLandBPELModel2Tex on the classpath of the workflow?

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: error EXPAND [message #1745319 is a reply to message #1745318] Fri, 07 October 2016 12:47 Go to previous messageGo to next message
babou boubou is currently offline babou boubouFriend
Messages: 22
Registered: October 2016
Junior Member
how can I check?
  • Attachment: path.png
    (Size: 23.16KB, Downloaded 57 times)

[Updated on: Fri, 07 October 2016 12:54]

Report message to a moderator

Re: error EXPAND [message #1745320 is a reply to message #1745319] Fri, 07 October 2016 12:54 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13885
Registered: July 2009
Senior Member
if you create a java class right next to the workflow, can the java class find the my.generator.WSDLandBPELModel2Text class

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: error EXPAND [message #1745321 is a reply to message #1745320] Fri, 07 October 2016 12:57 Go to previous messageGo to next message
babou boubou is currently offline babou boubouFriend
Messages: 22
Registered: October 2016
Junior Member
no i don't create a java class
Re: error EXPAND [message #1745322 is a reply to message #1745321] Fri, 07 October 2016 13:00 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13885
Registered: July 2009
Senior Member
no i mean:

if you create a class right next to the workflow. can that class see the class missing


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: error EXPAND [message #1745324 is a reply to message #1745322] Fri, 07 October 2016 13:06 Go to previous messageGo to next message
babou boubou is currently offline babou boubouFriend
Messages: 22
Registered: October 2016
Junior Member
What can I put in this java class?
Re: error EXPAND [message #1745326 is a reply to message #1745324] Fri, 07 October 2016 13:07 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13885
Registered: July 2009
Senior Member
In a Source folder in the project containing the workflow file

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: error EXPAND [message #1745327 is a reply to message #1745326] Fri, 07 October 2016 13:14 Go to previous messageGo to next message
babou boubou is currently offline babou boubouFriend
Messages: 22
Registered: October 2016
Junior Member
like that?
  • Attachment: missing.png
    (Size: 11.60KB, Downloaded 51 times)

[Updated on: Fri, 07 October 2016 13:15]

Report message to a moderator

Re: error EXPAND [message #1745328 is a reply to message #1745327] Fri, 07 October 2016 13:15 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13885
Registered: July 2009
Senior Member
Can you show a screenshot

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: error EXPAND [message #1745329 is a reply to message #1745328] Fri, 07 October 2016 13:19 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13885
Registered: July 2009
Senior Member
Yes. But it looks you don't have a genmodel file for your ecore and did not generate Java classes for the ecore so why do you then do more than register ecore file in you workflow?

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: error EXPAND [message #1745330 is a reply to message #1745329] Fri, 07 October 2016 13:29 Go to previous messageGo to next message
babou boubou is currently offline babou boubouFriend
Messages: 22
Registered: October 2016
Junior Member
how I can generate a Java class that conforms to a ecore?
Re: error EXPAND [message #1745333 is a reply to message #1745330] Fri, 07 October 2016 13:47 Go to previous messageGo to next message
babou boubou is currently offline babou boubouFriend
Messages: 22
Registered: October 2016
Junior Member
i don't understand?
Re: error EXPAND [message #1745335 is a reply to message #1745333] Fri, 07 October 2016 14:04 Go to previous messageGo to next message
babou boubou is currently offline babou boubouFriend
Messages: 22
Registered: October 2016
Junior Member
and this error you say that's the problem is in the workflow :

0 INFO WorkflowRunner - --------------------------------------------------------------------------------------
8 INFO WorkflowRunner - EMF Modeling Workflow Engine 1.0.2, Build v201102150556
8 INFO WorkflowRunner - (c) 2005-2009 openarchitectureware.org and contributors
9 INFO WorkflowRunner - --------------------------------------------------------------------------------------
10 INFO WorkflowRunner - running workflow: C:/Users/mabrouk/Desktop/travail/WorkSpaceFinal09-07-2015_AI/my.generator.ModelACME2TextACME/src/workflow/generator.mwe
10 INFO WorkflowRunner -
647 INFO StandaloneSetup - Registering platform uri 'C:\Users\mabrouk\Desktop\travail\WorkSpaceFinal09-07-2015_AI'
19536 ERROR VisitorCreator - org.eclipse.emf.mwe.core.ConfigurationException: Couldn't find an interface my.generator.ModelACME2TextACME
java.lang.RuntimeException: org.eclipse.emf.mwe.core.ConfigurationException: Couldn't find an interface my.generator.ModelACME2TextACME
at org.eclipse.emf.mwe.internal.core.ast.util.InjectorSimple.setValue(InjectorSimple.java:35)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorCreator.visitSimpleParamAST(VisitorCreator.java:203)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorBase.visit(VisitorBase.java:49)
at org.eclipse.emf.mwe.internal.core.ast.AbstractASTBase.accept(AbstractASTBase.java:44)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorCreator.createBean(VisitorCreator.java:157)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorCreator.visitComponentAST(VisitorCreator.java:118)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorBase.visit(VisitorBase.java:37)
at org.eclipse.emf.mwe.internal.core.ast.AbstractASTBase.accept(AbstractASTBase.java:44)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorCreator.createBean(VisitorCreator.java:157)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorCreator.visitComponentAST(VisitorCreator.java:118)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorBase.visit(VisitorBase.java:37)
at org.eclipse.emf.mwe.internal.core.ast.AbstractASTBase.accept(AbstractASTBase.java:44)
at org.eclipse.emf.mwe.internal.core.ast.util.WorkflowFactory.parseInitAndCreate(WorkflowFactory.java:74)
at org.eclipse.emf.mwe.internal.core.ast.util.WorkflowFactory.parseInitAndCreate(WorkflowFactory.java:52)
at org.eclipse.emf.mwe.core.WorkflowRunner.prepare(WorkflowRunner.java:332)
at org.eclipse.emf.mwe.core.WorkflowRunner.run(WorkflowRunner.java:290)
at org.eclipse.emf.mwe.core.WorkflowRunner.main(WorkflowRunner.java:241)
Caused by: org.eclipse.emf.mwe.core.ConfigurationException: Couldn't find an interface my.generator.ModelACME2TextACME
at org.eclipse.emf.mwe.utils.StandaloneSetup.addRegisterGeneratedEPackage(StandaloneSetup.java:176)
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.emf.mwe.internal.core.ast.util.InjectorSimple.setValue(InjectorSimple.java:33)
... 16 more
19701 ERROR WorkflowRunner - [ERROR]: Error creating instance of type 'org.eclipse.emf.mwe.utils.StandaloneSetup' : org.eclipse.emf.mwe.core.ConfigurationException: Couldn't find an interface my.generator.ModelACME2TextACME(Element: bean bean class='org.eclipse.emf.mwe.utils.StandaloneSetup' in C:/Users/mabrouk/Desktop/travail/WorkSpaceFinal09-07-2015_AI/my.generator.ModelACME2TextACME/src/workflow/generator.mwe:8; Reported by: -UNKNOWN-)
19701 ERROR WorkflowRunner - Workflow interrupted because of configuration errors.

it's the workflow of this project :

<?xml version="1.0"?>
<workflow>
<property name="model" value="my.generator.ModelACME2TextACME/src/SVLLOutWSDL.xmi" />
<property name="src-gen" value="src-gen" />

<!-- set up EMF for standalone execution -->

<bean class="org.eclipse.emf.mwe.utils.StandaloneSetup" >
<platformUri value=".."/>
<registerGeneratedEPackage value="my.generator.ModelACME2TextACME" />
<registerEcoreFile value="my.generator.ModelACME2TextACME/src/metamodel/WSDLandBPEL.ecore" />

</bean>

<!-- instantiate metamodel -->
<bean id="mm_emf" class="org.eclipse.xtend.typesystem.emf.EmfRegistryMetaModel"/>

<!-- load model and store it in slot 'model' -->
<component class="org.eclipse.emf.mwe.utils.Reader">
<uri value="platform:/resource/${model}" />
<modelSlot value="model" />
</component>

<!-- check model -->
<component class="org.eclipse.xtend.check.CheckComponent">
<metaModel idRef="mm_emf"/>
<checkFile value="metamodel::Checks" />
<emfAllChildrenSlot value="model" />
</component>

<!-- generate code -->
<component class="org.eclipse.xpand2.Generator">
<metaModel idRef="mm_emf"/>
<expand
value="template::Template::main FOR model" />
<outlet path="${src-gen}" >
<postprocessor class="org.eclipse.xpand2.output.JavaBeautifier" />
</outlet>
</component>
</workflow>

Re: error EXPAND [message #1745336 is a reply to message #1745335] Fri, 07 October 2016 14:09 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13885
Registered: July 2009
Senior Member
why <registerGeneratedEPackage value="my.generator.WSDLandBPELModel2Text" />

what happens if you remove it?


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: error EXPAND [message #1745337 is a reply to message #1745336] Fri, 07 October 2016 14:15 Go to previous messageGo to next message
babou boubou is currently offline babou boubouFriend
Messages: 22
Registered: October 2016
Junior Member
nothing i have the same problem for information this project is exported of another project that's why i create another project. In the begin it work but when i change the ecore i have this error:

when i romove <registerGeneratedEPackage value="my.generator.WSDLandBPELModel2Text" /> i have the same error :

0 INFO WorkflowRunner - --------------------------------------------------------------------------------------
9 INFO WorkflowRunner - EMF Modeling Workflow Engine 1.0.2, Build v201102150556
9 INFO WorkflowRunner - (c) 2005-2009 openarchitectureware.org and contributors
10 INFO WorkflowRunner - --------------------------------------------------------------------------------------
11 INFO WorkflowRunner - running workflow: C:/Users/mabrouk/Desktop/travail/WorkSpaceFinal09-07-2015_AI/my.generator.ModelACME2TextACME/src/workflow/generator.mwe
11 INFO WorkflowRunner -
957 INFO StandaloneSetup - Registering platform uri 'C:\Users\mabrouk\Desktop\travail\WorkSpaceFinal09-07-2015_AI'
17384 ERROR VisitorCreator - org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: java.io.FileNotFoundException: C:\Users\mabrouk\Desktop\travail\WorkSpaceFinal09-07-2015_AI\my.generator.ModelACME2TextACME\my.generator.ModelACME2TextACME\src\metamodel\WSDLandBPEL.ecore (Le chemin d'accès spécifié est introuvable)
java.lang.RuntimeException: org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: java.io.FileNotFoundException: C:\Users\mabrouk\Desktop\travail\WorkSpaceFinal09-07-2015_AI\my.generator.ModelACME2TextACME\my.generator.ModelACME2TextACME\src\metamodel\WSDLandBPEL.ecore (Le chemin d'accès spécifié est introuvable)
at org.eclipse.emf.mwe.internal.core.ast.util.InjectorSimple.setValue(InjectorSimple.java:35)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorCreator.visitSimpleParamAST(VisitorCreator.java:203)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorBase.visit(VisitorBase.java:49)
at org.eclipse.emf.mwe.internal.core.ast.AbstractASTBase.accept(AbstractASTBase.java:44)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorCreator.createBean(VisitorCreator.java:157)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorCreator.visitComponentAST(VisitorCreator.java:118)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorBase.visit(VisitorBase.java:37)
at org.eclipse.emf.mwe.internal.core.ast.AbstractASTBase.accept(AbstractASTBase.java:44)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorCreator.createBean(VisitorCreator.java:157)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorCreator.visitComponentAST(VisitorCreator.java:118)
at org.eclipse.emf.mwe.internal.core.ast.util.VisitorBase.visit(VisitorBase.java:37)
at org.eclipse.emf.mwe.internal.core.ast.AbstractASTBase.accept(AbstractASTBase.java:44)
at org.eclipse.emf.mwe.internal.core.ast.util.WorkflowFactory.parseInitAndCreate(WorkflowFactory.java:74)
at org.eclipse.emf.mwe.internal.core.ast.util.WorkflowFactory.parseInitAndCreate(WorkflowFactory.java:52)
at org.eclipse.emf.mwe.core.WorkflowRunner.prepare(WorkflowRunner.java:332)
at org.eclipse.emf.mwe.core.WorkflowRunner.run(WorkflowRunner.java:290)
at org.eclipse.emf.mwe.core.WorkflowRunner.main(WorkflowRunner.java:241)
Caused by: org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: java.io.FileNotFoundException: C:\Users\mabrouk\Desktop\travail\WorkSpaceFinal09-07-2015_AI\my.generator.ModelACME2TextACME\my.generator.ModelACME2TextACME\src\metamodel\WSDLandBPEL.ecore (Le chemin d'accès spécifié est introuvable)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:315)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:397)
at org.eclipse.emf.mwe.utils.StandaloneSetup.addRegisterEcoreFile(StandaloneSetup.java:203)
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.emf.mwe.internal.core.ast.util.InjectorSimple.setValue(InjectorSimple.java:33)
... 16 more
Caused by: java.io.FileNotFoundException: C:\Users\mabrouk\Desktop\travail\WorkSpaceFinal09-07-2015_AI\my.generator.ModelACME2TextACME\my.generator.ModelACME2TextACME\src\metamodel\WSDLandBPEL.ecore (Le chemin d'accès spécifié est introuvable)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at org.eclipse.emf.ecore.resource.impl.FileURIHandlerImpl.createInputStream(FileURIHandlerImpl.java:105)
at org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.createInputStream(ExtensibleURIConverterImpl.java:301)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1254)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:255)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:270)
... 23 more
17484 ERROR WorkflowRunner - [ERROR]: Error creating instance of type 'org.eclipse.emf.mwe.utils.StandaloneSetup' : org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: java.io.FileNotFoundException: C:\Users\mabrouk\Desktop\travail\WorkSpaceFinal09-07-2015_AI\my.generator.ModelACME2TextACME\my.generator.ModelACME2TextACME\src\metamodel\WSDLandBPEL.ecore (Le chemin d'accès spécifié est introuvable)(Element: bean bean class='org.eclipse.emf.mwe.utils.StandaloneSetup' in C:/Users/mabrouk/Desktop/travail/WorkSpaceFinal09-07-2015_AI/my.generator.ModelACME2TextACME/src/workflow/generator.mwe:8; Reported by: -UNKNOWN-)
17485 ERROR WorkflowRunner - Workflow interrupted because of configuration errors.

[Updated on: Fri, 07 October 2016 14:19]

Report message to a moderator

Re: error EXPAND [message #1745340 is a reply to message #1745337] Fri, 07 October 2016 14:28 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13885
Registered: July 2009
Senior Member
No you have a different one and it says with the path of your ecore is something wrong
I cannot give any support on this base


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: error EXPAND [message #1745341 is a reply to message #1745337] Fri, 07 October 2016 14:30 Go to previous messageGo to next message
babou boubou is currently offline babou boubouFriend
Messages: 22
Registered: October 2016
Junior Member
0 INFO WorkflowRunner - --------------------------------------------------------------------------------------
10 INFO WorkflowRunner - EMF Modeling Workflow Engine 1.0.2, Build v201102150556
11 INFO WorkflowRunner - (c) 2005-2009 openarchitectureware.org and contributors
11 INFO WorkflowRunner - --------------------------------------------------------------------------------------
12 INFO WorkflowRunner - running workflow: C:/Users/mabrouk/Desktop/travail/WorkSpaceFinal09-07-2015_AI/my.generator.ModelACME2TextACME/src/workflow/generatorWithProfiler.mwe
12 INFO WorkflowRunner -
1141 INFO StandaloneSetup - Registering platform uri 'C:\Users\mabrouk\Desktop\travail\WorkSpaceFinal09-07-2015_AI'
41615 INFO CompositeComponent - Reader: Loading model from platform:/resource/my.generator.ModelACME2TextACME/src/SVLLOutWSDL.xmi
46087 ERROR WorkflowRunner - Workflow interrupted. Reason: Couldn't load resource under platform:/resource/my.generator.ModelACME2TextACME/src/SVLLOutWSDL.xmi : org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'process' not found. (platform:/resource/my.generator.ModelACME2TextACME/src/SVLLOutWSDL.xmi, 807, 23)
Re: error EXPAND [message #1745342 is a reply to message #1745341] Fri, 07 October 2016 14:37 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13885
Registered: July 2009
Senior Member
Sry I cannot support you without anything reproducible

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:OCL into XTEXT
Next Topic:Unit Test for a Language which cross-references an Ecore model
Goto Forum:
  


Current Time: Mon Apr 19 01:12:17 GMT 2021

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

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

Back to the top