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

[SolrContentIndexer] indexFullTextBinaryValue can make the global indexation fail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0.2, 4.1.0
    • None
    • Plugin : Search
    • None

      With a NoClassDefError (problem of dependencies of tika with OGG files)

      Date:            Wed Aug 30 12:02:16 CEST 2017 (1504087336859)
      Thread:        AmetysRuntimeScheduler_Worker-3
      Message #:    609
      Level:        ERROR
      NDC:            
      Category:    org.ametys.core.schedule.AmetysJob$org.ametys.cms.indexing.GlobalWorkspaceIndexerSchedulable
      Message:        An error occured during the execution of the Schedulable 'org.ametys.cms.indexing.GlobalWorkspaceIndexerSchedulable'
      Location:    org.ametys.core.schedule.AmetysJob.execute(AmetysJob.java:141)
      Thrown:
      java.lang.NoClassDefFoundError: org/gagravarr/ogg/OggFile
          at org.gagravarr.tika.OggDetector.detect(OggDetector.java:67)
          at org.apache.tika.detect.CompositeDetector.detect(CompositeDetector.java:61)
          at org.apache.tika.detect.CompositeDetector.detect(CompositeDetector.java:61)
          at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:112)
          at org.apache.tika.Tika.parseToString(Tika.java:465)
          at org.apache.tika.Tika.parseToString(Tika.java:540)
          at org.ametys.cms.content.indexing.solr.SolrContentIndexer.indexFullTextBinaryValue(SolrContentIndexer.java:1278)
          at org.ametys.cms.content.indexing.solr.SolrContentIndexer.indexFullTextBinary(SolrContentIndexer.java:1258)
          at org.ametys.cms.content.indexing.solr.SolrContentIndexer.indexBinaryMetadata(SolrContentIndexer.java:1171)
          at org.ametys.cms.content.indexing.solr.SolrContentIndexer.indexFileMetadata(SolrContentIndexer.java:1188)
          at org.ametys.cms.content.indexing.solr.SolrContentIndexer.indexMetadata(SolrContentIndexer.java:483)
          at org.ametys.cms.content.indexing.solr.SolrContentIndexer.indexRepeaterMetadata(SolrContentIndexer.java:1472)
          at org.ametys.cms.content.indexing.solr.SolrContentIndexer.indexMetadata(SolrContentIndexer.java:512)
          at org.ametys.cms.content.indexing.solr.SolrContentIndexer.findAndIndexMetadataField(SolrContentIndexer.java:320)
          at org.ametys.cms.content.indexing.solr.SolrContentIndexer.findAndIndexMetadata(SolrContentIndexer.java:297)
          at org.ametys.cms.content.indexing.solr.SolrContentIndexer.indexModelFields(SolrContentIndexer.java:215)
          at org.ametys.cms.content.indexing.solr.SolrContentIndexer.indexContent(SolrContentIndexer.java:143)
          at org.ametys.cms.content.indexing.solr.SolrIndexer.doIndexContent(SolrIndexer.java:1124)
          at org.ametys.cms.content.indexing.solr.SolrIndexer.doIndexContents(SolrIndexer.java:939)
          at org.ametys.cms.content.indexing.solr.SolrIndexer.indexContents(SolrIndexer.java:894)
          at org.ametys.web.indexing.solr.SolrSiteIndexer._indexContents(SolrSiteIndexer.java:381)
          at org.ametys.web.indexing.solr.SolrSiteIndexer.indexSite(SolrSiteIndexer.java:131)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.__invoke(DelegatingMethodAccessorImpl.java:43)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
      

      SolrContentIndexer:1282 : catch Throwable instead of Exception

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

              Created:
              Updated:
              Resolved: