Skip to main content



      Home
Home » Modeling » TMF (Xtext) » XTend 2.2.1 installation broken? (NPE at BuilderParticipant.java:184)
XTend 2.2.1 installation broken? (NPE at BuilderParticipant.java:184) [message #885192] Tue, 12 June 2012 11:28 Go to next message
Eclipse UserFriend
Hello,

I have problems with my XText project (and also the XTend example projects). When I delete the generated files in xtend-gen, open up the .xtend file and save it (so the generator should be triggered I think), I get following stacktrace in the eclipse log/console

178  [Worker-5] ERROR org.eclipse.xtext.builder.impl.XtextBuilder  - 
java.lang.NullPointerException
	at org.eclipse.xtext.builder.BuilderParticipant.isEnabled(BuilderParticipant.java:184)
	at org.eclipse.xtext.builder.BuilderParticipant.build(BuilderParticipant.java:99)
	at org.eclipse.xtext.builder.impl.RegistryBuilderParticipant.build(RegistryBuilderParticipant.java:60)
	at org.eclipse.xtext.builder.impl.XtextBuilder.doBuild(XtextBuilder.java:160)
	at org.eclipse.xtext.builder.impl.XtextBuilder.incrementalBuild(XtextBuilder.java:141)
	at org.eclipse.xtext.builder.impl.XtextBuilder.build(XtextBuilder.java:91)
	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
	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:54)


Seems that something is wrong with my eclipse setup?! It worked fine the first time but after a time of work the described error occurs. This leads to a missing generator for my XText project.

Tried project -> clean but the error also occurs there. Also a new Workspace didn't help, so I guess it's something wrong with my installation. Any tips here what I can do now?

Kind regards
Sven

[Updated on: Tue, 12 June 2012 11:29] by Moderator

Re: XTend 2.2.1 installation broken? (NPE at BuilderParticipant.java:184) [message #885252 is a reply to message #885192] Tue, 12 June 2012 13:25 Go to previous messageGo to next message
Eclipse UserFriend
Hi Sven,

please make sure that your installation is consistent. How did you
install Xtext? Do you have other plugins installed, that use Xtext? Did
you replace the shared state module?

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 12.06.12 17:28, schrieb Sven Kasten:
> Hello,
>
> I have problems with my XText project (and also the XTend example
> projects). When I delete the generated files in xtend-gen, open up the
> .xtend file and save it (so the generator should be triggered I think),
> I get following stacktrace in the eclipse log/console
>
>
> 178 [Worker-5] ERROR org.eclipse.xtext.builder.impl.XtextBuilder -
> java.lang.NullPointerException
> at
> org.eclipse.xtext.builder.BuilderParticipant.isEnabled(BuilderParticipant.java:184)
>
> at
> org.eclipse.xtext.builder.BuilderParticipant.build(BuilderParticipant.java:99)
>
> at
> org.eclipse.xtext.builder.impl.RegistryBuilderParticipant.build(RegistryBuilderParticipant.java:60)
>
> at
> org.eclipse.xtext.builder.impl.XtextBuilder.doBuild(XtextBuilder.java:160)
> at
> org.eclipse.xtext.builder.impl.XtextBuilder.incrementalBuild(XtextBuilder.java:141)
>
> at org.eclipse.xtext.builder.impl.XtextBuilder.build(XtextBuilder.java:91)
> at
> org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
>
> at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
>
> at
> org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
>
> at
> org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
>
> at
> org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
> 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:54)
>
>
> Seems that something is wrong with my eclipse setup?! It worked fine the
> first time but after a time of work the described error occurs. This
> leads to a missing Generator for my XText project.
> Tried project -> clean but the error also occurs there. Also a new
> Workspace didn't help, so I guess it's something wrong with my
> installation. Any tips here what I can do now?
>
> Kind regards
> Sven
Re: XTend 2.2.1 installation broken? (NPE at BuilderParticipant.java:184) [message #885598 is a reply to message #885252] Wed, 13 June 2012 05:54 Go to previous message
Eclipse UserFriend
Hello Sebastian,

okay, the problem occurred again after I completely reinstalled my Eclipse. Didn't find the solution for now.

Regards,
Sven

[Updated on: Wed, 20 June 2012 04:28] by Moderator

Previous Topic:Finer grained quickfixes possible?
Next Topic:STRING serialization not producing quotes if no whitespace
Goto Forum:
  


Current Time: Sun Jul 27 14:43:01 EDT 2025

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

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

Back to the top