-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
None
On project www, when setting following root directory on a page :
Following log error is added :
Date : 08/07 17:14:46.237 Utilisateur : admin#ametys_demo_users Thread : Thread[http-nio-8080-exec-6,5,main] Niveau : ERROR Catégorie : org.ametys.core.observation.ObservationManager URI de la requête : /cms/plugins/core-ui/servercomm/messages.xml Message : The synchronous observer 'org.ametys.plugins.userdirectory.observation.InvalidateZoneItemCacheOnRootUpdatedObserver' failed to observe event[id: user.directory.root.updated, issuer: UserIdentity [login=admin, population=ametys_demo_users], args: [page = '/ametys-internal:sites/www/ametys-internal:sitemaps/fr/page1-2' (page://912f9b0e-eec0-477d-a741-e8b0f3330c02)]] Emplacement : org.apache.cocoon.util.log.SLF4JLoggerAdapter.error(SLF4JLoggerAdapter.java:46) Pile d'appels : java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.booleanValue()" because the return value of "java.util.Map.get(Object)" is null at org.ametys.plugins.userdirectory.observation.InvalidateZoneItemCacheOnRootUpdatedObserver#observe:69 at org.ametys.core.observation.ObservationManager#_observesEvent:363 at org.ametys.core.observation.ObservationManager#notify:149 at org.ametys.plugins.userdirectory.clientsideelement.SetUserDirectoryRootClientSideElement#setUserDirectoryRoot:258 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl#invoke0 (Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl#invoke:77 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl#invoke:43 at java.base/java.lang.reflect.Method#invoke:568 at org.ametys.core.ui.ExecuteClientCallsAction#_executeMethod:205 at org.ametys.core.ui.ExecuteClientCallsAction#act:183 at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode#invoke:120 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#buildPipeline:194 at org.apache.cocoon.components.treeprocessor.TreeProcessor#buildPipeline:267 at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:111 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#buildPipeline:194 at org.apache.cocoon.components.treeprocessor.TreeProcessor#buildPipeline:267 at org.apache.cocoon.components.source.impl.SitemapSource#init:333 at org.apache.cocoon.components.source.impl.SitemapSource#<init>:215 at org.apache.cocoon.components.source.impl.SitemapSourceFactory#getSource:68 at org.apache.excalibur.source.impl.SourceResolverImpl#resolveURI:208 at org.apache.cocoon.components.CocoonComponentManager#resolveURI:558 at org.apache.cocoon.components.CocoonComponentManager#resolveURI:558 at org.apache.cocoon.components.CocoonComponentManager#resolveURI:558 at org.apache.cocoon.components.CocoonComponentManager#resolveURI:558 at org.ametys.core.ui.dispatcher.DispatchGenerator#_dispatchingSubRequest:217 at org.ametys.core.ui.dispatcher.DispatchGenerator#_dispatching:142 at org.ametys.core.ui.dispatcher.DispatchGenerator#generate:93 at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#processXMLPipeline:581 at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline#processXMLPipeline:301 at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#process:483 at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode#invoke:144 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178 at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254 at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:118 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178 at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254 at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:118 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178 at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254 at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:118 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178 at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254 at org.apache.cocoon.Cocoon#process:699 at org.ametys.runtime.servlet.RuntimeServlet#service:717 at javax.servlet.http.HttpServlet#service:623 at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:209 at org.apache.catalina.core.ApplicationFilterChain#doFilter:153 at org.apache.tomcat.websocket.server.WsFilter#doFilter:51 at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:178 at org.apache.catalina.core.ApplicationFilterChain#doFilter:153 at org.apache.catalina.core.StandardWrapperValve#invoke:167 at org.apache.catalina.core.StandardContextValve#invoke:90 at org.apache.catalina.authenticator.AuthenticatorBase#invoke:481 at org.apache.catalina.core.StandardHostValve#invoke:130 at org.apache.catalina.valves.ErrorReportValve#invoke:93 at org.apache.catalina.valves.AbstractAccessLogValve#invoke:673 at org.apache.catalina.core.StandardEngineValve#invoke:74 at org.apache.catalina.connector.CoyoteAdapter#service:343 at org.apache.coyote.http11.Http11Processor#service:390 at org.apache.coyote.AbstractProcessorLight#process:63 at org.apache.coyote.AbstractProtocol$ConnectionHandler#process:926 at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor#doRun:1791 at org.apache.tomcat.util.net.SocketProcessorBase#run:52 at org.apache.tomcat.util.threads.ThreadPoolExecutor#runWorker:1191 at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker#run:659 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable#run:61 at java.base/java.lang.Thread#run:833