GWT 1.6.4 - Blank page in Hosted Mode

15 views
Skip to first unread message

Lupan

unread,
Jun 20, 2009, 12:23:23 AM6/20/09
to Google Web Toolkit
Hi ! I just downloaded the GWT 1.6.4 distribution and tried running
some of the samples with the ant hosted command. Unfortunately only
the static content is loaded in the hosted mode browser, as if there
were no <script> tag at all. I've tried it on eclipse and it presented
the same behavior. The logging seems fine:

[INFO] 200 - GET /StockWatcher.html (127.0.0.1) 2242 bytes
[INFO] 200 - GET /StockWatcher.css (127.0.0.1) 602 bytes
[INFO] 200 - GET /stockwatcher/stockwatcher.nocache.js (127.0.0.1)
4990 bytes

The strange thing is that when I hit the Compile/Browse button the
application loads fine on my browser (Firefox 3), the inputText field
and the button appear, just like in the tutorial. As I said, within
the Hosted Mode Browser only the page static content is shown (just
"Web Application Starter Project" and "Please enter your name:"
labels), no GWT application is launched (appareantly).
The problem seems to be something specific to the Hosted Mode Browser.

I'm using JDK 1.6u14 (Just reinstalled it because I saw some posts
telling about it but the problem remained the same)

Any clues will be much appretiated ! Thank you !!

Farinha

unread,
Jun 27, 2009, 2:52:58 PM6/27/09
to Google Web Toolkit
I'm having the exact same problem.
Just started with GWT+Eclipse+App Engine today, so it's quite possible
I'm doing something wrong.

Anyway, I suspected that the code that generates the panels wasn't
being hit and placed a breakpoint there. And hitting the debug (F11)
didn't trigger any breakpoint, which leads me to believe that part of
the code is not running, and that's why the panels are not displayed.
But then again, if I hit the "Compile/Browse" button I can see
everything properly.

Thanks for the help.

Fred Sauer

unread,
Jul 2, 2009, 12:53:04 PM7/2/09
to Google-We...@googlegroups.com
I wonder if you're running into this issue:
To verify this:
1. shutdown hosted mode
2. clear all files in your browser's cache (assuming you're on Windows, clear all files from the cache in IE; that the IE browser on your machine which is what is embedded in hosted mode on Windows)
3. relaunch your app

If everything works, you may have been bitten by the above issue. Let me know if that's the case.

Fred


--
Fred Sauer
fr...@allen-sauer.com

[]
Reply all
Reply to author
Forward
0 new messages