Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » FeatureNotFoundException
FeatureNotFoundException [message #1767587] Fri, 07 July 2017 09:42 Go to next message
Elhamlaoui Mahmoud is currently offline Elhamlaoui MahmoudFriend
Messages: 268
Registered: March 2010
Senior Member
I' am new in Siruis and i have an error with which I suffer for a few days. When i try to create a transiton between states i got the following error.

exception.FeatureNotFoundException: transitions on SimplStateMachineDC.impl.StateImp

I think the problem comes from how to modalize the transition of my metamodel.
Do you have any idea how i can solve this.
Thanks in advance
Re: FeatureNotFoundException [message #1767706 is a reply to message #1767587] Mon, 10 July 2017 07:26 Go to previous message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 500
Registered: July 2009
Location: Nantes, France
Senior Member

From the error, you simply try to navigate/set a "transitions" reference on a "State" object, in the provided metamodel, the "transitions" reference exists only on the EClass StateMachine.
It seems that your "TransitionCreate" creates a "Transition" element and tries to store it in the "transitions" reference of the "source" element which is a State.
You need an additional ChangeContext task to navigate to the StateMachine with something like aql:source.eContainer() then it will possible to create and store Transition elements in it.



Previous Topic:Call External Java Action from source code
Next Topic:Synchronization problem from Xtext to Sirius
Goto Forum:

Current Time: Thu Jan 28 06:11:55 GMT 2021

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

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

Back to the top