Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9

Indexation totale SOLR

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • 4.2.0
    • 4.1.0
    • None
    • 4.2 M8

      Bonjour,

      Comme vu avec Fred, voici le log de l'erreur lorsqu’une indexation totale est lancée.

      Merci

      Date : 03/08 16:56:07.827
      Thread : Thread[AmetysRuntimeScheduler_Worker-3,5,main]
      Niveau : ERROR
      Catégorie : org.ametys.cms.content.indexing.solr.SolrIndexer
      Message : Unable to index resource at /ametys-internal:sites/intranetv2/ametys-internal:resources/Images/Demo/computer-2345512_1920.jpg
      Emplacement : org.ametys.cms.content.indexing.solr.SolrResourceIndexer.indexResourceContent(SolrResourceIndexer.java:243)

      Pile d'appels :

      org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.ametys.plugins.explorer.resources.metadata.parsing.AmetysJpegParser@2c7886e1
      at $1org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:258)
      at $1org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:256)
      at $1org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
      at $1org.apache.tika.Tika.parseToString(Tika.java:465)
      at $1org.apache.tika.Tika.parseToString(Tika.java:540)
      at $1org.ametys.cms.content.indexing.solr.SolrResourceIndexer.indexResourceContent(SolrResourceIndexer.java:214)
      at $1org.ametys.cms.content.indexing.solr.SolrResourceIndexer.indexResource(SolrResourceIndexer.java:174)
      at $1org.ametys.cms.content.indexing.solr.SolrResourceIndexer.indexResource(SolrResourceIndexer.java:107)
      at $1org.ametys.cms.content.indexing.solr.SolrIndexer.doIndexResource(SolrIndexer.java:1578)
      at $1org.ametys.cms.content.indexing.solr.SolrIndexer.doIndexExplorerItem(SolrIndexer.java:1563)
      at $1org.ametys.cms.content.indexing.solr.SolrIndexer.doIndexExplorerItem(SolrIndexer.java:1558)
      at $1org.ametys.cms.content.indexing.solr.SolrIndexer.doIndexExplorerItem(SolrIndexer.java:1558)
      at $1org.ametys.cms.content.indexing.solr.SolrIndexer.doIndexResources(SolrIndexer.java:1343)
      at $1org.ametys.cms.content.indexing.solr.SolrIndexer.indexResources(SolrIndexer.java:1297)
      at $1org.ametys.web.indexing.solr.SolrSiteIndexer._indexResources(SolrSiteIndexer.java:393)
      at $1org.ametys.web.indexing.solr.SolrSiteIndexer.indexSite(SolrSiteIndexer.java:136)
      at $1sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at $1sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      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:154)
      at $1org.ametys.cms.indexing.solr.SolrWorkspaceIndexer._index(SolrWorkspaceIndexer.java:124)
      at $1org.ametys.cms.indexing.solr.SolrWorkspaceIndexer.indexAllWorkspaces(SolrWorkspaceIndexer.java:102)
      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)
      Caused by: java.lang.NullPointerException
      at $1org.apache.tika.parser.image.ImageMetadataExtractor$ExifHandler.handlePhotoTags(ImageMetadataExtractor.java:293)
      at $1org.apache.tika.parser.image.ImageMetadataExtractor$ExifHandler.handle(ImageMetadataExtractor.java:260)
      at $1org.apache.tika.parser.image.ImageMetadataExtractor.handle(ImageMetadataExtractor.java:130)
      at $1org.apache.tika.parser.image.ImageMetadataExtractor.handle(ImageMetadataExtractor.java:117)
      at $1org.apache.tika.parser.image.ImageMetadataExtractor.parseJpeg(ImageMetadataExtractor.java:92)
      at $1org.ametys.plugins.explorer.resources.metadata.parsing.AmetysJpegParser.parse(AmetysJpegParser.java:46)
      at $1org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:256)
      ... 29 more

            Unassigned Unassigned
            sroudiere Sébastien ROUDIERE
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: