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 20:11 Go to next message
Missing name Missing name is currently offline Missing name Missing nameFriend
Messages: 2
Registered: November 2012
Location: San Jose
Junior Member
I am getting NPE while using the generator plugin from the test plugin. Error snippet is

at org.eclipse.acceleo.engine.service.AcceleoService.doGenerate(
at org.eclipse.acceleo.engine.service.AbstractAcceleoGenerator.generate(
at org.eclipse.acceleo.engine.service.AbstractAcceleoGenerator.doGenerate(

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.

Re: NPE in AcceleoGenerator [message #985808 is a reply to message #985724] Fri, 16 November 2012 09:02 Go to previous message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1659
Registered: July 2009
Senior Member

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
Previous Topic:[Acceleo] Problem xmi reference to another xmi
Next Topic:Acceleo releases
Goto Forum:

Current Time: Tue Dec 01 04:14:17 GMT 2015

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

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