NPE in AcceleoGenerator [message #985724] |
Thu, 15 November 2012 20:11 |
|
Hi,
I am getting NPE while using the generator plugin from the test plugin. Error snippet is
java.lang.NullPointerException
at org.eclipse.acceleo.engine.service.AcceleoService.doGenerate(AcceleoService.java:565)
at org.eclipse.acceleo.engine.service.AbstractAcceleoGenerator.generate(AbstractAcceleoGenerator.java:193)
at org.eclipse.acceleo.engine.service.AbstractAcceleoGenerator.doGenerate(AbstractAcceleoGenerator.java:158)
There was another thread about the same exception in Acceleo3.2.1 and supposedly fixed in 3.2, but seems to be not working in 3.3 version again. Any thoughts.
Thanks
|
|
|
Re: NPE in AcceleoGenerator [message #985808 is a reply to message #985724] |
Fri, 16 November 2012 09:02 |
|
Hi,
You cannot have a parameterless 'main' template. The main template will be called for each element of the input model that matches its argument. It is a bug of Acceleo if we really compile such templates without errors.
Laurent Goubet
Obeo
|
|
|
Powered by
FUDForum. Page generated in 0.02641 seconds