Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo] NullPointerException in org.eclipse.acceleo.ide.ui
[Acceleo] NullPointerException in org.eclipse.acceleo.ide.ui [message #1272295] Mon, 17 March 2014 15:14 Go to next message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member
Hello,

each time acceleo wants to build a file (e.g. new acceleo project wizard, clean of workspace) I get the following exception:

java.lang.NullPointerException
	at org.eclipse.acceleo.common.utils.ModelUtils.load(ModelUtils.java:386)
	at org.eclipse.acceleo.internal.ide.ui.resource.AcceleoUIResourceSet.getResource(AcceleoUIResourceSet.java:76)
	at org.eclipse.acceleo.internal.ide.ui.generators.AcceleoUIGenerator.generate(AcceleoUIGenerator.java:459)
	at org.eclipse.acceleo.internal.ide.ui.generators.AcceleoUIGenerator.generateJavaClass(AcceleoUIGenerator.java:184)
	at org.eclipse.acceleo.internal.ide.ui.builders.runner.CreateRunnableAcceleoOperation.run(CreateRunnableAcceleoOperation.java:172)
	at org.eclipse.acceleo.internal.ide.ui.builders.AcceleoBuilder.build(AcceleoBuilder.java:226)
	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:299)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302)
	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:358)
	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:381)
	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)


What can I do to resolve this? My script builds perfectly with maven.

Ralph
Re: [Acceleo] NullPointerException in org.eclipse.acceleo.ide.ui [message #1272608 is a reply to message #1272295] Tue, 18 March 2014 10:22 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member
Hi,

I get the same error at the of the new acceleo project in Luna M6. The workspace is empty and newly created. I attached some screenshots.

Ralph

index.php/fa/17764/0/

index.php/fa/17765/0/
  • Attachment: error.png
    (Size: 75.05KB, Downloaded 409 times)
  • Attachment: error2.png
    (Size: 107.15KB, Downloaded 408 times)
Re: [Acceleo] NullPointerException in org.eclipse.acceleo.ide.ui [message #1279115 is a reply to message #1272295] Fri, 28 March 2014 08:49 Go to previous messageGo to next message
Onder Gurcan is currently offline Onder GurcanFriend
Messages: 1
Registered: March 2014
Junior Member
Hello,

I am having the same problem. I am using Eclipse Luna M6 and Acceleo 3.5 that comes with it. It is a very annoying problem.

Somebody please help,

Thanks in advance,

Onder.
Re: [Acceleo] NullPointerException in org.eclipse.acceleo.ide.ui [message #1280637 is a reply to message #1279115] Sun, 30 March 2014 17:46 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7681
Registered: July 2009
Senior Member
Hi

I've seen this too, but dismissed it as irritating but benign.
Uninstalling Acceleo of course solved the problem. I've re-installed
Acceleo and don't see the problem... yet. I'll keep my eye out.

You should find a stack trace in the error log, which should help the
developers to fix the problem.

Regards

Ed Willink


On 28/03/2014 12:22, Onder Gurcan wrote:
> Hello,
>
> I am having the same problem. I am using Eclipse Luna M6 and Acceleo 3.5 that comes with it. It is a very annoying problem.
>
> Somebody please help,
>
> Thanks in advance,
>
> Onder.
Re: [Acceleo] NullPointerException in org.eclipse.acceleo.ide.ui [message #1290633 is a reply to message #1280637] Thu, 10 April 2014 09:38 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7681
Registered: July 2009
Senior Member
Hi

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=431835.

Regards

Ed Willink


On 30/03/2014 18:46, Ed Willink wrote:
> Hi
>
> I've seen this too, but dismissed it as irritating but benign.
> Uninstalling Acceleo of course solved the problem. I've re-installed
> Acceleo and don't see the problem... yet. I'll keep my eye out.
>
> You should find a stack trace in the error log, which should help the
> developers to fix the problem.
>
> Regards
>
> Ed Willink
>
>
> On 28/03/2014 12:22, Onder Gurcan wrote:
>> Hello,
>>
>> I am having the same problem. I am using Eclipse Luna M6 and Acceleo
>> 3.5 that comes with it. It is a very annoying problem.
>>
>> Somebody please help,
>>
>> Thanks in advance,
>>
>> Onder.
>
Re: [Acceleo] NullPointerException in org.eclipse.acceleo.ide.ui [message #1291741 is a reply to message #1290633] Fri, 11 April 2014 07:15 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member
Hi Ed,

the link is broken.

Ralph
Re: [Acceleo] NullPointerException in org.eclipse.acceleo.ide.ui [message #1291777 is a reply to message #1291741] Fri, 11 April 2014 07:51 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7681
Registered: July 2009
Senior Member
HI

If you mean the

https://bugs.eclipse.org/bugs/show_bug.cgi?id=431835

in my previous posting, it works for me. Refresh your browser/get a
better browser/network connection.

Regards

Ed Willink


On 11/04/2014 08:15, Ralph Gerbig wrote:
> Hi Ed,
>
> the link is broken.
>
> Ralph
Previous Topic:How to import ecore2ecore in template?
Next Topic:Exporting an Acceleo 3.0 generator as an Eclipse Plugin
Goto Forum:
  


Current Time: Thu Dec 26 11:30:33 GMT 2024

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

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

Back to the top