Skip to main content


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
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 Go to previous message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
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: Thu Apr 25 17:37:53 GMT 2024

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

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

Back to the top