Uploaded image for project: 'Skin Intranet'
  1. Skin Intranet
  2. SKININTRA-329

[Search Service] Error when using view"By default (with pagination "More results" button)"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.14.0
    • 1.9.0
    • None
    • None
    • 4.8.0 M10

      Set following view on search service : 

      Following error log is present when using search on front : 

       

      Date : 25/04 11:58:55.648
      Utilisateur : admin#ametys_demo_users
      ThreadThread[http-nio-8080-exec-8,5,main]
      Niveau : ERROR
      Catégorie : org.ametys.plugins.userdirectory.transformation.xslt.UserXSLTHelper
      URI de la requête : /cms/intranet/fr/recherche.html
      Message : 
      
      An error occurred, impossible to get attribute at path 'searchInputPlaceholder'
      
      Emplacement : org.apache.cocoon.util.log.SLF4JLoggerAdapter.error(SLF4JLoggerAdapter.java:46)
      
      Pile d'appels :
      
      org.ametys.runtime.model.exception.UndefinedItemPathException: Unable to generate SAX events for the data at path 'searchInputPlaceholder'. There is no such item defined by the model.
      at org.ametys.cms.data.holder.impl.DefaultModelAwareDataHolder#_checkDefinition:1428
      at org.ametys.cms.data.holder.impl.DefaultModelAwareDataHolder#_checkDefinition:1408
      at org.ametys.cms.data.holder.impl.DefaultModelAwareDataHolder#dataToSAX:843
      at org.ametys.cms.transformation.xslt.AmetysXSLTHelper#_getNodeValues:344
      at org.ametys.cms.transformation.xslt.AmetysXSLTHelper#_getNodeValues:313
      at org.ametys.web.transformation.xslt.AmetysXSLTHelper#serviceViewParameter:2353
      at jdk.internal.reflect.GeneratedMethodAccessor163#invoke (Unknown Source)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl#invoke:43
      at java.base/java.lang.reflect.Method#invoke:568
      at org.apache.xalan.extensions.ExtensionHandlerJavaClass#callFunction:367
      at org.apache.xalan.extensions.ExtensionHandlerJavaClass#callFunction:440
      at org.apache.xalan.extensions.ExtensionsTable#extFunction:222
      at org.apache.xalan.transformer.TransformerImpl#extFunction:475
      at org.apache.xpath.functions.FuncExtFunction#execute:208
      at org.apache.xpath.XPath#execute:337
      at org.apache.xalan.templates.ElemVariable#getValue:280
      at org.apache.xalan.templates.XUnresolvedVariable#execute:126
      at org.apache.xpath.VariableStack#getGlobalVariable:479
      at org.apache.xpath.operations.Variable#execute:214
      at org.apache.xpath.operations.Operation#execute:109
      at org.apache.xpath.Expression#bool:186
      at org.apache.xpath.XPath#bool:412
      at org.apache.xalan.templates.ElemChoose#execute:126
      at org.apache.xalan.templates.ElemApplyTemplates#transformSelectedNodes:395
      at org.apache.xalan.templates.ElemApplyTemplates#execute:178
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemLiteralResult#execute:1376
      at org.apache.xalan.templates.ElemApplyTemplates#transformSelectedNodes:395
      at org.apache.xalan.templates.ElemApplyTemplates#execute:178
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemLiteralResult#execute:1376
      at org.apache.xalan.templates.ElemApplyTemplates#transformSelectedNodes:395
      at org.apache.xalan.templates.ElemApplyTemplates#execute:178
      at org.apache.xalan.templates.ElemForEach#transformSelectedNodes:425
      at org.apache.xalan.templates.ElemForEach#execute:265
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemTemplate#execute:394
      at org.apache.xalan.templates.ElemCallTemplate#execute:248
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemLiteralResult#execute:1376
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemTemplate#execute:394
      at org.apache.xalan.templates.ElemCallTemplate#execute:248
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemLiteralResult#execute:1376
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemLiteralResult#execute:1376
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemTemplate#execute:394
      at org.apache.xalan.templates.ElemCallTemplate#execute:248
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemLiteralResult#execute:1376
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemTemplate#execute:394
      at org.apache.xalan.templates.ElemCallTemplate#execute:248
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemLiteralResult#execute:1376
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemTemplate#execute:394
      at org.apache.xalan.templates.ElemCallTemplate#execute:248
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemChoose#execute:141
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemTemplate#execute:394
      at org.apache.xalan.templates.ElemCallTemplate#execute:248
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemLiteralResult#execute:1376
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemLiteralResult#execute:1376
      at org.apache.xalan.templates.ElemApplyTemplates#transformSelectedNodes:395
      at org.apache.xalan.templates.ElemApplyTemplates#execute:178
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.transformer.TransformerImpl#applyTemplateToNode:2272
      at org.apache.xalan.transformer.TransformerImpl#transformNode:1358
      at org.apache.xalan.transformer.TransformerImpl#run:3449
      at org.apache.xalan.transformer.TransformerHandlerImpl#endDocument:408
      at org.apache.cocoon.xml.AbstractXMLPipe#endDocument:56
      at org.apache.cocoon.transformation.TraxTransformer#endDocument:586
      at org.apache.cocoon.xml.AbstractXMLPipe#endDocument:56
      at org.ametys.web.frontoffice.search.requesttime.SearchServiceGenerator#generate:188
      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#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:243
      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#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

       

            laurence Laurence Aumeunier
            mfranchet Magali Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: