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

Documents without DublinCore subject aren't indexed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.8.0, 4.7.6
    • 4.7.2
    • None
    • None
    • 4.8.0 M6

      Trying to index documents which don't have a DublinCore subject fails (i.e CMIS)

      Error log :

      Message : Error indexing content '
      [defaultWebContent://XXXXXXXXXXXXXXXXXX|defaultwebcontent://XXXXXXXXXXXX]
      ' in the solr server.
      Emplacement : org.ametys.cms.content.indexing.solr.SolrIndexer.doIndexContents(SolrIndexer.java:1264)
      
      Pile d'appels :
      java.lang.NullPointerException: Cannot read the array length because "<local6>" is null
      at org.ametys.cms.data.type.indexing.impl.FileIndexableElementType#_indexSingleExplorerFileValueForFullTextField:59
      at org.ametys.cms.data.type.indexing.impl.FileIndexableElementType#indexSingleValueForFullTextField:52
      at org.ametys.cms.data.type.indexing.impl.FileIndexableElementType#indexSingleValueForFullTextField:31
      at org.ametys.cms.data.type.indexing.IndexableElementType#indexValue:41
      at org.ametys.cms.data.holder.impl.IndexableDataHolderHelper#_indexDataFromViewItem:144
      at org.ametys.cms.data.holder.impl.IndexableDataHolderHelper#indexData:110
      at org.ametys.cms.search.systemprop.ViewBasedFullTextSystemProperty#indexValue:82
      at org.ametys.cms.search.systemprop.ViewBasedFullTextSystemProperty#indexValue:44
      at org.ametys.cms.data.ametysobject.ModelAwareDataAwareAmetysObject#indexData:89
      at org.ametys.cms.content.indexing.solr.SolrContentIndexer#indexContent:104
      at org.ametys.cms.content.indexing.solr.SolrIndexer#doIndexContent:1460
      at org.ametys.cms.content.indexing.solr.SolrIndexer#doIndexContents:1254
      at org.ametys.cms.content.indexing.solr.SolrIndexer#indexContents:1196
      at org.ametys.web.indexing.solr.SolrSiteIndexer#_indexContents:405
      at org.ametys.web.indexing.solr.SolrSiteIndexer#_indexSite:149
      at org.ametys.web.indexing.solr.SolrSiteIndexer#indexSite:111
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl#invoke0 (Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl#invoke:77
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl#invoke:43
      at java.base/java.lang.reflect.Method#invoke:568
      at org.ametys.runtime.plugin.component.PluginsComponentManager$ComponentInvocationHandler#invoke:198
      at jdk.proxy3/jdk.proxy3.$Proxy28#indexSite (Unknown Source)
      at org.ametys.web.indexing.solr.SolrWebWorkspaceIndexer#doIndex:74
      at org.ametys.cms.indexing.solr.SolrWorkspaceIndexer#_forceWorkspaceAndDoIndex:185
      at org.ametys.cms.indexing.solr.SolrWorkspaceIndexer#_index:155
      at org.ametys.cms.indexing.solr.SolrWorkspaceIndexer#indexAllWorkspaces:111
      at org.ametys.cms.indexing.GlobalWorkspaceIndexerSchedulable#_doExecute:49
      at org.ametys.cms.schedule.AbstractSendingMailSchedulable#execute:81
      at org.ametys.core.schedule.AmetysJob#execute:151
      at org.quartz.core.JobRunShell#run:202
      at org.quartz.simpl.SimpleThreadPool$WorkerThread#run:573
      

            ggouin Guillaume Gouin
            jhawken James Hawken
            Guillaume Gouin Guillaume Gouin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: