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

Exception à la validation globale d'une formation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.1.2
    • 1.1.1
    • Formations
    • None

      Une erreur apparaît parfois à la validation globale d'une formation:

              [...]
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
              at java.lang.Thread.run(Unknown Source)
      Caused by: org.apache.excalibur.source.SourceException: Exception during processing of cocoon://_plugins/web/repository/content-info?id={_id%3DprogramContent://931d6284-aa60-4a82-a836-d296d35d3fe2, _title%3DLicence Géo, Amé, Env, _path%3D/ametys:odf/ametys:contents/lre-31, ..., _webContent%3Dfalse, _siteName%3Dnull, _siteTitle%3Dnull, _tags%3D{}}&
              at org.apache.cocoon.components.source.impl.SitemapSource.getInputStream(SitemapSource.java:277)
              at org.ametys.runtime.plugins.core.dispatcher.DispatchGenerator._dispatching(DispatchGenerator.java:129)
              ... 61 more
      Caused by: org.apache.cocoon.ProcessingException: Failed to process pipeline
              at <map:serialize type="xml"> - resource://org/ametys/web/sitemap.xmap:392:32
              at <map:generate type="content-info"> - resource://org/ametys/web/sitemap.xmap:391:40
              at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:145)
              at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleException(AbstractProcessingPipeline.java:953)
              at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:583)
              at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
              at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:481)
              at org.apache.cocoon.components.source.impl.SitemapSource.getInputStream(SitemapSource.java:267)
              ... 62 more
      Caused by: java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.lang.String
              at org.ametys.cms.content.ContentInformationGenerator.generate(ContentInformationGenerator.java:89)
              at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
              ... 65 more
      

      On dirait qu'un objet JS WebContent est envoyé à l'URL "web/repository/content-info", au lieu d'une liste d'ID de contenu.

            ngavalda Nicolas Gavalda (Inactive)
            ngavalda Nicolas Gavalda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: