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

Error during indexation : Log the field name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.1.15, 4.2.1, 4.3.0
    • 4.2.0
    • None
    • None
    • 4.2.1

      *Niveau :* ERROR
      *Catégorie :* org.ametys.cms.content.indexing.solr.SolrIndexer
      *Message :* Error indexing content 'courseContent://cf82707a-9ea6-486b-a9f6-d03bc688e673' in the solr server.
      *Emplacement :* org.ametys.cms.content.indexing.solr.SolrIndexer.doIndexContents(SolrIndexer.java:1174)
      
      *Pile d'appels :*
      org.ametys.plugins.repository.AmetysRepositoryException: Unable to get double array property
      at org.ametys.plugins.repository.metadata.jcr.JCRCompositeMetadata._getDoubleArray(JCRCompositeMetadata.java:945)
      at org.ametys.plugins.repository.metadata.jcr.JCRCompositeMetadata.getDoubleArray(JCRCompositeMetadata.java:906)
      at org.ametys.cms.content.indexing.solr.SolrContentIndexer.indexDoubleMetadata(SolrContentIndexer.java:1004)
      at org.ametys.cms.content.indexing.solr.SolrContentIndexer.indexMetadata(SolrContentIndexer.java:580)
      at org.ametys.cms.content.indexing.solr.SolrContentIndexer.findAndIndexMetadataField(SolrContentIndexer.java:399)
      at org.ametys.cms.content.indexing.solr.SolrContentIndexer.findAndIndexMetadata(SolrContentIndexer.java:376)
      at org.ametys.cms.content.indexing.solr.SolrContentIndexer.indexModelFields(SolrContentIndexer.java:285)
      at org.ametys.cms.content.indexing.solr.SolrContentIndexer.indexContent(SolrContentIndexer.java:164)
      at org.ametys.cms.content.indexing.solr.SolrIndexer.doIndexContent(SolrIndexer.java:1372)
      at org.ametys.cms.content.indexing.solr.SolrIndexer.doIndexContents(SolrIndexer.java:1164)
      at org.ametys.cms.content.indexing.solr.SolrIndexer.indexContents(SolrIndexer.java:1118)
      at org.ametys.web.indexing.solr.SolrWebWorkspaceIndexer.indexPluginsContentRoot(SolrWebWorkspaceIndexer.java:138)
      at org.ametys.web.indexing.solr.SolrWebWorkspaceIndexer.doIndex(SolrWebWorkspaceIndexer.java:79)
      at org.ametys.cms.indexing.solr.SolrWorkspaceIndexer._forceWorkspaceAndDoIndex(SolrWorkspaceIndexer.java:185)
      at org.ametys.cms.indexing.solr.SolrWorkspaceIndexer._index(SolrWorkspaceIndexer.java:155)
      at org.ametys.cms.indexing.solr.SolrWorkspaceIndexer.indexAllWorkspaces(SolrWorkspaceIndexer.java:111)
      at org.ametys.cms.indexing.GlobalWorkspaceIndexerSchedulable.execute(GlobalWorkspaceIndexerSchedulable.java:43)
      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.ValueFormatException: not a double: 
      at org.apache.jackrabbit.spi.commons.value.AbstractQValue.getDouble(AbstractQValue.java:288)
      at org.apache.jackrabbit.spi.commons.value.QValueValue.getDouble(QValueValue.java:145)
      at org.ametys.plugins.repository.metadata.jcr.JCRCompositeMetadata._getDoubleArray(JCRCompositeMetadata.java:930)
      ... 19 more
      Caused by: java.lang.NumberFormatException: empty String
      at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1842)
      at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
      at java.lang.Double.parseDouble(Double.java:538)
      at org.apache.jackrabbit.spi.commons.value.AbstractQValue.getDouble(AbstractQValue.java:286)
      ... 21 more

      It's too bad that the field we try to index is not logged.

            sprieul Simon Prieul (Inactive)
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: