java.util.ConcurrentModificationException

ICEsoft JIRA Issue Tracker | Mircea Toma | 9 years ago
  1. 0

    Tomcat 6.0.2 and 6.0.14 (although less frequent) will send a HTTP 500 message because of this error: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:787) at java.util.HashMap$KeyIterator.next(HashMap.java:823) at org.apache.catalina.util.Enumerator.<init>(Enumerator.java:101) at org.apache.catalina.util.Enumerator.<init>(Enumerator.java:67) at org.apache.catalina.connector.Request.getAttributeNames(Request.java:929) at org.apache.catalina.connector.RequestFacade.getAttributeNames(RequestFacade.java:277) at com.sun.faces.application.WebappLifecycleListener.requestDestroyed(WebappLifecycleListener.java:76) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:818) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:624) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445) at java.lang.Thread.run(Thread.java:613) When the bridge receives the error message it'll just shutdown. The server is not aware of this and it will happily queue the generated updates creating this pseudo memory leak.

    ICEsoft JIRA Issue Tracker | 9 years ago | Mircea Toma
    java.util.ConcurrentModificationException
  2. 0

    Tomcat 6.0.2 and 6.0.14 (although less frequent) will send a HTTP 500 message because of this error: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:787) at java.util.HashMap$KeyIterator.next(HashMap.java:823) at org.apache.catalina.util.Enumerator.<init>(Enumerator.java:101) at org.apache.catalina.util.Enumerator.<init>(Enumerator.java:67) at org.apache.catalina.connector.Request.getAttributeNames(Request.java:929) at org.apache.catalina.connector.RequestFacade.getAttributeNames(RequestFacade.java:277) at com.sun.faces.application.WebappLifecycleListener.requestDestroyed(WebappLifecycleListener.java:76) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:818) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:624) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445) at java.lang.Thread.run(Thread.java:613) When the bridge receives the error message it'll just shutdown. The server is not aware of this and it will happily queue the generated updates creating this pseudo memory leak.

    ICEsoft JIRA Issue Tracker | 9 years ago | Mircea Toma
    java.util.ConcurrentModificationException
  3. 0

    problem with RenderManager

    Icesoft | 9 years ago | guo_zjin
    java.util.ConcurrentModificationException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 22#175899030

    GitHub | 10 months ago | connermcd
    java.lang.reflect.InvocationTargetException
  6. 0

    The AbstractRegistry iterates through a Set of IObjectIds in the setIdSet method. Although the Set is synchronized the Iterator for the set is not. This code must synchronize on the idSet object. Experianced Exception: ERROR [TP-Processor11] rendering.PortletWindowManagerImpl Nov/30 16:32:53.182 - getPortletRenderContent(IPortletWindowId, HttpServletRequest, HttpServletResponse) - portlet rendering failed : windowId=18, trueWindowId=18 org.jasig.portal.portlet.rendering.PortletRenderingException: Problem occurred in rendering portlet window id=18. at org.jasig.portal.portlet.rendering.MultithreadedPortletRenderingModel.getPortletRenderContent(MultithreadedPortletRenderingModel.java:131) at org.jasig.portal.portlet.rendering.PortletWindowManagerImpl.getPortletRenderContent(PortletWindowManagerImpl.java:160) at org.jasig.portal.portlet.rendering.PortletWindowManagerImpl$$FastClassByCGLIB$$3646d13d.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:714) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:162) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:124) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:112) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:652) at org.jasig.portal.portlet.rendering.PortletWindowManagerImpl$$EnhancerByCGLIB$$6a225860.getPortletRenderContent(<generated>) at org.jasig.portal.rendering.string.PortletTitleIncorporationFilter.processMatch(PortletTitleIncorporationFilter.java:47) at org.jasig.portal.rendering.string.RegexStringFilter.filterRendering(RegexStringFilter.java:44) at org.jasig.portal.rendering.string.RegexStringFilter.filterRendering(RegexStringFilter.java:53) at org.jasig.portal.rendering.hybrid.SaxToStringCacheFilter.endDocument(SaxToStringCacheFilter.java:255) at org.apache.xml.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.java:181) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1378) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3458) at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:406) at org.jasig.portal.rendering.sax.ContentHandlerConsumer.endDocument(ContentHandlerConsumer.java:43) at org.jasig.portal.rendering.sax.SaxFilterImpl.endDocument(SaxFilterImpl.java:682) at org.jasig.portal.rendering.sax.xslt.TransformationFilter.endDocument(TransformationFilter.java:284) at org.apache.xml.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.java:181) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1378) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3458) at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:406) at org.jasig.portal.rendering.sax.ContentHandlerConsumer.endDocument(ContentHandlerConsumer.java:43) at org.jasig.portal.rendering.sax.SaxFilterImpl.endDocument(SaxFilterImpl.java:682) at org.jasig.portal.rendering.sax.xslt.TransformationFilter.endDocument(TransformationFilter.java:284) at org.jasig.portal.rendering.sax.SaxFilterImpl.endDocument(SaxFilterImpl.java:682) at org.jasig.portal.rendering.sax.SaxFilterImpl.endDocument(SaxFilterImpl.java:682) at org.apache.xalan.transformer.TransformerIdentityImpl.endDocument(TransformerIdentityImpl.java:962) at org.apache.xml.serializer.TreeWalker.traverse(TreeWalker.java:174) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:389) at org.jasig.portal.layout.uportal2.simple.SimpleUserLayoutManager.getUserLayout(SimpleUserLayoutManager.java:179) at org.jasig.portal.layout.uportal2.simple.SimpleUserLayoutManager.getUserLayout(SimpleUserLayoutManager.java:142) at org.jasig.portal.layout.uportal2.UserAwareLayoutManager.getUserLayout(UserAwareLayoutManager.java:197) at org.jasig.portal.layout.uportal2.LegacyLayoutSource.render(LegacyLayoutSource.java:54) at org.jasig.portal.rendering.TreeRenderer.renderingCycle(TreeRenderer.java:54) at org.jasig.portal.rendering.TreeRenderer.render(TreeRenderer.java:34) at org.jasig.portal.context.CompoundContext.service(CompoundContext.java:67) at org.jasig.portal.context.ResolvingContext.service(ResolvingContext.java:26) at org.jasig.portal.core.PortalServlet.service(PortalServlet.java:101) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264) at org.jasig.portal.security.acegi.HttpRequestContextIntegrationFilter.doFilter(HttpRequestContextIntegrationFilter.java:33) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:191) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148) at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:90) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:61) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jasig.portal.utils.SessionLocalBindingFilter.doFilter(SessionLocalBindingFilter.java:88) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Caused by: javax.portlet.PortletException at org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:146) at org.apache.pluto.invoker.impl.PortletInvokerImpl.render(PortletInvokerImpl.java:73) at org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:119) at org.jasig.portal.portlet.rendering.MultithreadedPortletRenderingModel$RenderingWorker.run(MultithreadedPortletRenderingModel.java:229) at org.jasig.portal.utils.ThreadLocalCopyRunnable.run(ThreadLocalCopyRunnable.java:111) at org.jasig.portal.spring.RequestContextAwareThreadLocalCopyRunnable.run(RequestContextAwareThreadLocalCopyRunnable.java:37) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) ... 1 more Caused by: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:787) at java.util.HashMap$KeyIterator.next(HashMap.java:823) at org.jasig.portal.portlet.registry.AbstractRegistry.setIdSet(AbstractRegistry.java:206) at org.jasig.portal.portlet.registry.AbstractRegistry.checkIdSetContains(AbstractRegistry.java:269) at org.jasig.portal.portlet.registry.AbstractRegistry.registerObject(AbstractRegistry.java:82) at org.jasig.portal.portlet.registry.general.GenericTransientRegistry.registerObject(GenericTransientRegistry.java:295) at org.jasig.portal.portlet.registry.general.GenericTransientRegistry.createTransient(GenericTransientRegistry.java:166) at org.jasig.portal.portlet.registry.transitory.TransientPortletDefinitionRegistryImpl.createTransientPortletDefinitionControl(TransientPortletDefinitionRegistryImpl.java:86) at org.jasig.portal.portlet.registry.transitory.TransientPortletDefinitionRegistryImpl.createTransientPortletDefinitionControl(TransientPortletDefinitionRegistryImpl.java:113) at org.jasig.portal.portlet.container.services.information.StaticInformationProviderImpl.getPortletDefinition(StaticInformationProviderImpl.java:134) at org.apache.pluto.core.PortletServlet.init(PortletServlet.java:86) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:641) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) at org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:120) ... 11 more

    Apereo Issues | 1 decade ago | Eric Dalquist
    org.jasig.portal.portlet.rendering.PortletRenderingException: Problem occurred in rendering portlet window id=18.

  1. iridic 2 times, last 2 weeks ago
  2. franky li 1 times, last 1 month ago
  3. bpbhat77 2 times, last 3 months ago
  4. bpbhat77 1 times, last 5 months ago
  5. asvid 2 times, last 6 months ago
1 more registered users
9 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.util.ConcurrentModificationException

    No message provided

    at java.util.HashMap$HashIterator.nextEntry()
  2. Java RT
    HashMap$KeyIterator.next
    1. java.util.HashMap$HashIterator.nextEntry(HashMap.java:787)
    2. java.util.HashMap$KeyIterator.next(HashMap.java:823)
    2 frames
  3. Glassfish Core
    RequestFacade.getAttributeNames
    1. org.apache.catalina.util.Enumerator.<init>(Enumerator.java:101)
    2. org.apache.catalina.util.Enumerator.<init>(Enumerator.java:67)
    3. org.apache.catalina.connector.Request.getAttributeNames(Request.java:929)
    4. org.apache.catalina.connector.RequestFacade.getAttributeNames(RequestFacade.java:277)
    4 frames
  4. JSF
    WebappLifecycleListener.requestDestroyed
    1. com.sun.faces.application.WebappLifecycleListener.requestDestroyed(WebappLifecycleListener.java:76)
    1 frame
  5. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
    2. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    3. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    4. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    5. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212)
    5 frames
  6. Grizzly HTTP
    JIoEndpoint$Worker.run
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:818)
    2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:624)
    3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
    3 frames
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:613)
    1 frame