Error with Restlet sample project
Asked Answered
D

7

8

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?

Dimmick answered 13/6, 2011 at 3:37 Comment(0)
M
5

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.

Manse answered 16/6, 2011 at 2:0 Comment(1)
Close projects and restart eclipse. - rowsandcolumns.blogspot.com/2013/02/…Jenness
A
4

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

Close project Close Eclipse Open Eclipse Open project

Awning answered 19/12, 2011 at 19:43 Comment(1)
close projects and re-open eclipse using ./eclipse -cleanJenness
U
1

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.

Upstage answered 12/1, 2012 at 9:25 Comment(0)
P
1

I'm also experiencing this error, but thanks to git comparing .classpath I noticed that I had removed a couple of variables from the "Configure Variables" list, but not from the Java Build Path. Once I removed it from the second list, the error was gone.

Prologue answered 31/10, 2012 at 14:25 Comment(0)
N
0

I got this error when I was using a workspace that was on an NFS and I had the same workspace open on two different vnc sessions. I closed out Eclipse on one vnc session and then restarted eclipse on the other. Then I went to the java build path and editted the gwt sdk and had it use the gwt sdk it was already pointed to and it stopped giving me that error. I didn't actually change the gwt sdk, just went through the motions of doing so. Hope this helps.

Nealon answered 25/10, 2011 at 20:0 Comment(0)
H
0

The problem was miss configuration of JRE, I just did the following: Go to Build path configuration, select add Library, JRE System Library, select your JRE. And there you go...

Haw answered 9/3, 2012 at 8:1 Comment(0)
U
0

For me this error seemed to occur after a compile had failed due to lack of memory and eclipse had been restarted. However, after increasing memory (in the eclipse.ini) the problem still persisted. None of the above solutions worked for me.

The bizarre solution I found: our project here uses GWT 2.4, so I switched to 2.5 (which comes with the plugin - window>preferences>google>Web Tookit), re-compiled, switched back to 2.4 and, hey presto, it worked again!

(Another hour of my life I'll never get back!)

Unthinkable answered 26/2, 2013 at 15:47 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.