SOLVED!

I was attempting to move my app, one piece at a time into a new
project and I finally discovered what was causing the problem.
In my module's html file I had
<script src="docEvents.js"/>
which simply needed to be changed to
<script src="docEvents.js"></script>

Now it no longer gets stuck and works wonderfully!

Thanks so much for the help Jason!

On Jul 13, 4:57 pm, Sky <myonceinalifet...@gmail.com> wrote:
> Thx, I tried the Java Development Kit versions 1.6.0_07, 13 and 14.
> Same situation.
>
> On Jul 13, 4:31 pm, Jason Parekh <jasonpar...@gmail.com> wrote:
>
>
>
> > Hey,
> > One clarification:  I'm actually talking about the Java Development Kit/Java
> > Runtime version and not the GWT SDK version.  You can see your version in
> > Eclipse preferences > Java > Installed JREs
>
> > jason
>
> > On Mon, Jul 13, 2009 at 5:24 PM, Sky <myonceinalifet...@gmail.com> wrote:
>
> > > No change at all when not using Google App Engine.
> > > On the download page there is only version 1.6.4 and 1.5.3 and older.
> > > I
> > > don't know how to get different revisions like 1.6.013 like Jason
> > > suggested.
>
> > > On Jul 13, 4:02 pm, Sky <myonceinalifet...@gmail.com> wrote:
> > > > <quote>Strange about not hitting the breakpoint with this simple
> > > > project</quote>
>
> > > > Just to be clear I meant with my project. Since the sample app works
> > > > in hosted mode I am assuming I can debug it perfectly fine.
>
> > > > In terms of version, I see JDK 1.6.4 I don't see 1.6.0_14 or 13 just
> > > > 1.6.4 in the build path.
>
> > > > If it helps to know I am running this with the Google App Engine. The
> > > > first time I tried the conversion I didn't do it with the App Engine,
> > > > but this time I did... maybe thats the point that it went from having
> > > > errors to not having errors. I shall try it again without App Engine.
> > > > I don't think I can try the conversion by moving smaller chunks, cuz
> > > > the onModuleLoad pretty much instantiates one class and that class
> > > > uses everything I've written in GWT.
>
> > > > I'll keep you posted.
>
> > > > On Jul 13, 3:54 pm, Jason Parekh <jasonpar...@gmail.com> wrote:
>
> > > > > On Mon, Jul 13, 2009 at 4:35 PM, Sky <myonceinalifet...@gmail.com>
> > > wrote:
>
> > > > > > Correct, I just see the HTML content with any and all GWT widgets
> > > > > > missing.
>
> > > > > > I was successful in viewing the default app that comes from the new
> > > > > > app wizard within Hosted Mode browser.
> > > > > > In debug mode I do not reach a breakpoint I set on the very first
> > > line
> > > > > > within the module's onModuleLoad() method.
>
> > > > > Strange about not hitting the breakpoint with this simple project.
> > >  We've
> > > > > seen this issue with JDK 1.6.0_14, are you running that version?  Try
> > > > > downgrading to 1.6.0_13.  See:
>
> > > > >http://code.google.com/p/google-web-toolkit/issues/detail?id=3724
>
> > > > > for more details.
>
> > > > > > I cleared the error log and ran the web app again and nothing
> > > appeared
> > > > > > in the error log.
>
> > > > > > When I first converted my app to the 1.6 file layout (by creating a
> > > > > > new 1.6 app from wizard and moving my files from previous project
> > > into
> > > > > > the new one) the app failed on a static call to a private static
> > > > > > native void method where I call an external javascript method. After
> > > > > > converting all my Listeners to Handlers in my app, this problem went
> > > > > > away magically. Regardless of whether or not I comment out the call
> > > to
> > > > > > that method, I get no errors, but it is also impossible to reach 
> > > > > > that
> > > > > > code because I don't even get inside the onModuleLoad(). Did I break
> > > > > > something when converting my Listeners to Handlers?
>
> > > > > Sorry, I'm not very familiar with the changes from 1.5 to 1.6 (perhaps
> > > > > someone more knowledgeable could chime in?), but I wouldn't expect 
> > > > > your
> > > > > changes got you into the current state.
>
> > > > > Assuming you're running JDK 1.6.0_14, could you try setting the
> > > breakpoint
> > > > > again after downgrading?  Hopefully it'll break, and you can step
> > > through
> > > > > your code to gather more useful data.
>
> > > > > How big is your application?  Would it be feasible to try the GWT 1.5
> > > -> 1.6
> > > > > process again, except move your code in smaller chunks?
>
> > > > > jason
>
> > > > > > On Jul 13, 3:15 pm, Jason Parekh <jasonpar...@gmail.com> wrote:
> > > > > > > Hi Sky,
> > > > > > > What exactly do you see in the hosted mode browser?  Just the HTML
> > > > > > content
> > > > > > > (with GWT widgets missing)?
>
> > > > > > > I'd suggest a couple things to reduce where we search for the
> > > problem:
> > > > > > > - Can you try creating a new GWT app from the wizard and see if it
> > > loads
> > > > > > in
> > > > > > > the hosted mode browser?  Can you try a breakpoint in this 
> > > > > > > module's
> > > > > > > onModuleLoad?
> > > > > > > - Can you look at the error log (Ctrl-3, then type error log).  
> > > > > > > See
> > > any
> > > > > > > errors there that may pertain to the problem?
>
> > > > > > > jason
>
> > > > > > > On Mon, Jul 13, 2009 at 3:58 PM, Sky <myonceinalifet...@gmail.com>
> > > > > > wrote:
>
> > > > > > > > Bump.
>
> > > > > > > > I really need help with this, because my app was fine in GWT 1.5
> > > but
> > > > > > > > with 1.6 I no longer can test functionality on the fly, nor can 
> > > > > > > > I
> > > > > > > > debug. I am at a complete standstill for development.
>
> > > > > > > > And there are absolutely no indications of what my problem could
> > > be so
> > > > > > > > I don't even know where to start looking. It would help if 
> > > > > > > > anyone
> > > can
> > > > > > > > even suggest more info I can try to get to help you help me.
>
> > > > > > > > Many thanks!
>
> > > > > > > > On Jul 13, 1:17 am, Sky <myonceinalifet...@gmail.com> wrote:
> > > > > > > > > After converting my GWT app from version 1.5 to 1.6, it does
> > > not work
> > > > > > > > > in Hosted Mode but after compiling it, it works 100% fine in
> > > any
> > > > > > > > > browser.
>
> > > > > > > > > I don't get any errors, it simply does not appear to build any
> > > > > > widgets
> > > > > > > > > or anything. I put a break point on the first line inside the
> > > only
> > > > > > > > > Entry Point Module's onModuleLoad() method and ran it in 
> > > > > > > > > Hosted
> > > Mode
> > > > > > > > > in debug mode (from Eclipse) and the code never reached that
> > > line.
>
> > > > > > > > > Where can I start looking for what the problem is? What other
> > > info
> > > > > > can
> > > > > > > > > I give you so you can help me?
>
> > > > > > > > > Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to