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 > 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/viewvc/incubator/wicket/trunk/wicket/src/main/java/wicket/Session.java?view=annotate > [2] > http://svn.apache.org/viewvc/incubator/wicket/trunk/wicket/src/main/java/wicket/feedback/FeedbackMessages.java?view=annotate > > -igor > > > > On 1/22/07, TimOBrien <[EMAIL PROTECTED]> wrote: >> >> >> 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 >> CopyOnWriteArrayList: >> >> "Element-changing >> * operations on iterators themselves (remove, set, and add) are not >> * supported. These methods throw >> * <tt>UnsupportedOperationException</tt>" >> >> Problem was manifesting itself the first time a message was added to >> feedbackMessage >> >> >> igor.vaynberg wrote: >> > >> > 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.UnsupportedOperationException >> >> >> >> java.util.concurrent.CopyOnWriteArrayList$COWIterator.remove( >> >> CopyOnWriteArrayList.java:937) >> >> wicket.Session.cleanupFeedbackMessages(Session.java:1067) >> >> >> >> Tracked it down to CopyOnWriteArrayList in Session for >> feedbackMessages. >> >> Changing the type of feedbackMessage to ArrayList, and rebuilding >> seemed >> >> to >> >> fix the issue. Any other users having a similar issue? >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/Any-users-getting-an-UnsupportedOperationException-on-2.0-trunk--tf3060997.html#a8511709 >> >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> >> >> >> >> ------------------------------------------------------------------------- >> >> Take Surveys. Earn Cash. Influence the Future of IT >> >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share >> >> your >> >> opinions on IT & business topics through brief surveys - and earn cash >> >> >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> >> _______________________________________________ >> >> Wicket-user mailing list >> >> Wicket-user@lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> >> >> > >> > >> ------------------------------------------------------------------------- >> > Take Surveys. Earn Cash. Influence the Future of IT >> > Join SourceForge.net's Techsay panel and you'll get the chance to share >> > your >> > opinions on IT & business topics through brief surveys - and earn cash >> > >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> > _______________________________________________ >> > Wicket-user mailing list >> > Wicket-user@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/wicket-user >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Any-users-getting-an-UnsupportedOperationException-on-2.0-trunk--tf3060997.html#a8513496 >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share >> your >> opinions on IT & business topics through brief surveys - and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Wicket-user mailing list >> Wicket-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > -- View this message in context: http://www.nabble.com/Any-users-getting-an-UnsupportedOperationException-on-2.0-trunk--tf3060997.html#a8523875 Sent from the Wicket - User mailing list archive at Nabble.com. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user