Skip to main content



      Home
Home » Archived » M2M (model-to-model transformation) » programatical launch of ATL transformation from ecore to ecore
programatical launch of ATL transformation from ecore to ecore [message #86188] Wed, 09 July 2008 05:15
Eclipse UserFriend
Originally posted by: monnet2.etu.unige.ch

Hello,

I am trying to do a programatical launch of an ATL transformation from
Ecore to Ecore.

And I am getting this error message:

Jul 9, 2008 10:44:41 AM org.eclipse.m2m.atl.engine.vm.SimpleDebugger error
SEVERE: ****** BEGIN Stack Trace
Jul 9, 2008 10:44:41 AM org.eclipse.m2m.atl.engine.vm.SimpleDebugger error
SEVERE: message: ERROR: could not find operation allInstancesFrom on
MOFLeft!EClass having supertypes: [MOFLeft!EClassifier, OclType, OclAny]
(including Java operations)
Jul 9, 2008 10:44:41 AM org.eclipse.m2m.atl.engine.vm.ExecEnv
printStackTrace
SEVERE: A.main() : ??#22 null
Jul 9, 2008 10:44:41 AM org.eclipse.m2m.atl.engine.vm.ExecEnv
printStackTrace
SEVERE: local variables = {self=union_execute_metamodel_transformation :
ASMModule}
Jul 9, 2008 10:44:41 AM org.eclipse.m2m.atl.engine.vm.ExecEnv
printStackTrace
SEVERE: local stack = []
Jul 9, 2008 10:44:41 AM org.eclipse.m2m.atl.engine.vm.ExecEnv
printStackTrace
SEVERE: A.__matcher__() : ??#3 null
Jul 9, 2008 10:44:41 AM org.eclipse.m2m.atl.engine.vm.ExecEnv
printStackTrace
SEVERE: local variables = {self=union_execute_metamodel_transformation :
ASMModule}
Jul 9, 2008 10:44:41 AM org.eclipse.m2m.atl.engine.vm.ExecEnv
printStackTrace
SEVERE: local stack = []
Jul 9, 2008 10:44:41 AM org.eclipse.m2m.atl.engine.vm.ExecEnv
printStackTrace
SEVERE: A.__matchCLASSLeft() : ??#9 null
Jul 9, 2008 10:44:41 AM org.eclipse.m2m.atl.engine.vm.ExecEnv
printStackTrace
SEVERE: local variables = {self=union_execute_metamodel_transformation :
ASMModule}
Jul 9, 2008 10:44:41 AM org.eclipse.m2m.atl.engine.vm.ExecEnv
printStackTrace
SEVERE: local stack = [MOFLeft!EClass, Sequence {}]
Jul 9, 2008 10:44:41 AM org.eclipse.m2m.atl.engine.vm.SimpleDebugger error
SEVERE: ****** END Stack Trace
Jul 9, 2008 10:44:41 AM org.eclipse.m2m.atl.engine.vm.SimpleDebugger error
INFO: Execution terminated due to error (see launch configuration to allow
continuation after errors).
Jul 9, 2008 10:44:41 AM org.eclipse.m2m.atl.engine.AtlLauncher launch
SEVERE: ERROR: could not find operation allInstancesFrom on MOFLeft!EClass
having supertypes: [MOFLeft!EClassifier, OclType, OclAny] (including Java
operations)
java.lang.RuntimeException: ERROR: could not find operation
allInstancesFrom on MOFLeft!EClass having supertypes:
[MOFLeft!EClassifier, OclType, OclAny] (including Java operations)
at
org.eclipse.m2m.atl.engine.vm.SimpleDebugger.error(SimpleDeb ugger.java:195)
at
org.eclipse.m2m.atl.engine.vm.StackFrame.printStackTrace(Sta ckFrame.java:95)
at
org.eclipse.m2m.atl.engine.vm.StackFrame.printStackTrace(Sta ckFrame.java:91)
at
org.eclipse.m2m.atl.drivers.emf4atl.ASMEMFModelElement.invok e(ASMEMFModelElement.java:700)
at
org.eclipse.m2m.atl.engine.vm.ASMOperation.realExec(ASMOpera tion.java:240)
at org.eclipse.m2m.atl.engine.vm.ASMOperation.exec(ASMOperation .java:171)
at
org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny.invoke(ASM OclAny.java:143)
at
org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny.invoke(ASM OclAny.java:101)
at
org.eclipse.m2m.atl.engine.vm.ASMOperation.realExec(ASMOpera tion.java:240)
at org.eclipse.m2m.atl.engine.vm.ASMOperation.exec(ASMOperation .java:171)
at
org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny.invoke(ASM OclAny.java:143)
at
org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny.invoke(ASM OclAny.java:101)
at
org.eclipse.m2m.atl.engine.vm.ASMOperation.realExec(ASMOpera tion.java:240)
at org.eclipse.m2m.atl.engine.vm.ASMOperation.exec(ASMOperation .java:171)
at
org.eclipse.m2m.atl.engine.vm.ASMInterpreter.<init>(ASMInterpreter.java:299)
at org.eclipse.m2m.atl.engine.AtlLauncher.launch(AtlLauncher.ja va:169)
at org.eclipse.m2m.atl.engine.AtlLauncher.launch(AtlLauncher.ja va:111)
at org.eclipse.m2m.atl.engine.AtlLauncher.launch(AtlLauncher.ja va:87)
at UnionCOP.launchATLTransformation(UnionCOP.java:113)
at UnionCOP.process(UnionCOP.java:63)
at MMComposition.process(MMComposition.java:28)
at Main.main(Main.java:47)

When I did the ATL transformation in Eclipse, I get a similar error and I
solved it by using the option "is a metametamodel" in the Run
Configuration of the ATL Eclipse plugin.

How can I set this option to the model handler? Is there any specific
model handler for Ecore to Ecore transformations?

Thank you in advance for your help.
Previous Topic:[ATL] [BUG?] programmatic launch produces ATL transformation errors
Next Topic:[ATL] Varying rule behavior
Goto Forum:
  


Current Time: Tue Jul 15 13:37:23 EDT 2025

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

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

Back to the top