Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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: Mon Jul 14 02:34:18 EDT 2025

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

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

Back to the top