Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » NPE in AcceleoGenerator
NPE in AcceleoGenerator [message #985724] Thu, 15 November 2012 15:11 Go to next message
Missing name Missing name is currently offline Missing name Missing name
Messages: 2
Registered: November 2012
Location: San Jose
Junior Member
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 04:02 Go to previous message
Laurent Goubet is currently offline Laurent Goubet
Messages: 1621
Registered: July 2009
Senior Member
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
Previous Topic:[Acceleo] Problem xmi reference to another xmi
Next Topic:Acceleo releases
Goto Forum:
  


Current Time: Fri Jul 25 16:36:08 EDT 2014

Powered by FUDForum. Page generated in 0.03051 seconds