You are not logged in.
Pages: 1
Hello !
J'ai perdu mes contenus de Tables de référence, ça ne me trouve plus les valeurs que j'avais rentrées.
J'ai donc essayé de relancer des indexations (indexation du site et indexation totale), et également une reconstruction du live complet, mais j'ai toujours plusiuers fois l'erreur suivante :
Failed to index content referenced in the page uppa/fr/nouvelle-page-1 (page://fc42faac-3d93-4084-8f78-4d43a568ccb5 in zoneitem zoneItem://270b46db-68f4-4c47-b3d9-db26b0261634)
org.ametys.plugins.repository.AmetysRepositoryException: Unable to get content property
Caused by: javax.jcr.PathNotFoundException: ametys-internal:content
ou
Failed to index last date for content in page uppa/fr/nouvelle-page-1 (page://fc42faac-3d93-4084-8f78-4d43a568ccb5 in zoneitem zoneItem://270b46db-68f4-4c47-b3d9-db26b0261634)
ou
Unable to get content property
pour la même raison que la première erreur.
Donc mon indexation ne fonctionne pas, et donc je n'ai pas mes contenus. Et même si je rajoute un nouveau contenu et que je relance la recherche de ces contenus, ce nouveau contenu n'est pas trouvé non plus.
Une idée de ce que je dois faire ?
Merci !
Offline
Compliqué de répondre sans stack trace complète, mais là on dirait qu'il ne trouve pas le contenu de la page, c'est bizarre.
Pourquoi tu parles de table de référence ? ce n'est pas un contenu normal dans ton zoneItem ?
Offline
Salut Cédric,
je n'avais pas vu ta réponse, désolé.
Niveau log, je n'ai pas plus que ça :
2024-09-12 12:00:53,756 ERROR [org.ametys.cms.content.indexing.solr.SolrIndexer] (AmetysRuntimeScheduler_Worker-6;) Failed to index last date for content in page uppa/fr/nouvelle-page-1 (page://fc42faac-3d93-4084-8f78-4d43a568ccb5 in zoneitem zoneItem://270b46db-68f4-4c47-b3d9-db26b0261634)
org.ametys.plugins.repository.AmetysRepositoryException: Unable to get content property
at org.ametys.web.repository.page.jcr.DefaultZoneItem.getContent(DefaultZoneItem.java:138)
at org.ametys.web.indexing.solr.SolrPageIndexer._getLastDate(SolrPageIndexer.java:742)
at org.ametys.web.indexing.solr.SolrPageIndexer._getLastMajorValidationDate(SolrPageIndexer.java:713)
at org.ametys.web.indexing.solr.SolrPageIndexer._populateDatesOfPage(SolrPageIndexer.java:413)
at org.ametys.web.indexing.solr.SolrPageIndexer._populatePageDocument(SolrPageIndexer.java:355)
at org.ametys.web.indexing.solr.SolrPageIndexer._indexPage(SolrPageIndexer.java:246)
at org.ametys.web.indexing.solr.SolrPageIndexer.indexPage(SolrPageIndexer.java:219)
at org.ametys.web.indexing.solr.SolrSiteIndexer._indexSitemap(SolrSiteIndexer.java:346)
at org.ametys.web.indexing.solr.SolrSiteIndexer._indexSitemaps(SolrSiteIndexer.java:324)
at org.ametys.web.indexing.solr.SolrSiteIndexer._indexSite(SolrSiteIndexer.java:152)
at org.ametys.web.indexing.solr.SolrSiteIndexer.indexSite(SolrSiteIndexer.java:103)
at org.ametys.web.indexing.solr.SolrSiteIndexer.indexSite(SolrSiteIndexer.java:94)
at org.ametys.web.indexing.solr.SolrSiteIndexer.indexSite(SolrSiteIndexer.java:88)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.ametys.runtime.plugin.component.PluginsComponentManager$ComponentInvocationHandler.invoke(PluginsComponentManager.java:198)
at jdk.proxy3/jdk.proxy3.$Proxy28.indexSite(Unknown Source)
at org.ametys.web.indexing.SiteIndexerSchedulable._doExecute(SiteIndexerSchedulable.java:74)
at org.ametys.cms.schedule.AbstractSendingMailSchedulable.execute(AbstractSendingMailSchedulable.java:81)
at org.ametys.core.schedule.AmetysJob.execute(AmetysJob.java:151)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: javax.jcr.PathNotFoundException: ametys-internal:content
at org.apache.jackrabbit.core.NodeImpl$11.perform(NodeImpl.java:2265)
at org.apache.jackrabbit.core.NodeImpl$11.perform(NodeImpl.java:2252)
at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
at org.apache.jackrabbit.core.NodeImpl.getProperty(NodeImpl.java:2252)
at org.ametys.web.repository.page.jcr.DefaultZoneItem.getContent(DefaultZoneItem.java:134)
... 23 more
J'ai relancé une indexation car c'est des contenus d'une table de référence que je ne trouve plus. Même si j'en rajoute et que je sauvegarde, lorsque je les recherche, je n'en ai toujours aucun. Donc dans mon contenu sur la page uppa/fr/nouvelle-page-1, je ne peux pas remplir le champ correspondant à ce contenu de table de référence car il ne m'en trouve aucun.
Dis-moi si mon explication n'est toujours pas claire.
Merci
Offline
Et l'erreur est liée à mon contenu dans cette page, mais à l'origine ce n'était pas par rapport à ce contenu que je relançais l'indexation.
Offline
Et il semblerait que j'ai aussi une erreur au niveau du moteur de recherche lié à ça :
org.apache.cocoon.ProcessingException: Error testing the service cachability. at org.ametys.web.repository.PageGenerator._saxZoneItem(PageGenerator.java:447) at org.ametys.web.repository.PageGenerator._saxZoneItems(PageGenerator.java:395) at
org.ametys.web.repository.PageGenerator._saxZone(PageGenerator.java:322) at org.ametys.web.repository.PageGenerator.generate(PageGenerator.java:243) at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:581) at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:301) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:782) at
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414) at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:101) at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:321) at
org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:125) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:581) at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:301) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:483) at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236) at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236) at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.Cocoon.process(Cocoon.java:699) at
org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:623) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:673) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:390) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) at
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at
org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:840) Caused by:
java.lang.NullPointerException: The SearchCriterionDefinition for id 'ContentSearchable$indexingField$org.ametys.plugins.uppa.Content.initiative$place' must be non null at java.base/java.util.Objects.requireNonNull(Objects.java:235) at
org.ametys.web.frontoffice.search.instance.SearchServiceInstanceFactory._createSearchCriterion(SearchServiceInstanceFactory.java:260) at
org.ametys.web.frontoffice.search.instance.SearchServiceInstanceFactory.lambda$_createCriterionTree$0(SearchServiceInstanceFactory.java:252) at org.ametys.cms.search.advanced.TreeMaker._create(TreeMaker.java:68) at
org.ametys.cms.search.advanced.TreeMaker.lambda$_create$0(TreeMaker.java:76) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) at
java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at
java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) at
org.ametys.cms.search.advanced.TreeMaker._create(TreeMaker.java:78) at
org.ametys.cms.search.advanced.TreeMaker.create(TreeMaker.java:53) at org.ametys.web.frontoffice.search.instance.SearchServiceInstanceFactory._createCriterionTree(SearchServiceInstanceFactory.java:253) at
org.ametys.web.frontoffice.search.instance.SearchServiceInstanceFactory.createSearchServiceInstance(SearchServiceInstanceFactory.java:123) at
org.ametys.web.frontoffice.search.instance.SearchServiceInstanceManager.get(SearchServiceInstanceManager.java:97)
at org.ametys.web.frontoffice.search.SearchService.isCacheable(SearchService.java:178) at org.ametys.web.repository.PageGenerator._saxZoneItem(PageGenerator.java:443) ... 58 more
Last edited by jon (12/09/2024 12:53:52)
Offline
Il semble que ta page référence un contenu "raté".
Raté = mal initialisé car il n'a pas les propriétés minimale.
Depuis l'interface _repository, il faut le trouver et l'effacer.
Raphael Franchet
Expert Ametys
Offline
Oui, c'est ce que j'ai fait.
Merci à toi !
Offline
Pages: 1