Uploaded image for project: 'Tag cloud'
  1. Tag cloud
  2. TAGCLOUD-39

Error when displaying service tag cloud on front

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.10.0
    • None
    • None
    • 4.8.0 RC2
    • Oui

      Problem can be seen on "Pièces jointes" page of www site. 

      On back office, zone 2 is filled with "Nuage d'étiquettes" service. 

      On front office, zone 2 is not displayed and following error is present in log : 

       

      Date : 04/07 15:47:35.068
      ThreadThread[http-nio-8080-exec-9,5,main]
      Niveau : ERROR
      Catégorie : org.ametys.web.repository.PageGenerator
      URI de la requête : /cms/generate/www/fr/fonctionnalites-avancees/multisite.html
      Message : 
      
      Unable to display zone item
      
      Emplacement : org.apache.cocoon.util.log.SLF4JLoggerAdapter.error(SLF4JLoggerAdapter.java:46)
      
      Pile d'appels :
      
      org.apache.cocoon.ProcessingException: Failed to process pipeline
      at <map:serialize type="xml"> - resource://org/ametys/plugins/tagcloud/sitemap.xmap:39:32
      at <map:transform type="i18n"> - resource://org/ametys/plugins/tagcloud/sitemap.xmap:35:32
      at <map:transform type="xslt"> - resource://org/ametys/plugins/tagcloud/sitemap.xmap:34:55
      at <map:transform type="i18n"> - resource://org/ametys/plugins/tagcloud/sitemap.xmap:30:32
      at <map:generate type="tagcloud-on-words"> - resource://org/ametys/plugins/tagcloud/sitemap.xmap:29:45
      at org.apache.cocoon.ProcessingException#throwLocated:145
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#handleException:955
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#processXMLPipeline:585
      at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline#processXMLPipeline:301
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#process:782
      at org.apache.cocoon.components.source.impl.SitemapSource#toSAX:414
      at org.apache.cocoon.components.source.SourceUtil#toSAX:101
      at org.apache.cocoon.components.source.SourceUtil#toSAX:181
      at org.apache.cocoon.components.source.SourceUtil#toSAX:140
      at org.ametys.web.repository.PageGenerator#_saxSource:725
      at org.ametys.web.repository.PageGenerator#_saxZoneItem:525
      at org.ametys.web.repository.PageGenerator#_saxZoneItems:395
      at org.ametys.web.repository.PageGenerator#_saxZone:322
      at org.ametys.web.repository.PageGenerator#generate:254
      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:782
      at org.apache.cocoon.components.source.impl.SitemapSource#toSAX:414
      at org.apache.cocoon.components.source.SourceUtil#toSAX:101
      at org.apache.cocoon.components.source.SourceUtil#parse:321
      at org.apache.cocoon.sitemap.ContentAggregator#generate:125
      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#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 Caused by: java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 13
      at java.base/jdk.internal.util.Preconditions#outOfBounds:64
      at java.base/jdk.internal.util.Preconditions#outOfBoundsCheckIndex:70
      at java.base/jdk.internal.util.Preconditions#checkIndex:266
      at java.base/java.util.Objects#checkIndex:359
      at java.base/java.util.ArrayList#get:427
      at org.ametys.plugins.tagcloud.generators.AbstractTagCloudGenerator#generate:134
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#processXMLPipeline:581
      ... 88 more
       
      

       

            tcorre Thalya Corré
            mfranchet Magali Franchet
            Thalya Corré Thalya Corré
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: