Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error with Restlet sample project

I downloaded the sample Restlet project and opened it in Eclipse. I instantly get this error:

Errors occurred during the build.
Errors running builder 'Google WebApp Project Validator' on project 'org.restlet.example.serialization.gae-gwt'.
java.lang.NullPointerException

What am I doing wrong?

like image 625
Nick Heiner Avatar asked Jun 13 '11 03:06

Nick Heiner


3 Answers

I had this same error with my own project. In the Eclipse Project Explorer I right-clicked the project and chose Refresh. That cleared up the error for me.

like image 178
DaveTrux Avatar answered Oct 06 '22 22:10

DaveTrux


This is a temporary, but repeatable solution someone on my team found...

Close project Close Eclipse Open Eclipse Open project

like image 24
Patrick Avatar answered Oct 07 '22 00:10

Patrick


I continually had this problem in combination with git. My git repository was in my eclipse workspace ( even though eclipse warns you not to do this ). Deleting the old repository, and creating a new git repository outside of the eclipse workspace, then cloning a fresh copy of my gwt project solved this problem for me. Hope this helps.

like image 27
3dGus Avatar answered Oct 06 '22 22:10

3dGus