Hi,

> com.google.gwt.user.client.rpc.XsrfTokenService.getNewXsrfToken()'
> threw an unexpected exception:
> com.google.gwt.user.client.rpc.RpcTokenException: Invalid RPC token
> (Session cookie is not set or empty! Unable to generate XSRF cookie)


What do these show?  Have you tried logging the error?

>                                        public void onFailure(Throwable 
> caught) {
>                                                try {
>                                                        throw caught;
>                                                } catch (RpcTokenException e) {
>                                                        // Can be thrown for 
> several reasons:
>                                                        // - duplicate session 
> cookie, which may be a sign
>                                                        // of a cookie
>                                                        // overwrite attack
>                                                        // - XSRF token cannot 
> be generated because session
>                                                        // cookie isn't
>                                                        // present
>                                                } catch (Throwable e) {
>                                                        // unexpected
>                                                }
>                                        }
>                                });
>                        }

Do you have gwt-dev.jar in your classpath.  I didn't and was seeing
and unexpected error when it couldn't generate the token for as the
needed class wasn't found.  Not sure if that is your problem or not.

Shawn

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to