NullPointerException in LogErrorHandler

Description

Reported by in HSEARCH-2388:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2016-12-20 13:43:34 INFO SimpleIndexingProgressMonitor:76 - HSEARCH000028: Reindexed 2179 entities 2016-12-20 13:43:34 ERROR LogErrorHandler:67 - HSEARCH000058: HSEARCH000116: Unexpected error during MassIndexer operation java.lang.NullPointerException at org.hibernate.search.exception.impl.LogErrorHandler.appendFailureMessage(LogErrorHandler.java:57) at org.hibernate.search.exception.impl.LogErrorHandler.handle(LogErrorHandler.java:42) at org.hibernate.search.elasticsearch.client.impl.SingleRequest.doExecute(SingleRequest.java:55) at org.hibernate.search.elasticsearch.client.impl.SingleRequest.execute(SingleRequest.java:37) at org.hibernate.search.elasticsearch.client.impl.BackendRequestProcessor.doExecute(BackendRequestProcessor.java:106) at org.hibernate.search.elasticsearch.client.impl.BackendRequestProcessor.executeSync(BackendRequestProcessor.java:76) at org.hibernate.search.elasticsearch.impl.ElasticsearchIndexManager.executeBackendRequest(ElasticsearchIndexManager.java:424) at org.hibernate.search.elasticsearch.impl.ElasticsearchIndexManager.performStreamOperation(ElasticsearchIndexManager.java:414) at org.hibernate.search.backend.impl.batch.DefaultBatchBackend.flush(DefaultBatchBackend.java:87) at org.hibernate.search.batchindexing.impl.BatchCoordinator.afterBatch(BatchCoordinator.java:148) at org.hibernate.search.batchindexing.impl.BatchCoordinator.runWithErrorHandler(BatchCoordinator.java:98) at org.hibernate.search.batchindexing.impl.ErrorHandledRunnable.run(ErrorHandledRunnable.java:32) at org.hibernate.search.batchindexing.impl.MassIndexerImpl.startAndWait(MassIndexerImpl.java:213) at com.livenaked.hub.controller.wsapi.SearchController.rebuildIndex(SearchController.java:59) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:832) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:743) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:961) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:895) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:869)

Environment

None

Status

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Fix versions

Affects versions

5.6.0.CR1

Priority

Major