Uploaded image for project: 'Offre de formation'
  1. Offre de formation
  2. ODF-4163

Not possible to save preferences in workspaces - conflicting with ODF cart

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.9.7, 4.10.0
    • 4.9.6
    • None
    • None
    • 4.10 M5

      From workspaces, when trying  to save user preferences (notifications preferences, set a project as favorites ...), an error message is raised.

      The following error occurs :

      Incident reference: ERR-2026-02-12-05d4f8d3-117e-44f9-882a-03b1
      Caused by: org.apache.cocoon.util.location.LocatedException: Can not dispatch request '0' : 'web' 'service/user-preferences.html' '{submit=true, siteName=projets, preferences-ids=[worspaces.notifications], workspaces.notifications={"disable":false,"frequency":"weekly","projects":{"test":{"disable":false,"frequency":"each"}}}, ajax=true}'
      at org.ametys.core.ui.dispatcher.DispatchGenerator#_handleError:321
      at org.ametys.core.ui.dispatcher.DispatchGenerator#_dispatchingSubRequest:235
      at org.ametys.cms.fo.FODispatchGenerator#_dispatching:54
      at org.ametys.core.ui.dispatcher.DispatchGenerator#generate:101
      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#handleCocoonRedirect:300
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#access$000:49
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor$TreeProcessorRedirector#cocoonRedirect:348
      at org.apache.cocoon.environment.ForwardRedirector#redirect:60
      at org.apache.cocoon.components.treeprocessor.sitemap.RedirectToURINode#invoke:70
      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#handleCocoonRedirect:300
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#access$000:49
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor$TreeProcessorRedirector#cocoonRedirect:348
      at org.apache.cocoon.environment.ForwardRedirector#redirect:60
      at org.apache.cocoon.components.treeprocessor.sitemap.RedirectToURINode#invoke:70
      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:714
      at javax.servlet.http.HttpServlet#service:623
      at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:199
      at org.apache.catalina.core.ApplicationFilterChain#doFilter:144
      at org.apache.tomcat.websocket.server.WsFilter#doFilter:51
      at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:168
      at org.apache.catalina.core.ApplicationFilterChain#doFilter:144
      at org.apache.catalina.core.StandardWrapperValve#invoke:168
      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:660
      at org.apache.catalina.core.StandardEngineValve#invoke:74
      at org.apache.catalina.connector.CoyoteAdapter#service:346
      at org.apache.coyote.http11.Http11Processor#service:388
      at org.apache.coyote.AbstractProcessorLight#process:63
      at org.apache.coyote.AbstractProtocol$ConnectionHandler#process:936
      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:1190
      at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker#run:659
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable#run:63
      at java.base/java.lang.Thread#run:1583
      Caused by: org.apache.excalibur.source.SourceException: Cannot get input stream for cocoon://_plugins/web/service/user-preferences.html?submit=true&siteName=projets&preferences-ids=worspaces.notifications&workspaces.notifications={"disable":false,"frequency":"weekly","projects":{"test":{"disable":false,"frequency":"each"}}}&ajax=true&
      at org.apache.cocoon.components.source.impl.SitemapSource#getInputStream:253
      at org.ametys.core.ui.dispatcher.DispatchGenerator#_handleResponse:274
      at org.ametys.core.ui.dispatcher.DispatchGenerator#_dispatchingSubRequest:229
      ... 94 more
      Caused by: org.xml.sax.SAXException: Could not get sitemap source cocoon://_plugins/web/service/user-preferences.html?submit=true&siteName=projets&preferences-ids=worspaces.notifications&workspaces.notifications={"disable":false,"frequency":"weekly","projects":{"test":{"disable":false,"frequency":"each"}}}&ajax=true&
      org.apache.cocoon.ProcessingException: Sitemap: error when calling sub-sitemap
      at <map:mount> - resource://org/ametys/web/sitemap.xmap:28:107
      at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:155:82
      at org.apache.cocoon.components.source.impl.SitemapSource#init:380
      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.ametys.core.ui.dispatcher.DispatchGenerator#_dispatchingSubRequest:225
      ... 94 more
      Caused by: org.apache.cocoon.ProcessingException: Sitemap: error when calling sub-sitemap
      at <map:mount> - resource://org/ametys/web/sitemap.xmap:28:107
      at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:155:82
      at org.apache.cocoon.ProcessingException#throwLocated:113
      at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:122
      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
      ... 100 more
      Caused by: java.lang.NullPointerException: Cannot read the array length because "contentIdsTab" is null 

       

        1. screenshot-1.png
          61 kB
          David Cartier-Michaud

            raphael Raphaël Franchet
            dcartier David Cartier-Michaud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: