Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-16828

Elasticsearch async indexing job fails when using Redis

    XMLWordPrintable

    Details

      Description

      When the indexing job are serialized through Redis, there is a NPE at execution:

      2015-03-24 19:28:03,477 ERROR [Nuxeo-Work-elasticSearchIndexing-4] [org.nuxeo.ecm.core.work.AbstractWork] Exception during work: IndexingWorker(2f9ae89b-b22e-4529-8fbd-cfb244572324, , null, null)
      java.lang.NullPointerException
      	at org.nuxeo.elasticsearch.work.BaseIndexingWorker.work(BaseIndexingWorker.java:43)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:343)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:304)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:273)
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:52)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      

      The monitor property is transient and not rebuild on load.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: