Friday, March 30, 2012

Re: JSNI error when using GWT canvas

I have exactly the same issue. Hope this is related to the development
mode and not to the production mode.

On 3 fév, 15:39, Karel <> wrote:
> Hey guys,
> I am getting quite random internal GWT errors when I am using the GWT
> canvas widget in complex cases. Sometimes, seemingly random, JSNI
> errors are fired such as:
> Something other than an
> int was returned from JSNI method
> '': JS value of
> type JavaScript object(20511), expected int
>         at
> 266)
>         at
>         at
> 247)
>         at
> :
> 75)
>         at$.getWidth$
> (
>         at
> 127)
>          at...
> These errors occur quite often, but do not seem to break anything.
> They usually originate from a getCoordinateSpaceHeight() call on the
> canvas. I tried digging in the debugger to find out what's wrong, but
> the debugger does not cross the JSNI boundary, so I can't see what's
> going on in javascript.
> Anyone got any idea what is causing these errors?

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment