The error happens in loadModule, so your code hasn't yet been called (except possibly the onModuleLoad), or at least the error is not about $doc in JSNI, because the exception comes from displayErrorGlassPanel. This method tries to access the outer-most window object [1], and it's failing here most probably because of a Same-Origin Policy violation. There are two possible causes to this:
- your GWT app runs in a frame within a document from a different origin (e.g. GWT app loaded from server1.com in a frame of a document loaded from server2.net; it could also be as small a difference as www.server.com vs. server.com) - you're loading the HTML host page out of the file-system rather than served through HTTP (would be really strange for a DevMode session though) [1] http://code.google.com/p/google-web-toolkit/source/browse/trunk/dev/core/src/com/google/gwt/core/ext/linker/impl/hosted.html#170 -- 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/-/bzkc5Z4fAjQJ. 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.
