RPC Javascript Error

24 views
Skip to first unread message

nathan.m...@gmail.com

unread,
Aug 15, 2006, 1:00:22 AM8/15/06
to Google Web Toolkit
When using GWT 1.0.21 RPC was working fine. I switched over and started
using GWT 1.1 and am now receiving the following error when I perform a
RPC call.

[WARN] Exception thrown into JavaScript
com.google.gwt.core.client.JavaScriptException: JavaScript TypeError
exception: this.__anchor has no properties
at
com.google.gwt.dev.shell.moz.ModuleSpaceMoz.invokeNative(ModuleSpaceMoz.java:200)
at
com.google.gwt.dev.shell.moz.ModuleSpaceMoz.invokeNativeBoolean(ModuleSpaceMoz.java:59)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeBoolean(JavaScriptHost.java:39)
at
com.google.gwt.user.client.impl.HTTPRequestImpl.asyncPostImpl(HTTPRequestImpl.java:53)
at
com.google.gwt.user.client.impl.HTTPRequestImpl.asyncPost(HTTPRequestImpl.java:34)
at
com.google.gwt.user.client.impl.HTTPRequestImpl.asyncPost(HTTPRequestImpl.java:29)
at
com.google.gwt.user.client.HTTPRequest.asyncPost(HTTPRequest.java:41)
at
com.uvive.gwt.vibe.client.services.UserLoginService_Proxy.login(transient
source for
com.uvive.gwt.vibe.client.services.UserLoginService_Proxy:74)
at
com.uvive.gwt.vibe.client.fullmod.LoginModule$UserLoginClick.onClick(LoginModule.java:103)
at
com.google.gwt.user.client.ui.ClickListenerCollection.fireClick(ClickListenerCollection.java:36)


The RPC call does nothing more than pass two strings. Anybody have an
idea why I would be receiving this error? Thanks!

ianH

unread,
Aug 18, 2006, 10:08:34 AM8/18/06
to Google Web Toolkit
I'm getting the same error whilst trying to debug in web mode like
this:

$ java -cp
/home/ian/booking/src:/home/ian/booking/bin:/home/ian/gwt-linux-1.1.0/gwt-user.jar:/home/ian/gwt-linux-1.1.0/gwt-dev-linux.jar
com.google.gwt.dev.GWTShell -noserver http://localhost/~ian/index.php

Everything works fine in hosted mode, but I am using PHP and MySQL
pages so want to use a web server configured as such.

If you find out the fix please let me know,

[ERROR] Uncaught exception escaped


com.google.gwt.core.client.JavaScriptException: JavaScript TypeError
exception: this.__anchor has no properties
at
com.google.gwt.dev.shell.moz.ModuleSpaceMoz.invokeNative(ModuleSpaceMoz.java:200)
at
com.google.gwt.dev.shell.moz.ModuleSpaceMoz.invokeNativeBoolean(ModuleSpaceMoz.java:59)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeBoolean(JavaScriptHost.java:39)
at

com.google.gwt.user.client.impl.HTTPRequestImpl.asyncGetImpl(HTTPRequestImpl.java:79)
at
com.google.gwt.user.client.impl.HTTPRequestImpl.asyncGet(HTTPRequestImpl.java:43)
at
com.google.gwt.user.client.impl.HTTPRequestImpl.asyncGet(HTTPRequestImpl.java:38)
at
com.google.gwt.user.client.HTTPRequest.asyncGet(HTTPRequest.java:67)
at
com.brittanygites.client.JSONRequester$SearchButtonClickListener.doFetchURL(JSONRequester.java:100)
at
com.brittanygites.client.JSONRequester$SearchButtonClickListener.onClick(JSONRequester.java:92)
at
com.google.gwt.user.client.ui.ClickListenerCollection.fireClick(ClickListenerCollection.java:36)

ktha...@gmail.com

unread,
Aug 21, 2006, 3:28:35 PM8/21/06
to Google Web Toolkit
Same for me with Linux/gwt-linux-1.1.0.tar.gz (w/Eclipse 3.2)!
Anybody had this on windows?

is this a bug?

karvan

unread,
Aug 22, 2006, 9:35:24 AM8/22/06
to Google Web Toolkit
I think this problem comes from some change in the the Focus system.
The com.google.gwt.user.client.ui.impl.FocusImplOld seems to be the
class to blame.

Scott Blum

unread,
Aug 22, 2006, 11:52:39 PM8/22/06
to Google-We...@googlegroups.com
Hi all,

We reproduced this problem on Linux hosted mode, and a fix will be in
the upcoming release. Sorry for the inconvenience.

Scott

Nathan Modrzewski

unread,
Aug 23, 2006, 11:18:24 AM8/23/06
to Google-We...@googlegroups.com
Thank you sooooooo much. Keep up the great work. Have two large sites that we are developing that are using GWT from the start.

Thanks again,
  -- Nathan
Reply all
Reply to author
Forward
0 new messages