ajax request target already returns session as its lock, why is this still happening?

-Igor


On 2/5/06, Johan Compagner < [EMAIL PROTECTED]> wrote:
Is there more then one request happening at the same time?
Can you check that with a system.out somewhere or a breakpoint?

It looks like 2 or more request at the same time modifying the dirty objects List (pages and pagemaps)

We could fix this by making the List a threadlocal or syncing on it everywhere the list is being iterated or altered.

johan




On 2/5/06, Mark Derricutt <[EMAIL PROTECTED]> wrote:
Hey all, I'm noticing a few ConcurrentModificationExceptions in my logs during an AJAX update (SelfUpdating behaviour) under wicket 1.2cvs-from-this-morning:

16:55:56.499 WARN!! Exception for /app?path=1:feedback&interface=IBehaviorListener&behaviorId=0&random= 0.9183153983106074
java.util.ConcurrentModificationException
        at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:374)
        at java.util.AbstractList$Itr.next(AbstractList.java:345)
        at wicket.Session.update(Session.java:742)
        at wicket.protocol.http.WebSession.update(WebSession.java:115)
        at wicket.RequestCycle.cleanUp(RequestCycle.java:787)
        at wicket.RequestCycle.steps (RequestCycle.java:1059)
        at wicket.RequestCycle.request(RequestCycle.java:524)
        at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:205)
        at javax.servlet.http.HttpServlet.service (HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
        at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch (WebApplicationHandler.java:294)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
        at org.mortbay.jetty.servlet.WebApplicationContext.handle (WebApplicationContext.java:525)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
        at org.mortbay.http.HttpServer.service(HttpServer.java:879)
        at org.mortbay.http.HttpConnection.service (HttpConnection.java:790)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
        at org.mortbay.http.SocketListener.handleConnection (SocketListener.java:218)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)


Known issue?

--
i like my video games - mamma said they are gonna melt my brains
i like my video games - i don't care what daddy said; they're my reality
  - henning pauly


Reply via email to