Re: [Wicket-user] Any users getting an UnsupportedOperationException on 2.0 trunk?

2007-01-23 Thread TimOBrien
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

Re: [Wicket-user] Any users getting an UnsupportedOperationException on 2.0 trunk?

2007-01-22 Thread Igor Vaynberg
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

Re: [Wicket-user] Any users getting an UnsupportedOperationException on 2.0 trunk?

2007-01-22 Thread TimOBrien
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

Re: [Wicket-user] Any users getting an UnsupportedOperationException on 2.0 trunk?

2007-01-22 Thread Igor Vaynberg
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

[Wicket-user] Any users getting an UnsupportedOperationException on 2.0 trunk?

2007-01-22 Thread TimOBrien
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