Skip to main content



      Home
Home » Archived » M2M (model-to-model transformation) » launch atl transformation from java
launch atl transformation from java [message #70465] Fri, 04 January 2008 10:39
Eclipse UserFriend
Originally posted by: no.spam.stop

Hello,
I'm testing the atl launcher from milan milanovic with the simple
example of the "families to persons" available on the atl web site (in
"basic examples and patterns").
I changed minor portions of code for using ecore as metametamodel
handler instead of mdr.

the steps of the transformation are :
1) inject ecore file into asmmodel with xml injector (it seems to be all
right at this step)
2) transform previous asmmodel into another asmmodel
but when i run the transformation here is the output :

-------
WARNING: could not find model Families.
WARNING: could not find model Families.
****** BEGIN Stack Trace
message: cannot find model Families
A.main() : ??#23 null
local variables = {self=Families2Persons : ASMModule}
local stack = []
****** END Stack Trace
Trying to continue execution despite the error.
****** BEGIN Stack Trace
exception:
java.lang.NullPointerException
at org.atl.engine.vm.ASMOperation.realExec(ASMOperation.java:26 5)
at org.atl.engine.vm.ASMOperation.exec(ASMOperation.java:155)
at org.atl.engine.vm.ASMInterpreter.<init>(ASMInterpreter.java:276)
at org.atl.eclipse.engine.AtlLauncher.launch(AtlLauncher.java:1 36)
at org.atl.eclipse.engine.AtlLauncher.launch(AtlLauncher.java:9 4)
at org.atl.eclipse.engine.AtlLauncher.launch(AtlLauncher.java:6 8)
at org.atl.eclipse.engine.AtlLauncher.launch(AtlLauncher.java:6 0)
at org.atl.eclipse.engine.AtlLauncher.launch(AtlLauncher.java:5 6)
at atl.ATLTransformations.runATLTransformation(ATLTransformatio ns.java:571)
at
atl.ATLTransformations.getOutputMMFromInputMM(ATLTransformat ions.java:690)
at
atl.ATLTransformations.transformInputToOutput(ATLTransformat ions.java:712)
at atl.ATLTransformations.main(ATLTransformations.java:731)
A.main() : ??#23 null
local variables = {self=Families2Persons : ASMModule}
local stack = []
****** END Stack Trace
Trying to continue execution despite the error.
---------

any idea ?
thanks in advance
Previous Topic:[ATL] Strange behavior when overriding called rule or lazy rule
Next Topic:Injection problem in qATL
Goto Forum:
  


Current Time: Mon Jul 07 18:23:55 EDT 2025

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

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

Back to the top