I'm trying to use the Milan Milanovic's code to run ATL programmatically with java.
As I'm using ecore metamodels, I changed the "initMDR" to "initEMF" and the "mdramh" to "emfamh". But it isn't working, I'm getting the following error:
Exception in thread "main" java.lang.NullPointerException
In the absence of a quick response from someone who knows the answer...
You are much more likely to get a response if you provide a zipped
project including a launch configuration that demonstrates the problem.
Currently you expect someone to devote unfunded time for:
a) research to discover what Milan Milanovic's code is
b) development to make Milan Milanovic's code run
c) telepathy to identify why you see problems that may not appear in the
If you want help, you need to help yourself to be helped.
On 29/08/2012 18:09, Emwedish Endargachew wrote:
> Hi Fernando,
> I am having the same problem, have you got the solution yet?
> if you get it would you please tell me what the problem with that
> library is?
> kind regards,
I just ask if Fernando solved it assuming that the Milan Milanovic's code is famous on the M2M society.
However the instructions are found http://wiki.eclipse.org/ATL_Howtos
the link for the code is also found: on the second chapter of the article which says (How do I launch transformations programmatically?)
hope you will give some feedback too.
I have avoided this error by using the right library files provided in the .zip file from the download link and also using the given libraries. Check the library.
But the problem still have a problem of identifying the literals form the enumeration.I cannot attach the screen shot i wanted to send you, if you are still interested please do send me ur email and i will attach it to you.
Please make sure:
You have used the right meta-model and model names. It is important. I got same error due to metamodel naming difference as well.
Oh sorry, i can not attach the picture.
but try to import the jar files in the lib folder. Also dont forget to add your lib folder in the environment.
However, I would like to ask if there is anyone who faced a problem with literals of an EMF meta-model while launching ATL transformation programmatically?