I was loading CMS and admin in two different tabs and I have got 500 error with following trace :
Date: Thu Oct 07 18:48:55 CEST 2021 (1633625335574)
Thread: http-nio-10009-exec-10
Message #: 1312
Level: ERROR
{{NDC: }}
Category: sitemap.handled-errors
Message: Unable to get or create a ribbon manager for ribbon specific components
{{ at <map:serialize type="xml"> - [resource://org/ametys/workspaces/web/sitemap.xmap:119:44]}}
{{ at <map:generate type="workspace"> - [resource://org/ametys/workspaces/web/sitemap.xmap:116:64]}}
{{ at <map:serialize type="xhtml"> - [resource://org/ametys/workspaces/web/sitemap.xmap:297:47]}}
{{ at <map:transform type="minimizer-back"> - [resource://org/ametys/workspaces/web/sitemap.xmap:296:59]}}
{{ at <map:transform type="i18n"> - [resource://org/ametys/workspaces/web/sitemap.xmap:293:45]}}
{{ at <map:transform type="xslt"> - [resource://org/ametys/workspaces/web/sitemap.xmap:285:71]}}
{{ at <map:transform type="i18n"> - [resource://org/ametys/workspaces/web/sitemap.xmap:282:45]}}
{{ at <map:mount> - [resource://org/ametys/runtime/kernel/sitemap.xmap:187:109]}}
Location: org.apache.cocoon.util.log.SLF4JLoggerAdapter.error(SLF4JLoggerAdapter.java:46)
Thrown:
org.apache.cocoon.ProcessingException: Unable to get or create a ribbon manager for ribbon specific components
{{ at <map:serialize type="xml"> - [resource://org/ametys/workspaces/web/sitemap.xmap:119:44]}}
{{ at <map:generate type="workspace"> - [resource://org/ametys/workspaces/web/sitemap.xmap:116:64]}}
{{ at <map:serialize type="xhtml"> - [resource://org/ametys/workspaces/web/sitemap.xmap:297:47]}}
{{ at <map:transform type="minimizer-back"> - [resource://org/ametys/workspaces/web/sitemap.xmap:296:59]}}
{{ at <map:transform type="i18n"> - [resource://org/ametys/workspaces/web/sitemap.xmap:293:45]}}
{{ at <map:transform type="xslt"> - [resource://org/ametys/workspaces/web/sitemap.xmap:285:71]}}
{{ at <map:transform type="i18n"> - [resource://org/ametys/workspaces/web/sitemap.xmap:282:45]}}
{{ at <map:mount> - [resource://org/ametys/runtime/kernel/sitemap.xmap:187:109]}}
{{ at org.ametys.plugins.core.ui.WorkspaceGenerator.doGenerate(WorkspaceGenerator.java:191)}}
{{ at org.ametys.web.workspace.WorkspaceGenerator.generate(WorkspaceGenerator.java:91)}}
{{ at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:581)}}
{{ at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:301)}}
{{ at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:782)}}
{{ at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414)}}
{{ at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:101)}}
{{ at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:321)}}
{{ at org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:125)}}
{{ at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:581)}}
{{ at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:301)}}
{{ at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:483)}}
{{ 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.ActTypeNode.invoke(ActTypeNode.java:139)}}
{{ 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:571)}}
{{ 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:490)}}
{{ 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:678)}}
{{ 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:408)}}
{{ at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)}}
{{ at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853)}}
{{ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587)}}
{{ 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.lang.IllegalStateException: Unable to lookup client side element local components
{{ at org.ametys.core.ui.SimpleMenu.getScripts(SimpleMenu.java:137)}}
{{ at org.ametys.cms.clientsideelement.styles.AbstractEditorStyleMenu.getScripts(AbstractEditorStyleMenu.java:72)}}
{{ at org.ametys.core.ui.StaticFileImportsClientSideElement.getScripts(StaticFileImportsClientSideElement.java:263)}}
{{ at org.ametys.core.ui.RibbonConfigurationManager._resolveReferences(RibbonConfigurationManager.java:1138)}}
{{ at org.ametys.core.ui.RibbonConfigurationManager._resolveReferences(RibbonConfigurationManager.java:1158)}}
{{ at org.ametys.core.ui.RibbonConfigurationManager._resolveReferences(RibbonConfigurationManager.java:1146)}}
{{ at org.ametys.core.ui.RibbonConfigurationManager._createGroupForUser(RibbonConfigurationManager.java:1088)}}
{{ at org.ametys.core.ui.RibbonConfigurationManager._generateTabGroups(RibbonConfigurationManager.java:880)}}
{{ at org.ametys.core.ui.RibbonConfigurationManager.saxRibbonDefinition(RibbonConfigurationManager.java:813)}}
{{ at org.ametys.plugins.core.ui.WorkspaceGenerator.doGenerate(WorkspaceGenerator.java:186)}}
{{ ... 58 more}}
Caused by: java.lang.NullPointerException
{{ at org.ametys.core.ui.SimpleMenu._resolveMenuItems(SimpleMenu.java:432)}}
{{ at org.ametys.core.ui.SimpleMenu.getScripts(SimpleMenu.java:130)}}
{{ ... 67 more}}