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

An error occurred during indexation : improve error message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.1.0
    • 4.0.3
    • Administration
    • None
    • 4.1M4
    • 4.1 M5

      Date : 20/11 10:40:33.173
      Thread : Thread[AmetysRuntimeScheduler_Worker-6,5,main]
      Niveau : ERROR
      Catégorie : org.ametys.cms.content.indexing.solr.SolrIndexer
      Message : Error indexing content 'defaultWebContent://4a637074-a91f-4550-aade-e1d93a271984' in the solr server.
      Emplacement : org.ametys.cms.content.indexing.solr.SolrIndexer.doIndexContents(SolrIndexer.java:1024)
      
      Pile d'appels :
      java.lang.NullPointerException
      at $1org.ametys.cms.content.referencetable.HierarchicalReferenceTablesHelper.getParent(HierarchicalReferenceTablesHelper.java:402)
      at $1org.ametys.cms.content.referencetable.HierarchicalReferenceTablesHelper.getAllParents(HierarchicalReferenceTablesHelper.java:426)
      at $1org.ametys.cms.content.referencetable.search.ParentContentSystemProperty.getValue(ParentContentSystemProperty.java:105)
      at $1org.ametys.cms.search.systemprop.AbstractSystemProperty.index(AbstractSystemProperty.java:127)
      at $1org.ametys.cms.content.indexing.solr.SolrContentIndexer.indexSystemProperties(SolrContentIndexer.java:150)
      at $1org.ametys.cms.content.indexing.solr.SolrContentIndexer.indexContent(SolrContentIndexer.java:133)
      at $1org.ametys.cms.content.indexing.solr.SolrIndexer.doIndexContent(SolrIndexer.java:1209)
      at $1org.ametys.cms.content.indexing.solr.SolrIndexer.doIndexContents(SolrIndexer.java:1018)
      at $1org.ametys.cms.content.indexing.solr.SolrIndexer.indexContents(SolrIndexer.java:973)
      at $1org.ametys.web.indexing.solr.SolrSiteIndexer._indexContents(SolrSiteIndexer.java:381)
      at $1org.ametys.web.indexing.solr.SolrSiteIndexer.indexSite(SolrSiteIndexer.java:131)
      at $1sun.reflect.GeneratedMethodAccessor136.invoke(Unknown Source)
      at $1sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at $1java.lang.reflect.Method.invoke(Method.java:498)
      at $1org.ametys.runtime.plugin.component.PluginsComponentManager$ComponentInvocationHandler.invoke(PluginsComponentManager.java:177)
      at $1com.sun.proxy.$Proxy14.indexSite(Unknown Source)
      at $1org.ametys.web.indexing.solr.SolrWebWorkspaceIndexer.doIndex(SolrWebWorkspaceIndexer.java:71)
      at $1org.ametys.cms.indexing.solr.SolrWorkspaceIndexer._forceWorkspaceAndDoIndex(SolrWorkspaceIndexer.java:181)
      at $1org.ametys.cms.indexing.solr.SolrWorkspaceIndexer._index(SolrWorkspaceIndexer.java:151)
      at $1org.ametys.cms.indexing.solr.SolrWorkspaceIndexer.indexAllWorkspaces(SolrWorkspaceIndexer.java:105)
      at $1org.ametys.cms.indexing.GlobalWorkspaceIndexerSchedulable.execute(GlobalWorkspaceIndexerSchedulable.java:43)
      at $1org.ametys.core.schedule.AmetysJob.execute(AmetysJob.java:130)
      at $1org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      at $1org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
      

      This message appears because I have a content in the repository but I do not have the content definition in my project.

      Please improve the log

            sprieul Simon Prieul (Inactive)
            fravetier Frederic Ravetier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: