Hi greatness,
The fact that you're using the Long type (which is now correctly emulated in
GWT 1.5) tells me that it could be one of the causes of the migration issues
you've been facing.

Specifically, check out the notes about using the emulated Long type in the
Java compatibility docs linked below:

http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideJavaCompatibility

The thing to watch out for is that your code isn't accessing long types in
JSNI code, which will break the emulation and likely crash in places where
you code is still expecting a long. I have an even stronger suspicion that
this is the main cause of the problem because you mentioned that your
application works in hosted mode but breaks when deployed in web mode You
also mentioned that you changed longs to doubles in your code during the
migration but issues still occurred. It's possible that there is more than
one issue getting in the way of your migration, although it will be hard to
track since the issues you described aren't typical.

Here is what I recommend trying: either change Long to double, especially if
using Long isn't necessary (i.e. you could do with 32-bit representations).
Next, make sure your code is complying with every other step required while
migrating from GWT 1.4 to 1.5 in the documentation linked below:

http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=ReleaseNotes_1_5_UpgradeGuide

Finally, try building and running your application once more. If it still
doesn't work, let us know the exact error message you're seeing.

Hope that helps,
-Sumit Chandel

On Wed, Mar 25, 2009 at 4:03 PM, greatness <[email protected]> wrote:

>
> Hi,
> Not changing the code at all, migrating to GWT 1.5.3 causes that
> problem. As soon as I switch back to the GWT 1.4.62, everything is
> good. The main difference between this page and others is that this
> page has quite a bit of calculations using Long and some date
> conversions. We have the Source code for some version of Calendar in
> the project so that the compiler doesn't complain and it works
> beautifully well in the GWT 1.4. The problem is that even having
> firebug installed doesn't help..... it is not obvious where the
> problem exactly happens..... Just looking a needle in the hay stack :
> (. I tried to add alert in different parts of the page to see where
> the problem happens. it happens in hundred places....... I couldn't
> pin point the problem. I changed code from Lang to double......etc but
> nothing helped. There should be better way to debug JavaScript code.
> It is important to mention that we don't use that many external
> libraries apart from gwtchismes-0.8, and hibnerate4gwt-1.1.2 which
> should be standard.
> The code works fine in the hosted mode. I don't see any errors. I see
> quite a bit of warnings due to not using java 1.5 style in most parts
> of the code yet.
> I am looking forward to your informative and useful suggestions.
>
>
>
>
> On Mar 24, 10:40 am, Sumit Chandel <[email protected]> wrote:
> > Hi greatness,
> > The urchinTracker variable has to do with Google Analytics. My guess is
> that
> > you're using analytics in your page and something broke along the way as
> you
> > made the migration from 1.4.62 to 1.5.3. While possible, I don't think
> > changing and updating to GWT 1.5.3 would be directly responsible for a
> break
> > in analytics usage. I suggest you traceback any inadvertent changes that
> may
> > have occurred during the upgrade process that might have affected your
> > analytics usage.
> >
> > Hope that helps,
> > -Sumit Chandel
> >
> > On Thu, Mar 19, 2009 at 3:18 PM, greatness <[email protected]> wrote:
> >
> > > Hi all,
> > > I have got this problem since migrating to GWT 1.5.3 from 1.4.62. I
> > > get this exception only in the web mode. I do not get this in the
> > > hosted mode. I am kind of new to the GWT and I am not sure how I can
> > > fix this. I have a tree structure that pages are shown on the right by
> > > selecting tree items on the tree. When I click on the tree item,
> > > nothing is displayed on the right frame. I get this
> > > java.lang.illegalArgumentException.
> > > FYI-- I installed firebug, I see weird messages such as "urchinTracker
> > > is not defined
> > > [Break on this error] urchinTracker("\x2Fgroup\x2FGoogle...oin=y
> > > \x26als_sstat=s\x26als_usc=1\x26");". As far as I know, we don't use
> > > urchine software.
> > > I am totally lost. any help is highly appreciated.
> >
>

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