Are you calling this from an RPC? It looks like you are (rpc.
InvocationException<http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/rpc/InvocationException.html>).
An RPC expects an RPC serialized response, not what it is getting. To get a
file back like this, you'll need to just open it like a new browser window.

i.e. window.open("yourServerUrl","_blank");
The above will get stopped by popup blockers. However, if you open it by
posting a form to the URL with a target="_blank" tag, it should just open.

If you're not using RPC, the docs say it is a communications error, which
could be many things.

Also, you might want to redact the titles of those images as they show your
whole package name.




Sincerely,
Joseph

~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
Joseph R Lust
(919) 355-8785
[email protected]


On Mon, Jun 18, 2012 at 10:04 PM, tong123123 <[email protected]> wrote:

> I have added the catch (Exception e) in ExportServiceImpl.java and found
> there is no any exception, but when the rpc return to client, it go to
> onFailure with InvocationException as shown in attachment OnFailure.png. I
> don't know is this HTTP error.
>
> But what is the cause of this error?
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/eZcgULVFo14J.
> 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.
>

-- 
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