launch atl transformation from java [message #70465] |
Fri, 04 January 2008 10:39 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.07034 seconds