-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 6.0
-
Component/s: Elasticsearch
-
Tags:
-
Sprint:Sprint RepoTeam 5.9.5-2
If a version document does not have its live doc anymore, this happens because doc.getACP() return null:
14:46:15,830 ERROR [WorkManagerImpl] Uncaught error on thread Nuxeo-Work-elasticSearchIndexing-1 org.nuxeo.ecm.core.api.ClientException: Unable to create index request for Document ab7c3f5f-1e21-4d83-8e76-dd9fd48d3288 at org.nuxeo.elasticsearch.core.ElasticSearchIndexingImpl.buildEsIndexingRequest(ElasticSearchIndexingImpl.java:291) at org.nuxeo.elasticsearch.core.ElasticSearchIndexingImpl.processIndexCommand(ElasticSearchIndexingImpl.java:193) at org.nuxeo.elasticsearch.core.ElasticSearchIndexingImpl.indexNow(ElasticSearchIndexingImpl.java:180) at org.nuxeo.elasticsearch.ElasticSearchComponent.indexNow(ElasticSearchComponent.java:329) at org.nuxeo.elasticsearch.work.IndexingWorker.doIndexingWork(IndexingWorker.java:66) at org.nuxeo.elasticsearch.work.AbstractIndexingWorker.work(AbstractIndexingWorker.java:67) at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:351) at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:312) at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:280) at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:52) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at org.nuxeo.ecm.automation.jaxrs.io.documents.JsonESDocumentWriter.writeDoc(JsonESDocumentWriter.java:101) at org.nuxeo.ecm.automation.jaxrs.io.documents.JsonESDocumentWriter.writeESDocument(JsonESDocumentWriter.java:153) at org.nuxeo.elasticsearch.core.ElasticSearchIndexingImpl.buildEsIndexingRequest(ElasticSearchIndexingImpl.java:284) ... 12 more
- is required by
-
NXP-15333 Fix ERRORs in FT-nuxeo-master-cmis-dm-tomcat-multiosdb server logs
- Resolved