Igor, you got it. My local SVN was a confusing hybrid of references to old
(sf.net) mixed with new (asf). Apologies, and thanks.
igor.vaynberg wrote:
>
> strange, you seem to have a pretty old copy
>
> here what the latest looks like [1], notice line 1066 doesnt match what
> you
> have
> al
strange, you seem to have a pretty old copy
here what the latest looks like [1], notice line 1066 doesnt match what you
have
also have a look at how the messages are cleared [2] ... iterator is not
used in clearRendered() which is what session.cleanupMessages() calls
[1]
http://svn.apache.org/vi
No doubt, I don't have the stack trace at hand, but I can point you to line
1066 in cleanupFeedbackMessages() in Session. The issue here is that the
Iterator returned from the a CopyOnWriteArrayList throws this exception from
a call to remove, set, or add. Here's the quote from CopyOnWriteArray
your fix wont do, the list needs to be threadsafe
can you please paste the stacktrace so we can see where the remove() is
being called from?
-igor
On 1/22/07, TimOBrien <[EMAIL PROTECTED]> wrote:
I updated my copy of trunk, and I kept on getting this message:
java.lang.UnsupportedOperation
I updated my copy of trunk, and I kept on getting this message:
java.lang.UnsupportedOperationException
java.util.concurrent.CopyOnWriteArrayList$COWIterator.remove(CopyOnWriteArrayList.java:937)
wicket.Session.cleanupFeedbackMessages(Session.java:1067)
Tracked it down to CopyOnWriteArr