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

Erreurs bloquantes au démarrage en l'absence de catalogue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.10.4, 4.11.0
    • 4.10.3
    • None
    • None
    • 4.11M3
    • Oui

      Contexte : ne pas avoir de catalogue créé. Au chargement plusieurs erreurs (BO et admin BO)

      Trace :

      Catégorie : org.ametys.plugins.core.ui
      URI de la requête : /plugins/core-ui/servercomm/messages.xml
      Message : Can not dispatch request '1' : 'core-ui' 'client-call' '{role=org.ametys.odf.catalog.CatalogDAO, id=null, methodName=getDefaultData, parameters=null}'
      Emplacement : org.apache.cocoon.util.log.SLF4JLoggerAdapter.error(SLF4JLoggerAdapter.java:46)Pile d'appels :org.apache.cocoon.util.location.LocatedException: Can not dispatch request '1' : 'core-ui' 'client-call' '{role=org.ametys.odf.catalog.CatalogDAO, id=null, methodName=getDefaultData, parameters=null}'
      at org.ametys.core.ui.dispatcher.DispatchGenerator#_handleError:322
      at org.ametys.core.ui.dispatcher.DispatchGenerator#_dispatchingSubRequest:236
      at org.ametys.core.ui.dispatcher.DispatchGenerator#_dispatching:151
      at org.ametys.core.ui.dispatcher.DispatchGenerator#generate:102
      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:753
      at javax.servlet.http.HttpServlet#service:623
      at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:197
      at org.apache.catalina.core.ApplicationFilterChain#doFilter:142
      at org.apache.tomcat.websocket.server.WsFilter#doFilter:51
      at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:166
      at org.apache.catalina.core.ApplicationFilterChain#doFilter:142
      at org.apache.catalina.core.StandardWrapperValve#invoke:166
      at org.apache.catalina.core.StandardContextValve#invoke:88
      at org.apache.catalina.authenticator.AuthenticatorBase#invoke:491
      at org.apache.catalina.core.StandardHostValve#invoke:127
      at org.apache.catalina.valves.ErrorReportValve#invoke:83
      at org.apache.catalina.valves.AbstractAccessLogValve#invoke:764
      at org.apache.catalina.core.StandardEngineValve#invoke:72
      at org.apache.catalina.connector.CoyoteAdapter#service:344
      at org.apache.coyote.http11.Http11Processor#service:398
      at org.apache.coyote.AbstractProcessorLight#process:63
      at org.apache.coyote.AbstractProtocol$ConnectionHandler#process:1309
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor#doRun:1854
      at org.apache.tomcat.util.net.SocketProcessorBase#run:52
      at org.apache.tomcat.util.threads.ThreadPoolExecutor#runWorker:973
      at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker#run:491
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable#run:63
      at java.base/java.lang.Thread#run:1583Caused by: org.apache.excalibur.source.SourceException: Cannot get input stream for cocoon://_plugins/core-ui/client-call?role=org.ametys.odf.catalog.CatalogDAO&methodName=getDefaultData&
      at org.apache.cocoon.components.source.impl.SitemapSource#getInputStream:253
      at org.ametys.core.ui.dispatcher.DispatchGenerator#_handleResponse:275
      at org.ametys.core.ui.dispatcher.DispatchGenerator#_dispatchingSubRequest:230
      ... 70 moreCaused by: org.xml.sax.SAXException: Could not get sitemap source cocoon://_plugins/core-ui/client-call?role=org.ametys.odf.catalog.CatalogDAO&methodName=getDefaultData&
      org.apache.cocoon.ProcessingException: Sitemap: error when calling sub-sitemap
      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.apache.cocoon.components.CocoonComponentManager#resolveURI:558
      at org.apache.cocoon.components.CocoonComponentManager#resolveURI:558
      at org.ametys.core.ui.dispatcher.DispatchGenerator#_dispatchingSubRequest:226
      ... 70 moreCaused by: org.apache.cocoon.ProcessingException: Sitemap: error when calling sub-sitemap
      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.source.impl.SitemapSource#init:333
      ... 78 moreCaused by: java.lang.reflect.InvocationTargetException
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor#invoke:115
      at java.base/java.lang.reflect.Method#invoke:580
      at org.ametys.core.ui.ExecuteClientCallsAction#_executeMethod:230
      at org.ametys.core.ui.ExecuteClientCallsAction#act:203
      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
      ... 88 moreCaused by: java.lang.NullPointerException
      at java.base/java.util.Objects#requireNonNull:233
      at java.base/java.util.ImmutableCollections$MapN#<init>:1193
      at java.base/java.util.Map#of:1385
      at org.ametys.odf.catalog.CatalogDAO#getDefaultData:451
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor#invoke:103
      ... 102 more 

            bmaurel Bérénice Maurel
            dmoulin David Moulin
            Bérénice Maurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: