tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antalk <ant...@intercommit.nl>
Subject Re: Rather worrying exception with 5.2.4 (java.util.ConcurrentModificationException)
Date Fri, 04 Feb 2011 14:36:45 GMT

Ok ..

We somehow reproduced the same error. We were testing with 3 users, i was
using 3 browser (3 times logged with the SAME user account but different
sessions) , and the other 2 people using one browser using a different
account.

It happend during an AJAX request, i saw a small red bar in the upper left
corner with the message. 

This was at a time when the 3 of us did some serious testing and clicking
through the application (like 20 requests per second or more)

For completeness again the stacktrace:

ERROR 2011-02-04 15:31:03,938 [TP-Processor5][]
org.apache.tapestry5.services.TapestryModule.RequestExceptionHandler -
Processing of request failed with uncaugh
t exception: Unable to attach page documents/Sent (nl):
java.util.ConcurrentModificationException
java.lang.RuntimeException: Unable to attach page documents/Sent (nl):
java.util.ConcurrentModificationException
        at
org.apache.tapestry5.internal.services.NonPoolingRequestPageCacheImpl.get(NonPoolingRequestPageCacheImpl.java:82)
        at
$RequestPageCache_12df10ff87a.get($RequestPageCache_12df10ff87a.java)
        at
$RequestPageCache_12df10ff874.get($RequestPageCache_12df10ff874.java)
        at
org.apache.tapestry5.internal.services.AjaxComponentEventRequestHandler.handle(AjaxComponentEventRequestHandler.java:70)
        at
org.apache.tapestry5.internal.services.ajax.AjaxFormUpdateFilter.handle(AjaxFormUpdateFilter.java:56)
        at
$ComponentEventRequestHandler_12df10ff886.handle($ComponentEventRequestHandler_12df10ff886.java)
        at
$ComponentEventRequestHandler_12df10ff871.handle($ComponentEventRequestHandler_12df10ff871.java)
        at
org.apache.tapestry5.internal.services.AjaxFilter.handle(AjaxFilter.java:42)
        at
$ComponentEventRequestHandler_12df10ff878.handle($ComponentEventRequestHandler_12df10ff878.java)
        at
org.apache.tapestry5.services.TapestryModule$39.handle(TapestryModule.java:2583)
        at
$ComponentEventRequestHandler_12df10ff878.handle($ComponentEventRequestHandler_12df10ff878.java)
        at
$ComponentEventRequestHandler_12df10ff86e.handle($ComponentEventRequestHandler_12df10ff86e.java)
        at
org.apache.tapestry5.internal.services.ComponentRequestHandlerTerminator.handleComponentEvent(ComponentRequestHandlerTerminator.java:43)
        at
org.apache.tapestry5.services.InitializeActivePageName.handleComponentEvent(InitializeActivePageName.java:39)
        at
$ComponentRequestHandler_12df10ff870.handleComponentEvent($ComponentRequestHandler_12df10ff870.java)
        at
$ComponentRequestHandler_12df10ff855.handleComponentEvent($ComponentRequestHandler_12df10ff855.java)
        at
org.apache.tapestry5.internal.services.ComponentEventDispatcher.dispatch(ComponentEventDispatcher.java:46)
        at $Dispatcher_12df10ff859.dispatch($Dispatcher_12df10ff859.java)
        at $Dispatcher_12df10ff852.dispatch($Dispatcher_12df10ff852.java)
        at
org.apache.tapestry5.services.TapestryModule$RequestHandlerTerminator.service(TapestryModule.java:321)
        at
us.antera.t5restfulws.services.impl.RestfulWSDispatcher.service(RestfulWSDispatcher.java:79)
        at
$RequestHandler_12df10ff853.service($RequestHandler_12df10ff853.java)
        at
nu.localhost.tapestry5.springsecurity.services.internal.RequestFilterWrapper$1.doFilter(RequestFilterWrapper.java:60)
        at
nu.localhost.tapestry5.springsecurity.services.internal.SpringSecurityExceptionTranslationFilter.doFilter(SpringSecurityExceptionTranslationFilter.java:90)
        at
nu.localhost.tapestry5.springsecurity.services.internal.RequestFilterWrapper.service(RequestFilterWrapper.java:55)
        at
$RequestHandler_12df10ff853.service($RequestHandler_12df10ff853.java)
        at
org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26)
        at
$RequestHandler_12df10ff853.service($RequestHandler_12df10ff853.java)
        at
org.apache.tapestry5.services.TapestryModule$4.service(TapestryModule.java:984)
        at
$RequestHandler_12df10ff853.service($RequestHandler_12df10ff853.java)
        at
org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:974)
        at
$RequestHandler_12df10ff853.service($RequestHandler_12df10ff853.java)
        at
org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:90)
        at
$RequestHandler_12df10ff853.service($RequestHandler_12df10ff853.java)
        at
org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:90)
        at
org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:80)
        at
org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:85)
        at
org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:103)
        at
$RequestHandler_12df10ff853.service($RequestHandler_12df10ff853.java)
        at
$RequestHandler_12df10ff844.service($RequestHandler_12df10ff844.java)
        at
org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:272)
        at
nu.localhost.tapestry5.springsecurity.services.internal.HttpServletRequestFilterWrapper$1.doFilter(HttpServletRequestFilterWrapper.java:57)
        at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
        at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
        at
nu.localhost.tapestry5.springsecurity.services.internal.HttpServletRequestFilterWrapper.service(HttpServletRequestFilterWrapper.java:52)
        at
$HttpServletRequestFilter_12df10ff842.service($HttpServletRequestFilter_12df10ff842.java)
        at
$HttpServletRequestHandler_12df10ff846.service($HttpServletRequestHandler_12df10ff846.java)
        at
nu.localhost.tapestry5.springsecurity.services.internal.HttpServletRequestFilterWrapper$1.doFilter(HttpServletRequestFilterWrapper.java:57)
        at
nu.localhost.tapestry5.springsecurity.services.internal.SpringSecurityExceptionTranslationFilter.doFilter(SpringSecurityExceptionTranslationFilter.java:90)
        at
nu.localhost.tapestry5.springsecurity.services.internal.HttpServletRequestFilterWrapper.service(HttpServletRequestFilterWrapper.java:52)
        at
$HttpServletRequestHandler_12df10ff846.service($HttpServletRequestHandler_12df10ff846.java)
        at
nu.localhost.tapestry5.springsecurity.services.internal.HttpServletRequestFilterWrapper$1.doFilter(HttpServletRequestFilterWrapper.java:57)
        at
org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)
        at
nu.localhost.tapestry5.springsecurity.services.internal.HttpServletRequestFilterWrapper.service(HttpServletRequestFilterWrapper.java:52)
        at
$HttpServletRequestFilter_12df10ff841.service($HttpServletRequestFilter_12df10ff841.java)
        at
$HttpServletRequestHandler_12df10ff846.service($HttpServletRequestHandler_12df10ff846.java)
        at
nu.localhost.tapestry5.springsecurity.services.internal.HttpServletRequestFilterWrapper$1.doFilter(HttpServletRequestFilterWrapper.java:57)
        at
org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
        at
nu.localhost.tapestry5.springsecurity.services.internal.HttpServletRequestFilterWrapper.service(HttpServletRequestFilterWrapper.java:52)
        at
$HttpServletRequestFilter_12df10ff840.service($HttpServletRequestFilter_12df10ff840.java)
        at
$HttpServletRequestHandler_12df10ff846.service($HttpServletRequestHandler_12df10ff846.java)
        at
nu.localhost.tapestry5.springsecurity.services.internal.HttpServletRequestFilterWrapper$1.doFilter(HttpServletRequestFilterWrapper.java:57)
        at
org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:119)
        at
nu.localhost.tapestry5.springsecurity.services.internal.HttpServletRequestFilterWrapper.service(HttpServletRequestFilterWrapper.java:52)
        at
$HttpServletRequestFilter_12df10ff83f.service($HttpServletRequestFilter_12df10ff83f.java)
        at
$HttpServletRequestHandler_12df10ff846.service($HttpServletRequestHandler_12df10ff846.java)
        at
nu.localhost.tapestry5.springsecurity.services.internal.HttpServletRequestFilterWrapper$1.doFilter(HttpServletRequestFilterWrapper.java:57)
        at
org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:188)
        at
nu.localhost.tapestry5.springsecurity.services.internal.HttpServletRequestFilterWrapper.service(HttpServletRequestFilterWrapper.java:52)
        at
$HttpServletRequestFilter_12df10ff83e.service($HttpServletRequestFilter_12df10ff83e.java)
        at
$HttpServletRequestHandler_12df10ff846.service($HttpServletRequestHandler_12df10ff846.java)
        at
org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53)
        at
$HttpServletRequestHandler_12df10ff846.service($HttpServletRequestHandler_12df10ff846.java)
        at
org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
        at
$HttpServletRequestFilter_12df10ff83c.service($HttpServletRequestFilter_12df10ff83c.java)
        at
$HttpServletRequestHandler_12df10ff846.service($HttpServletRequestHandler_12df10ff846.java)
        at
nl.intercommit.godocument.services.AppModule$1.service(AppModule.java:414)
        at
$HttpServletRequestHandler_12df10ff846.service($HttpServletRequestHandler_12df10ff846.java)
        at
nu.localhost.tapestry5.springsecurity.services.internal.HttpServletRequestFilterWrapper$1.doFilter(HttpServletRequestFilterWrapper.java:57)
        at
org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter.doFilter(AbstractPreAuthenticatedProcessingFilter.java:89)
        at
nu.localhost.tapestry5.springsecurity.services.internal.HttpServletRequestFilterWrapper.service(HttpServletRequestFilterWrapper.java:52)
        at
$HttpServletRequestFilter_12df10ff83a.service($HttpServletRequestFilter_12df10ff83a.java)
        at
$HttpServletRequestHandler_12df10ff846.service($HttpServletRequestHandler_12df10ff846.java)
        at
nu.localhost.tapestry5.springsecurity.services.internal.HttpServletRequestFilterWrapper$1.doFilter(HttpServletRequestFilterWrapper.java:57)
        at
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
        at
nu.localhost.tapestry5.springsecurity.services.internal.HttpServletRequestFilterWrapper.service(HttpServletRequestFilterWrapper.java:52)
        at
$HttpServletRequestFilter_12df10ff83d.service($HttpServletRequestFilter_12df10ff83d.java)
        at
$HttpServletRequestHandler_12df10ff846.service($HttpServletRequestHandler_12df10ff846.java)
        at
org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:928)
        at
$HttpServletRequestHandler_12df10ff846.service($HttpServletRequestHandler_12df10ff846.java)
        at
$HttpServletRequestHandler_12df10ff839.service($HttpServletRequestHandler_12df10ff839.java)
        at
org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:147)
        at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
        at
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
        at
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
        at
org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:192)
        at
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:171)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:167)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
        at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
        at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
        at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
        at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.util.ConcurrentModificationException
        at java.util.Hashtable$Enumerator.next(Hashtable.java:1031)
        at org.apache.catalina.util.Enumerator.<init>(Enumerator.java:101)
        at org.apache.catalina.util.Enumerator.<init>(Enumerator.java:67)
        at
org.apache.catalina.session.StandardSession.getAttributeNames(StandardSession.java:1042)
        at
org.apache.catalina.session.StandardSessionFacade.getAttributeNames(StandardSessionFacade.java:120)
        at
org.apache.tapestry5.internal.services.SessionImpl.getAttributeNames(SessionImpl.java:77)
        at
org.apache.tapestry5.internal.services.AbstractSessionPersistentFieldStrategy.gatherFieldChanges(AbstractSessionPersistentFieldStrategy.java:55)
        at
org.apache.tapestry5.internal.services.PersistentFieldManagerImpl.gatherChanges(PersistentFieldManagerImpl.java:62)
        at
$PersistentFieldManager_12df10ff892.gatherChanges($PersistentFieldManager_12df10ff892.java)
        at
org.apache.tapestry5.internal.structure.PageImpl.getFieldChange(PageImpl.java:206)
        at
org.apache.tapestry5.internal.structure.InternalComponentResourcesImpl.getFieldChange(InternalComponentResourcesImpl.java:176)
        at
org.apache.tapestry5.internal.structure.InternalComponentResourcesImpl.hasFieldChange(InternalComponentResourcesImpl.java:186)
        at
org.apache.tapestry5.internal.transform.PersistWorker$PersistentFieldConduit.restoreStateAtPageAttach(PersistWorker.java:80)
        at
org.apache.tapestry5.internal.transform.PersistWorker$PersistentFieldConduit.access$000(PersistWorker.java:38)
        at
org.apache.tapestry5.internal.transform.PersistWorker$PersistentFieldConduit$1.restoreStateBeforePageAttach(PersistWorker.java:61)
        at
org.apache.tapestry5.internal.structure.PageImpl.attached(PageImpl.java:184)
        at
org.apache.tapestry5.internal.services.NonPoolingRequestPageCacheImpl.get(NonPoolingRequestPageCacheImpl.java:78)




-- 
View this message in context: http://tapestry.1045711.n5.nabble.com/Rather-worrying-exception-with-5-2-4-java-util-ConcurrentModificationException-tp3370588p3371058.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message