On 11 juin, 23:05, elifarley <[email protected]> wrote:
> I'd like to know if you guys have faced the same problem I'm facing,
> and how you are dealing with it.
>
> Sometimes, a small and harmless change in a Java class ensues strange
> errors at runtime.
>
> These errors only happen if BOTH conditions below are true:
>
> 2) the application is run on Google Chrome, and
>
> 1) the GWT JavaScript compiler output style is set to 'OBF'.
>
> So, running the application on Firefox or IE always works.
> Running with the output style set to 'pretty' or 'detailed' always
> works, even on Google Chrome.
>
> Here's an example of error message that I got:
>
>     "((TypeError): Property 'top' of object [object DOMWindow] is not
> a function stack"
>
> And here's what I have:
> - GWT 1.5.3
> - GXT 1.2.4
> - Google Chrome 4 and 5
> - Windows XP
>
> In order to get rid of this Heisenbug, I have to either deploy my
> application without obfuscation or endure a time-consuming trial-and-
> error process in which I re-implement the change in slightly different
> ways and re-run the application, until the GWT compiler is happy with
> my code.
>
> Would you have a better idea on how to avoid this?

Which GWT version are you using?
This seems related to 
http://code.google.com/p/google-web-toolkit/issues/detail?id=4117
but it seems to me that this was fixed in GWT 1.6

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