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 09:35:35 GMT

Ok, here comes the complete stacktrace:

ERROR 2011-02-03 17:42:56,303 [TP-Processor7][]
org.apache.tapestry5.services.TapestryModule.RequestExceptionHandler -
Processing of request failed with uncaugh
t exception: Unable to attach page documents/Received (en):
java.util.ConcurrentModificationException
java.lang.RuntimeException: Unable to attach page documents/Received (en):
java.util.ConcurrentModificationException
        at
org.apache.tapestry5.internal.services.NonPoolingRequestPageCacheImpl.get(NonPoolingRequestPageCacheImpl.java:82)
        at
$RequestPageCache_12dec607e45.get($RequestPageCache_12dec607e45.java)
        at
$RequestPageCache_12dec607e3f.get($RequestPageCache_12dec607e3f.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_12dec608113.handle($ComponentEventRequestHandler_12dec608113.java)
        at
$ComponentEventRequestHandler_12dec60810e.handle($ComponentEventRequestHandler_12dec60810e.java)
        at
org.apache.tapestry5.internal.services.AjaxFilter.handle(AjaxFilter.java:42)
        at
$ComponentEventRequestHandler_12dec60810f.handle($ComponentEventRequestHandler_12dec60810f.java)
        at
org.apache.tapestry5.services.TapestryModule$39.handle(TapestryModule.java:2583)
        at
$ComponentEventRequestHandler_12dec60810f.handle($ComponentEventRequestHandler_12dec60810f.java)
        at
$ComponentEventRequestHandler_12dec607e3c.handle($ComponentEventRequestHandler_12dec607e3c.java)
        at
org.apache.tapestry5.internal.services.ComponentRequestHandlerTerminator.handleComponentEvent(ComponentRequestHandlerTerminator.java:43)
        at
org.apache.tapestry5.services.InitializeActivePageName.handleComponentEvent(InitializeActivePageName.java:39)
        at
$ComponentRequestHandler_12dec607e3e.handleComponentEvent($ComponentRequestHandler_12dec607e3e.java)
        at
$ComponentRequestHandler_12dec607e22.handleComponentEvent($ComponentRequestHandler_12dec607e22.java)
        at
org.apache.tapestry5.internal.services.ComponentEventDispatcher.dispatch(ComponentEventDispatcher.java:46)
        at $Dispatcher_12dec607e26.dispatch($Dispatcher_12dec607e26.java)
        at $Dispatcher_12dec607e1f.dispatch($Dispatcher_12dec607e1f.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_12dec607e20.service($RequestHandler_12dec607e20.java)
        at
nu.localhost.tapestry5.springsecurity.services.internal.RequestFilterWrapper$1.doFilter(RequestFilterWrapper.java:60)
        at
nu.localhost.tapestry5.springsecurity.services.internal.SpringSecurityExceptionTranslationFilter.doFilter(SpringSecurityExceptionTranslationFilter.ja
va:90)
        at
nu.localhost.tapestry5.springsecurity.services.internal.RequestFilterWrapper.service(RequestFilterWrapper.java:55)
        at
$RequestHandler_12dec607e20.service($RequestHandler_12dec607e20.java)
        at
org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26)
        at
$RequestHandler_12dec607e20.service($RequestHandler_12dec607e20.java)
        at
org.apache.tapestry5.services.TapestryModule$4.service(TapestryModule.java:984)
        at
$RequestHandler_12dec607e20.service($RequestHandler_12dec607e20.java)
        at
org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:974)
        at
$RequestHandler_12dec607e20.service($RequestHandler_12dec607e20.java)
        at
org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:90)
        at
$RequestHandler_12dec607e20.service($RequestHandler_12dec607e20.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_12dec607e20.service($RequestHandler_12dec607e20.java)
        at
$RequestHandler_12dec607e11.service($RequestHandler_12dec607e11.java)
        at
org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:272)
        at
org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53)
        at
$HttpServletRequestHandler_12dec607e13.service($HttpServletRequestHandler_12dec607e13.java)
        at
org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
        at
$HttpServletRequestFilter_12dec607e10.service($HttpServletRequestFilter_12dec607e10.java)
        at
$HttpServletRequestHandler_12dec607e13.service($HttpServletRequestHandler_12dec607e13.java)
        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_12dec607e0d.service($HttpServletRequestFilter_12dec607e0d.java)
        at
$HttpServletRequestHandler_12dec607e13.service($HttpServletRequestHandler_12dec607e13.java)
        at
nu.localhost.tapestry5.springsecurity.services.internal.HttpServletRequestFilterWrapper$1.doFilter(HttpServletRequestFilterWrapper.java:57)
        at
nu.localhost.tapestry5.springsecurity.services.internal.SpringSecurityExceptionTranslationFilter.doFilter(SpringSecurityExceptionTranslationFilter.ja
va:90)
        at
nu.localhost.tapestry5.springsecurity.services.internal.HttpServletRequestFilterWrapper.service(HttpServletRequestFilterWrapper.java:52)
        at
$HttpServletRequestHandler_12dec607e13.service($HttpServletRequestHandler_12dec607e13.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_12dec607e0c.service($HttpServletRequestFilter_12dec607e0c.java)
        at
$HttpServletRequestHandler_12dec607e13.service($HttpServletRequestHandler_12dec607e13.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_12dec607e0b.service($HttpServletRequestFilter_12dec607e0b.java)
        at
$HttpServletRequestHandler_12dec607e13.service($HttpServletRequestHandler_12dec607e13.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_12dec607e0a.service($HttpServletRequestFilter_12dec607e0a.java)
        at
$HttpServletRequestHandler_12dec607e13.service($HttpServletRequestHandler_12dec607e13.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_12dec607e09.service($HttpServletRequestFilter_12dec607e09.java)
        at
$HttpServletRequestHandler_12dec607e13.service($HttpServletRequestHandler_12dec607e13.java)
        at
nl.intercommit.godocument.services.AppModule$1.service(AppModule.java:414)
        at
$HttpServletRequestHandler_12dec607e13.service($HttpServletRequestHandler_12dec607e13.java)
        at
nu.localhost.tapestry5.springsecurity.services.internal.HttpServletRequestFilterWrapper$1.doFilter(HttpServletRequestFilterWrapper.java:57)
        at
org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter.doFilter(AbstractPreAuthenticatedProcessingFilter.ja
va:89)
        at
nu.localhost.tapestry5.springsecurity.services.internal.HttpServletRequestFilterWrapper.service(HttpServletRequestFilterWrapper.java:52)
        at
$HttpServletRequestFilter_12dec607e07.service($HttpServletRequestFilter_12dec607e07.java)
        at
$HttpServletRequestHandler_12dec607e13.service($HttpServletRequestHandler_12dec607e13.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_12dec607e08.service($HttpServletRequestFilter_12dec607e08.java)
        at
$HttpServletRequestHandler_12dec607e13.service($HttpServletRequestHandler_12dec607e13.java)
        at
org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:928)
        at
$HttpServletRequestHandler_12dec607e13.service($HttpServletRequestHandler_12dec607e13.java)
        at
$HttpServletRequestHandler_12dec607e06.service($HttpServletRequestHandler_12dec607e06.java)
        at
org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:147)
        at sun.reflect.GeneratedMethodAccessor109.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:619)
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_12dec607e56.gatherChanges($PersistentFieldManager_12dec607e56.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)
        ... 117 more


Eventually it looks like something in: 

org.apache.tapestry5.internal.services.SessionImpl.getAttributeNames(SessionImpl.java:77)

-- 
View this message in context: http://tapestry.1045711.n5.nabble.com/Rather-worrying-exception-with-5-2-4-java-util-ConcurrentModificationException-tp3370588p3370702.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