Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-3515

concurent error in SizeUtils

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 4.4.0
    • None
    • None
    • None
    • 4.4 M6

      2020-11-27 17:04:33,808 ERROR [sitemap.handled-errors] (http-nio-10001-exec-2;/cms/_admin/index.html) Failed to process pipeline
      	at <map:serialize> - file:/D:/Dev/raphael/Ametys/kernel/01_Runtime/master/main/plugin-core/sitemap.xmap:109:33
      	at <map:transform type="i18n"> - file:/D:/Dev/raphael/Ametys/kernel/01_Runtime/master/main/plugin-core/sitemap.xmap:105:56
      	at <map:transform type="xslt"> - file:/D:/Dev/raphael/Ametys/kernel/01_Runtime/master/main/plugin-core/sitemap.xmap:98:84
      	at <map:generate type="login-screen"> - file:/D:/Dev/raphael/Ametys/kernel/01_Runtime/master/main/plugin-core/sitemap.xmap:94:68
      	at <map:mount> - file:/D:/Dev/raphael/Ametys/kernel/01_Runtime/master/main/kernel/sitemap.xmap:152:82
      	at <map:mount> - file:/D:/Dev/raphael/Ametys/kernel/01_Runtime/master/main/kernel/sitemap.xmap:177:101
      org.apache.cocoon.ProcessingException: Failed to process pipeline
      	at <map:serialize> - file:/D:/Dev/raphael/Ametys/kernel/01_Runtime/master/main/plugin-core/sitemap.xmap:109:33
      	at <map:transform type="i18n"> - file:/D:/Dev/raphael/Ametys/kernel/01_Runtime/master/main/plugin-core/sitemap.xmap:105:56
      	at <map:transform type="xslt"> - file:/D:/Dev/raphael/Ametys/kernel/01_Runtime/master/main/plugin-core/sitemap.xmap:98:84
      	at <map:generate type="login-screen"> - file:/D:/Dev/raphael/Ametys/kernel/01_Runtime/master/main/plugin-core/sitemap.xmap:94:68
      	at <map:mount> - file:/D:/Dev/raphael/Ametys/kernel/01_Runtime/master/main/kernel/sitemap.xmap:152:82
      	at <map:mount> - file:/D:/Dev/raphael/Ametys/kernel/01_Runtime/master/main/kernel/sitemap.xmap:177:101
      	at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:145)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleException(AbstractProcessingPipeline.java:955)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:416)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:503)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:455)
      	at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178)
      	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.handleCocoonRedirect(ConcreteTreeProcessor.java:300)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.access$000(ConcreteTreeProcessor.java:49)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor$TreeProcessorRedirector.cocoonRedirect(ConcreteTreeProcessor.java:348)
      	at org.apache.cocoon.environment.ForwardRedirector.redirect(ForwardRedirector.java:60)
      	at org.ametys.plugins.core.impl.authentication.FormCredentialProvider.blockingGetUserIdentity(FormCredentialProvider.java:361)
      	at org.ametys.core.authentication.CredentialProvider.getUserIdentity(CredentialProvider.java:130)
      	at org.ametys.core.authentication.AuthenticateAction._doProcess(AuthenticateAction.java:645)
      	at org.ametys.core.authentication.AuthenticateAction._process(AuthenticateAction.java:613)
      	at org.ametys.core.authentication.AuthenticateAction.act(AuthenticateAction.java:249)
      	at org.ametys.runtime.workspaces.admin.authentication.AdminAuthenticateAction.act(AdminAuthenticateAction.java:68)
      	at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:120)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178)
      	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178)
      	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
      	at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
      	at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:569)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
      	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
      	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373)
      	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
      	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590)
      	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      	at java.base/java.lang.Thread.run(Thread.java:834)
      Caused by: java.util.ConcurrentModificationException
      	at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1134)
      	at org.ametys.core.util.SizeUtils._sizeOf(SizeUtils.java:103)
      	at org.ametys.core.util.SizeUtils.sizeOf(SizeUtils.java:74)
      	at org.ametys.plugins.core.impl.cache.GuavaCache$1.weigh(GuavaCache.java:111)
      	at org.ametys.plugins.core.impl.cache.GuavaCache$1.weigh(GuavaCache.java:1)
      	at com.google.common.cache.LocalCache$Segment.setValue(LocalCache.java:2010)
      	at com.google.common.cache.LocalCache$Segment.put(LocalCache.java:2832)
      	at com.google.common.cache.LocalCache.put(LocalCache.java:4181)
      	at com.google.common.cache.LocalCache$LocalManualCache.put(LocalCache.java:4888)
      	at org.ametys.plugins.core.impl.cache.GuavaCache.put(GuavaCache.java:171)
      	at org.ametys.runtime.cocoon.ThreadSafeTraxProcessor._getTemplates(ThreadSafeTraxProcessor.java:289)
      	at org.ametys.runtime.cocoon.ThreadSafeTraxProcessor.getTransformerHandlerAndValidity(ThreadSafeTraxProcessor.java:181)
      	at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:332)
      	at org.ametys.runtime.cocoon.TraxTransformer.setup(TraxTransformer.java:50)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:400)
      	... 75 more
      

            cedric Cédric Damioli
            raphael Raphaël Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: