Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-11498

Error when executing a search service with criteria on tags

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 4.6.0
    • None
    • None
    • None
    • 4.6 RC1

      How to reproduce : 

      1 - Create a search service on article for instance. 

      Add it a criteria on tags as followed : 

      2 - On back office or front office, when selecting "Tous" in list and perform search :

      107 message(s) affiché(s)
      Date : 12/01 16:06:46.835
      Thread : http-nio-8080-exec-32;/nightly-intranet-cms/www/_plugins/web/service/search/zoneItem/f3a8ad50-10c7-4406-8029-e83904b0993f/full/_results-page-1.html
      Niveau : ERROR
      Catégorie : org.ametys.web.frontoffice.search
      Message : An error occured while executing search component 'org.ametys.web.frontoffice.search.requesttime.impl.SetResultsSearchComponent' for request '689a143b'. Other components will be executed but the result can be inconsistent
      
      Pile d'appels :
      java.lang.NullPointerException
      at java.base/java.util.stream.ReferencePipeline$3$1#accept:197
      at java.base/java.util.AbstractList$RandomAccessSpliterator#forEachRemaining:720
      at java.base/java.util.stream.AbstractPipeline#copyInto:509
      at java.base/java.util.stream.AbstractPipeline#wrapAndCopyInto:499
      at java.base/java.util.stream.AbstractPipeline#evaluate:575
      at java.base/java.util.stream.AbstractPipeline#evaluateToArrayNode:260
      at java.base/java.util.stream.ReferencePipeline#toArray:616
      at java.base/java.util.stream.ReferencePipeline#toArray:622
      at java.base/java.util.stream.ReferencePipeline#toList:627
      at org.ametys.cms.search.query.OrQuery#rewrite:159
      at java.base/java.util.stream.ReferencePipeline$3$1#accept:197
      at java.base/java.util.AbstractList$RandomAccessSpliterator#forEachRemaining:720
      at java.base/java.util.stream.AbstractPipeline#copyInto:509
      at java.base/java.util.stream.AbstractPipeline#wrapAndCopyInto:499
      at java.base/java.util.stream.AbstractPipeline#evaluate:575
      at java.base/java.util.stream.AbstractPipeline#evaluateToArrayNode:260
      at java.base/java.util.stream.ReferencePipeline#toArray:616
      at java.base/java.util.stream.ReferencePipeline#toArray:622
      at java.base/java.util.stream.ReferencePipeline#toList:627
      at org.ametys.cms.search.query.OrQuery#rewrite:159
      at java.base/java.util.stream.ReferencePipeline$3$1#accept:197
      at java.base/java.util.AbstractList$RandomAccessSpliterator#forEachRemaining:720
      at java.base/java.util.stream.AbstractPipeline#copyInto:509
      at java.base/java.util.stream.AbstractPipeline#wrapAndCopyInto:499
      at java.base/java.util.stream.AbstractPipeline#evaluate:575
      at java.base/java.util.stream.AbstractPipeline#evaluateToArrayNode:260
      at java.base/java.util.stream.ReferencePipeline#toArray:616
      at java.base/java.util.stream.ReferencePipeline#toArray:622
      at java.base/java.util.stream.ReferencePipeline#toList:627
      at org.ametys.cms.search.query.OrQuery#rewrite:159
      at org.ametys.cms.search.query.OrQuery#buildAsJson:129
      at org.ametys.cms.search.solr.SearcherFactory$Searcher#getQuery:509
      at org.ametys.cms.search.solr.SearcherFactory$Searcher#_querySolrServer:458
      at org.ametys.cms.search.solr.SearcherFactory$Searcher#searchWithFacets:426
      at org.ametys.web.frontoffice.search.requesttime.impl.SetResultsSearchComponent#execute:45
      at org.ametys.web.frontoffice.search.requesttime.SearchServiceGenerator#generate:175
      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.ActTypeNode#invoke:139
      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#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:582
      at javax.servlet.http.HttpServlet#service:741
      at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:231
      at org.apache.catalina.core.ApplicationFilterChain#doFilter:166
      at org.apache.tomcat.websocket.server.WsFilter#doFilter:53
      at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:193
      at org.apache.catalina.core.ApplicationFilterChain#doFilter:166
      at org.apache.catalina.core.StandardWrapperValve#invoke:202
      at org.apache.catalina.core.StandardContextValve#invoke:96
      at org.apache.catalina.authenticator.AuthenticatorBase#invoke:541
      at org.apache.catalina.core.StandardHostValve#invoke:139
      at org.apache.catalina.valves.ErrorReportValve#invoke:92
      at org.apache.catalina.valves.AbstractAccessLogValve#invoke:688
      at org.apache.catalina.core.StandardEngineValve#invoke:74
      at org.apache.catalina.connector.CoyoteAdapter#service:343
      at org.apache.coyote.http11.Http11Processor#service:375
      at org.apache.coyote.AbstractProcessorLight#process:65
      at org.apache.coyote.AbstractProtocol$ConnectionHandler#process:868
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor#doRun:1594
      at org.apache.tomcat.util.net.SocketProcessorBase#run:49
      at java.base/java.util.concurrent.ThreadPoolExecutor#runWorker:1136
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker#run:635
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable#run:61
      at java.base/java.lang.Thread#run:833
      

            ggouin Guillaume Gouin
            mfranchet Magali Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: