Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-637

NPE from Elastic Search connector

    XMLWordPrintableJSON

Details

    Description

      NPE as follows:

      FATAL 2013-02-01 14:32:38,255 (Worker thread '5') - Error tossed: null
      java.lang.NullPointerException
              at java.util.TreeMap.getEntry(TreeMap.java:324)
              at java.util.TreeMap.containsKey(TreeMap.java:209)
              at java.util.TreeSet.contains(TreeSet.java:217)
              at org.apache.manifoldcf.agents.output.elasticsearch.ElasticSearchSpecs.checkMimeType(ElasticSearchSpecs.java:164)
              at org.apache.manifoldcf.agents.output.elasticsearch.ElasticSearchConnector.checkMimeTypeIndexable(ElasticSearchConnector.java:333)
              at org.apache.manifoldcf.agents.incrementalingest.IncrementalIngester.checkMimeTypeIndexable(IncrementalIngester.java:212)
              at org.apache.manifoldcf.crawler.system.WorkerThread$ProcessActivity.checkMimeTypeIndexable(WorkerThread.java:2091)
              at org.apache.manifoldcf.crawler.connectors.DCTM.DCTM.processDocuments(DCTM.java:1811)
              at org.apache.manifoldcf.crawler.connectors.BaseRepositoryConnector.processDocuments(BaseRepositoryConnector.java:423)
              at org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:556)
      
      

      Apparently the DocumentumConnector is passing in null mime types, and the elastic search connector doesn't like it.

      Attachments

        Activity

          People

            kwright@metacarta.com Karl Wright
            kwright@metacarta.com Karl Wright
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: