On Nov 30, 12:39 am, KevinF <[EMAIL PROTECTED]> wrote:
> Ok, I found the issue... seems it was a programming error on my part.
> Not waiting for all Lists to come back from the server before
> processing it in the client. I wish there was some easy way to handle
> this kind of thing. Is there some way to make some requests
> synchronous?

No.

> It seems the reason this occurred was due to asynchronous request/processing.

Pls. post a *small* code sample. Preferrably the code that handles the
request callback. If this is your initial attempt at GWT callback
design, perhaps there's an issue that the list will spot.

It's also likely that you'll want to only load an initial list, and
load other lists in the background. How likely is it that the user
will need to see all the contents of all the lists at once?
IncrementalCommand is helpful for cases like this. There are also
other list management widgets that will do this type of processing for
you. Search the list for "bulk"

FWIW, I've also seen this issue w/ IE 6 & 7. My particular case is an
app that retrieves several large images before setting up a Fisheye
widget. The widget works correctly under Firefox & Safari, but fails
miserably in IE. Turns out that the load order will have to change.

>
> On Nov 29, 2:45 am, KevinF <[EMAIL PROTECTED]> wrote:
>
> > Hi everyone,
>
> >   I'm running into a really weird problem with IE7 when I view my site
> > that was created using GWT. The client makes several calls to the
> > server to retrieve Lists of information. This problem does not occur
> > in Firefox 3 nor in Safari. The error I'm getting is
>
> > Line: 2818
> > Char: 3
> > Error: Exception thrown and not caught
> > Code: 0
> > URL: http://<domain>/997866B17568BBEABF330CD77D093CE1.cache.html
>
> >   From what I gather, it seems this file is the my application logic
> > tailored for IE. When I look into the file at line 2818, I find:
>
> > 2817: function java_util_AbstractList_indexOutOfBounds__II(index, size)
> > {
> > 2818:  throw java_lang_IndexOutOfBoundsException_
> > $IndexOutOfBoundsException__Ljava_lang_IndexOutOfBoundsException_2Ljava_lang_String_2
> > (new java_lang_IndexOutOfBoundsException(), $intern_130 + index +
> > $intern_131 + size);
> > 2819: }
>
> >   I tried to find where the callers of this method were and there were
> > 3 of them:
> > (1) function java_util_ArrayList_
> > $add__Ljava_util_ArrayList_2ILjava_lang_Object_2(this$static, index,
> > o)
> > (2) function java_util_LinkedList_
> > $listIterator__Ljava_util_LinkedList_2I(this$static, index)
> > (3) function java_util_AbstractList_checkIndex__II(index, size)
>
> >   I'm guessing this means somewhere my application is trying to access
> > an index in a List that's not within bounds of it. The puzzling thing
> > is, how come this only happens on SOME IE7 browsers and does not occur
> > at all in Firefox or Safari.
>
> >   Any ideas or fixes would be much appreciated.
>
> > Kevin
--~--~---------~--~----~------------~-------~--~----~
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