On 2/6/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
Looks like a synchronization issue. Not a known one, but that's part
of code that has been quite recently refactored. Could you tell us a
bit more about the ajax thingy you're using?

I'm adding the component like:

        Label totalTime = new Label("totalTime", new AbstractReadOnlyModel() {
            public Object getObject(Component component) {
                return user.getFormattedTimeFor();
            }
        });
        add(totalTime);
        totalTime.add(new AjaxSelfUpdatingTimerBehavior(60 * 1024));
        totalTime.add(MarkupIdSetter.INSTANCE);

user is a instance variable of the page and getFormattedTime() iterates a List of items inside it.  There's a few places the contents of user could be read by multiple threads, but I would have thought if it was my code that would be been listed in the ConcurrentModificationException stacktrace.  I'll refactor out the reuse of the user object and see if it still triggers.

Mark

Reply via email to