Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Problems with GWT demo project(Remote Procedure Call - Failure)
Problems with GWT demo project [message #815983] Thu, 08 March 2012 09:28 Go to next message
Sigmar Alexandersson is currently offline Sigmar AlexanderssonFriend
Messages: 1
Registered: March 2012
Junior Member
I'm trying to run guest book GWT demo project with little success.

I run the project starts but when I try to submit the page I get the following error.
"
Remote Procedure Call - Failure
Sending name to the server
GWT User

Server replies
An error occurred while attempting to contact the server.
Please check your network connection and try again.
"
I'm running the project locally

This is a printout of the console
"

mar. 08, 2012 9:25:37 AM com.google.apphosting.utils.jetty.JettyLogger warn
WARNING: Error for /guestbook/greet
java.lang.VerifyError: Expecting a stackmap frame at branch target 17 in method guestbook.server.GreetingServiceImpl.greetServer(Ljava/lang/String;)Ljava/lang/String; at offset 4
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:428)
at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:35)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:60)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:122)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.appengine.tools.development.BackendServersFilter.doFilter(BackendServersFilter.java:97)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at com.google.appengine.tools.development.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:78)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:363)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
"

Any help would be greatly appreciated.
Re: Problems with GWT demo project [message #835733 is a reply to message #815983] Tue, 03 April 2012 15:55 Go to previous messageGo to next message
Bryan Whitney is currently offline Bryan WhitneyFriend
Messages: 1
Registered: April 2012
Junior Member
I was getting the same error as you. I found a site that had a solution that worked for me: java . dzone . com/articles/javalangverifyerror-expecting

You can either switch to JDK 6 (I haven't tried that one), or you can add a VM argument to your installed JRE. In Eclipse go to:
Window->Preferences->Java->Installed JREs then select the JRE you are using and click Edit. Add this VM argument to the Default VM Arguments text field:

-XX:-UseSplitVerifier

Another user also said there is a patch that fixes this for you, but I'm not familiar enough with Eclipse to know how to apply the patch. Here's the site though:
bugs . eclipse . org/bugs/show_bug.cgi?id=362591

(Sorry for the spaces in the links, apparently you have to post 25 messages before links are enabled in this forum.)
Re: Problems with GWT demo project [message #838196 is a reply to message #835733] Fri, 06 April 2012 18:18 Go to previous messageGo to next message
Brian Lopez is currently offline Brian LopezFriend
Messages: 1
Registered: April 2012
Junior Member
I'm running JDK 7, Eclipse (Indigo), and GWT 2.4.0. I just wanted to confirm that the above solution worked for me.

I added -XX:-UseSplitVerifier and it's working for me now.

Thanks for the help!
Re: Problems with GWT demo project [message #1708375 is a reply to message #838196] Wed, 16 September 2015 04:58 Go to previous messageGo to next message
khoa nguyen is currently offline khoa nguyenFriend
Messages: 1
Registered: September 2015
Location: developer
Junior Member
Hi I met this error. I use Gwt 2.7 and jdk 1.7. Please help me!
Re: Problems with GWT demo project [message #1708460 is a reply to message #1708375] Wed, 16 September 2015 18:21 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 09/16/2015 11:36 AM, khoa nguyen wrote:
> Hi I met this error. I use Gwt 2.7 and jdk 1.7. Please help me!
Not sure what, if anything, this has to do with Eclipse. Would you
explain a little more?
Previous Topic:Using the Android MQTT client sample
Next Topic:JVM not suitable
Goto Forum:
  


Current Time: Fri Apr 26 13:17:18 GMT 2024

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

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

Back to the top