Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » Atl transformation(problem in launching atl code)
Atl transformation [message #1707863] Thu, 10 September 2015 03:09 Go to next message
aneesa saeed is currently offline aneesa saeedFriend
Messages: 5
Registered: September 2015
Junior Member
Dear All,

I have problem in launching atl code since i am beginner in using ATl transformation language.
I want to transform UML state machine model to transition tree model. I used two metamodels: uml.ecore and transition tree. ecore. I build one instance from UML metamodel as uml state machine model. However when i run the code in both eclipse run configration, and java. I got this exception.

org.eclipse.m2m.atl.engine.emfvm.VMException: Cannot find class Pseudostate in reference model SM
at main#22(StateMachinesToTransitionTree.atl[10:41-10:55])
local variables: self=StateMachinesToTransitionTree : ASMModule.

Please can any one help me how i can solve this problem. I tried many time to solve it but i could not.

Thank you in advance.


Re: Atl transformation [message #1707992 is a reply to message #1707863] Fri, 11 September 2015 09:39 Go to previous messageGo to next message
Alexander R is currently offline Alexander RFriend
Messages: 211
Registered: July 2013
Senior Member
Hi,

please show some content of your ATL-Transformation : "StateMachinesToTransitionTree.atl". Cause the VMException comes from there.
It is hard to help you if one may not see any code.

~Alex

Re: Atl transformation [message #1707993 is a reply to message #1707992] Fri, 11 September 2015 09:39 Go to previous messageGo to next message
Alexander R is currently offline Alexander RFriend
Messages: 211
Registered: July 2013
Senior Member
No Message Body
Re: Atl transformation [message #1708120 is a reply to message #1707993] Mon, 14 September 2015 02:20 Go to previous messageGo to next message
aneesa saeed is currently offline aneesa saeedFriend
Messages: 5
Registered: September 2015
Junior Member

I am truly sorry for the late reply, i just saw your response now.

The code is attached including the two meta-models .ecore and the simple example of the UML state machine.

Thank you in advance

Kind Regards
Aneesa
  • Attachment: ATL.rar
    (Size: 87.28KB, Downloaded 170 times)
Re: Atl transformation [message #1708749 is a reply to message #1708120] Sun, 20 September 2015 05:01 Go to previous messageGo to next message
Isabel Azevedo is currently offline Isabel AzevedoFriend
Messages: 2
Registered: September 2015
Junior Member
Dear Aneesa,

Did you indicate that your models are metametamodels by mistake when running the atl file?

Regards,
Isabel
Re: Atl transformation [message #1708771 is a reply to message #1708120] Mon, 21 September 2015 01:03 Go to previous messageGo to next message
aneesa saeed is currently offline aneesa saeedFriend
Messages: 5
Registered: September 2015
Junior Member
Hi all,

The problem is still not solved.

Any assistance regarding this problem is highly appreciated.

Thank you in advance.

Kind Regards
Aneesa
Re: Atl transformation [message #1708862 is a reply to message #1708771] Tue, 22 September 2015 02:51 Go to previous messageGo to next message
aneesa saeed is currently offline aneesa saeedFriend
Messages: 5
Registered: September 2015
Junior Member
Dear Isabel,

Thank you very much of your kind reply.

No i did not indicate the state machine is metametamodel by mistake. I do not know what is wrong in the code. Could you please take a look in the code i attached.

Your assistance is highly appreciated.

Kind Regards
Aneesa
Re: Atl transformation [message #1708900 is a reply to message #1708862] Tue, 22 September 2015 10:59 Go to previous messageGo to next message
Isabel Azevedo is currently offline Isabel AzevedoFriend
Messages: 2
Registered: September 2015
Junior Member
Dear Aneesa,

TransitionTreeMetaModel.ecore is invalid (Validation fails) and I am not able to replicate your problem.

Regards,
Isabel
Re: Atl transformation [message #1709648 is a reply to message #1708900] Wed, 30 September 2015 02:32 Go to previous message
aneesa saeed is currently offline aneesa saeedFriend
Messages: 5
Registered: September 2015
Junior Member
Thank you so much for your quick replay

I corrected my TransitionTree meatmodel file. Please find it in the attachment.
Previous Topic:Stereotype attribute using ATL
Next Topic:Get the Attribute name of a Class in ATL
Goto Forum:
  


Current Time: Fri Mar 29 15:19:24 GMT 2024

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

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

Back to the top