04:04:50.707 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Cleaning elasticsearch...
04:04:50.715 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - All documents have been wiped out! Elasticsearch has successfully been cleaned!
04:04:50.715 [main] INFO  o.c.o.test.engine.EnginePluginClient - Start cleaning engine
04:04:50.719 [main] INFO  o.c.o.test.engine.EnginePluginClient - Finished cleaning engine
04:04:50.753 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:50.753 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:50.758 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:50.758 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:50.759 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:50.759 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:50.922 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:50.922 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:50.922 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - resetting config, parsing defaultconfig and copying properties
04:04:50.925 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - done resetting config
04:04:50.925 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:50.925 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:50.930 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:50.930 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:50.931 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:50.931 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:50.933 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Cleaning elasticsearch...
04:04:50.977 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - All documents have been wiped out! Elasticsearch has successfully been cleaned!
04:04:50.977 [main] INFO  o.c.o.test.engine.EnginePluginClient - Start cleaning engine
04:04:50.981 [main] INFO  o.c.o.test.engine.EnginePluginClient - Finished cleaning engine
04:04:51.017 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:51.017 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:51.023 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:51.023 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:51.023 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:51.023 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:51.381 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:521683) on 1 event process instance events by ID: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:51.400 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:521683) on 1 event process instance events by ID: 100% (total: 2, updated: 2, created: 0, deleted: 0). Completed is true
04:04:51.405 [qtp1406763631-136] INFO  o.c.o.s.e.writer.ExternalEventWriter - Deleting 1 events by ID.
04:04:51.409 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:521734) on external events with ID from list of size 1: 0% (total: 1, updated: 0, created: 0, deleted: 0). Completed is false
04:04:51.427 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:521734) on external events with ID from list of size 1: 100% (total: 1, updated: 0, created: 0, deleted: 1). Completed is true
04:04:51.433 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:51.433 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:51.433 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - resetting config, parsing defaultconfig and copying properties
04:04:51.436 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - done resetting config
04:04:51.436 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:51.436 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:51.442 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:51.442 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:51.442 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:51.443 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:51.445 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Cleaning elasticsearch...
04:04:51.507 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - All documents have been wiped out! Elasticsearch has successfully been cleaned!
04:04:51.507 [main] INFO  o.c.o.test.engine.EnginePluginClient - Start cleaning engine
04:04:51.510 [main] INFO  o.c.o.test.engine.EnginePluginClient - Finished cleaning engine
04:04:51.546 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:51.546 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:51.552 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:51.552 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:51.553 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:51.553 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:51.877 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:524152) on 6 event process instance events by ID: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:51.895 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:524152) on 6 event process instance events by ID: 100% (total: 1, updated: 1, created: 0, deleted: 0). Completed is true
04:04:51.898 [qtp1406763631-45] INFO  o.c.o.s.e.writer.ExternalEventWriter - Deleting 6 events by ID.
04:04:51.901 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:524189) on external events with ID from list of size 6: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:51.919 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:524189) on external events with ID from list of size 6: 100% (total: 6, updated: 0, created: 0, deleted: 6). Completed is true
04:04:51.929 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:524246) on 6 event process instance events by ID: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:51.950 [qtp1406763631-136] INFO  o.c.o.s.e.writer.ExternalEventWriter - Deleting 6 events by ID.
04:04:51.953 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:524455) on external events with ID from list of size 6: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:51.975 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:51.975 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:51.975 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - resetting config, parsing defaultconfig and copying properties
04:04:51.978 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - done resetting config
04:04:51.978 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:51.978 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:51.983 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:51.983 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:51.984 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:51.984 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:51.986 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Cleaning elasticsearch...
04:04:52.046 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - All documents have been wiped out! Elasticsearch has successfully been cleaned!
04:04:52.046 [main] INFO  o.c.o.test.engine.EnginePluginClient - Start cleaning engine
04:04:52.050 [main] INFO  o.c.o.test.engine.EnginePluginClient - Finished cleaning engine
04:04:52.083 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:52.083 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:52.088 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:52.088 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:52.089 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:52.089 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:52.444 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:528070) on 6 event process instance events by ID: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:52.464 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:528070) on 6 event process instance events by ID: 100% (total: 2, updated: 2, created: 0, deleted: 0). Completed is true
04:04:52.468 [qtp1406763631-45] INFO  o.c.o.s.e.writer.ExternalEventWriter - Deleting 6 events by ID.
04:04:52.484 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:528121) on external events with ID from list of size 6: 0% (total: 6, updated: 0, created: 0, deleted: 0). Completed is false
04:04:52.505 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:528121) on external events with ID from list of size 6: 100% (total: 6, updated: 0, created: 0, deleted: 6). Completed is true
04:04:52.510 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:52.510 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:52.510 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - resetting config, parsing defaultconfig and copying properties
04:04:52.513 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - done resetting config
04:04:52.514 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:52.514 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:52.518 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:52.518 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:52.519 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:52.519 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:52.521 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Cleaning elasticsearch...
04:04:52.595 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - All documents have been wiped out! Elasticsearch has successfully been cleaned!
04:04:52.595 [main] INFO  o.c.o.test.engine.EnginePluginClient - Start cleaning engine
04:04:52.598 [main] INFO  o.c.o.test.engine.EnginePluginClient - Finished cleaning engine
04:04:52.635 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:52.635 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:52.639 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:52.640 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:52.640 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:52.640 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:52.810 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:52.810 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:52.810 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - resetting config, parsing defaultconfig and copying properties
04:04:52.814 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - done resetting config
04:04:52.814 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:52.814 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:52.819 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:52.819 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:52.820 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:52.820 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:52.822 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Cleaning elasticsearch...
04:04:52.863 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - All documents have been wiped out! Elasticsearch has successfully been cleaned!
04:04:52.863 [main] INFO  o.c.o.test.engine.EnginePluginClient - Start cleaning engine
04:04:52.866 [main] INFO  o.c.o.test.engine.EnginePluginClient - Finished cleaning engine
04:04:52.900 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:52.900 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:52.906 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:52.906 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:52.906 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:52.906 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:53.163 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:53.163 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:53.167 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:53.167 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:53.168 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:53.168 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:53.183 [qtp1406763631-45] ERROR o.c.o.s.e.w.ElasticsearchWriterUtil - Could not create updateBy task for [6 event process instance events by ID] with query [{
  "nested" : {
    "query" : {
      "terms" : {
        "flowNodeInstances.flowNodeInstanceId" : [
          "73924e92-cc76-4dac-9ad4-28053eda9a71traceIdOne",
          "5be224ab-f299-46c9-b813-206768ad9c2ctraceIdOne",
          "bb31cbee-e805-4650-ab27-b9b08272589ctraceIdOne",
          "4c020c71-1133-488b-a2f6-954df89217datraceIdOne",
          "4b69096b-fe23-4193-81a8-d7c0e02e2d8etraceIdOne",
          "62d64dcf-a41a-407c-99b1-58552ab271c7traceIdOne"
        ],
        "boost" : 1.0
      }
    },
    "path" : "flowNodeInstances",
    "ignore_unmapped" : false,
    "score_mode" : "none",
    "boost" : 1.0
  }
}]!
org.apache.http.ConnectionClosedException: Connection is closed
	at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:855)
	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:275)
	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:262)
	at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1628)
	at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1598)
	at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1568)
	at org.elasticsearch.client.RestHighLevelClient.submitUpdateByQueryTask(RestHighLevelClient.java:614)
	at org.camunda.optimize.service.es.OptimizeElasticsearchClient.submitUpdateTask(OptimizeElasticsearchClient.java:316)
	at org.camunda.optimize.service.es.writer.ElasticsearchWriterUtil.tryUpdateByQueryRequest(ElasticsearchWriterUtil.java:205)
	at org.camunda.optimize.service.es.writer.EventProcessInstanceWriter.deleteEventsWithIdsInFromAllInstances(EventProcessInstanceWriter.java:150)
	at org.camunda.optimize.service.events.ExternalEventService.deleteEvents(ExternalEventService.java:79)
	at org.camunda.optimize.rest.EventRestService.deleteEvents(EventRestService.java:90)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:159)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:475)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:397)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:81)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:255)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:234)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:684)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
	at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1631)
	at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:228)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:327)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:115)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:81)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.camunda.optimize.rest.security.AuthenticationCookieRefreshFilter.doFilter(AuthenticationCookieRefreshFilter.java:65)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126)
	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter.doFilter(AbstractPreAuthenticatedProcessingFilter.java:142)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.camunda.optimize.rest.security.SingleSignOnRequestFilter.doFilter(SingleSignOnRequestFilter.java:58)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90)
	at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110)
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:211)
	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:183)
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.camunda.optimize.jetty.NoCachingFilter.doFilter(NoCachingFilter.java:46)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.camunda.optimize.jetty.LicenseFilter.doFilter(LicenseFilter.java:71)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:713)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:322)
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:516)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:400)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:645)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:392)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: org.apache.http.ConnectionClosedException: Connection is closed
	at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.endOfInput(HttpAsyncRequestExecutor.java:356)
	at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:261)
	at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81)
	at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39)
	at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:114)
	at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276)
	at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
	at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:591)
	... 1 common frames omitted
04:04:53.183 [qtp1406763631-45] ERROR o.c.o.r.p.GenericExceptionMapper - Mapping generic REST error
org.camunda.optimize.service.exceptions.OptimizeRuntimeException: Could not create updateBy task for [6 event process instance events by ID] with query [{
  "nested" : {
    "query" : {
      "terms" : {
        "flowNodeInstances.flowNodeInstanceId" : [
          "73924e92-cc76-4dac-9ad4-28053eda9a71traceIdOne",
          "5be224ab-f299-46c9-b813-206768ad9c2ctraceIdOne",
          "bb31cbee-e805-4650-ab27-b9b08272589ctraceIdOne",
          "4c020c71-1133-488b-a2f6-954df89217datraceIdOne",
          "4b69096b-fe23-4193-81a8-d7c0e02e2d8etraceIdOne",
          "62d64dcf-a41a-407c-99b1-58552ab271c7traceIdOne"
        ],
        "boost" : 1.0
      }
    },
    "path" : "flowNodeInstances",
    "ignore_unmapped" : false,
    "score_mode" : "none",
    "boost" : 1.0
  }
}]!
	at org.camunda.optimize.service.es.writer.ElasticsearchWriterUtil.tryUpdateByQueryRequest(ElasticsearchWriterUtil.java:213)
	at org.camunda.optimize.service.es.writer.EventProcessInstanceWriter.deleteEventsWithIdsInFromAllInstances(EventProcessInstanceWriter.java:150)
	at org.camunda.optimize.service.events.ExternalEventService.deleteEvents(ExternalEventService.java:79)
	at org.camunda.optimize.rest.EventRestService.deleteEvents(EventRestService.java:90)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:159)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:475)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:397)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:81)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:255)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:234)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:684)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
	at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1631)
	at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:228)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:327)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:115)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:81)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.camunda.optimize.rest.security.AuthenticationCookieRefreshFilter.doFilter(AuthenticationCookieRefreshFilter.java:65)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126)
	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter.doFilter(AbstractPreAuthenticatedProcessingFilter.java:142)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.camunda.optimize.rest.security.SingleSignOnRequestFilter.doFilter(SingleSignOnRequestFilter.java:58)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90)
	at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110)
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:211)
	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:183)
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.camunda.optimize.jetty.NoCachingFilter.doFilter(NoCachingFilter.java:46)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.camunda.optimize.jetty.LicenseFilter.doFilter(LicenseFilter.java:71)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:713)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:322)
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:516)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:400)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:645)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:392)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: org.apache.http.ConnectionClosedException: Connection is closed
	at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:855)
	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:275)
	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:262)
	at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1628)
	at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1598)
	at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1568)
	at org.elasticsearch.client.RestHighLevelClient.submitUpdateByQueryTask(RestHighLevelClient.java:614)
	at org.camunda.optimize.service.es.OptimizeElasticsearchClient.submitUpdateTask(OptimizeElasticsearchClient.java:316)
	at org.camunda.optimize.service.es.writer.ElasticsearchWriterUtil.tryUpdateByQueryRequest(ElasticsearchWriterUtil.java:205)
	... 115 common frames omitted
Caused by: org.apache.http.ConnectionClosedException: Connection is closed
	at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.endOfInput(HttpAsyncRequestExecutor.java:356)
	at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:261)
	at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81)
	at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39)
	at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:114)
	at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276)
	at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
	at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:591)
	... 1 common frames omitted
04:04:53.198 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:534492) on 6 event process instance events by ID: 0% (total: 1, updated: 0, created: 0, deleted: 0). Completed is false
04:04:53.218 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:534492) on 6 event process instance events by ID: 100% (total: 1, updated: 1, created: 0, deleted: 0). Completed is true
04:04:53.223 [qtp1406763631-136] INFO  o.c.o.s.e.writer.ExternalEventWriter - Deleting 6 events by ID.
04:04:53.229 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:534567) on external events with ID from list of size 6: 0% (total: 6, updated: 0, created: 0, deleted: 0). Completed is false
04:04:53.250 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:534567) on external events with ID from list of size 6: 100% (total: 6, updated: 0, created: 0, deleted: 6). Completed is true
04:04:53.258 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:53.258 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:53.258 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - resetting config, parsing defaultconfig and copying properties
04:04:53.262 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - done resetting config
04:04:53.263 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:53.263 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:53.289 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:53.289 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:53.290 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:53.290 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:53.295 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Resetting all MockServer expectations and logs
04:04:53.370 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - No longer using ES MockServer
04:04:53.371 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Cleaning elasticsearch...
04:04:53.437 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - All documents have been wiped out! Elasticsearch has successfully been cleaned!
04:04:53.437 [main] INFO  o.c.o.test.engine.EnginePluginClient - Start cleaning engine
04:04:53.442 [main] INFO  o.c.o.test.engine.EnginePluginClient - Finished cleaning engine
04:04:53.476 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:53.476 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:53.482 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:53.482 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:53.482 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:53.482 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:53.722 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:537766) on 6 event process instance events by ID: 0% (total: 1, updated: 0, created: 0, deleted: 0). Completed is false
04:04:53.740 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:537766) on 6 event process instance events by ID: 100% (total: 1, updated: 1, created: 0, deleted: 0). Completed is true
04:04:53.743 [qtp1406763631-45] INFO  o.c.o.s.e.writer.ExternalEventWriter - Deleting 6 events by ID.
04:04:53.747 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:538205) on external events with ID from list of size 6: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:53.766 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:538205) on external events with ID from list of size 6: 100% (total: 6, updated: 0, created: 0, deleted: 6). Completed is true
04:04:53.771 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:53.771 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:53.771 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - resetting config, parsing defaultconfig and copying properties
04:04:53.774 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - done resetting config
04:04:53.775 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:53.775 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:53.779 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:53.779 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:53.780 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:53.780 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:53.782 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Cleaning elasticsearch...
04:04:53.855 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - All documents have been wiped out! Elasticsearch has successfully been cleaned!
04:04:53.855 [main] INFO  o.c.o.test.engine.EnginePluginClient - Start cleaning engine
04:04:53.858 [main] INFO  o.c.o.test.engine.EnginePluginClient - Finished cleaning engine
04:04:53.890 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:53.890 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:53.896 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:53.896 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:53.896 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:53.896 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:54.116 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:539752) on 1 event process instance events by ID: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:54.137 [qtp1406763631-136] INFO  o.c.o.s.e.writer.ExternalEventWriter - Deleting 1 events by ID.
04:04:54.140 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:539772) on external events with ID from list of size 1: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:54.161 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:54.161 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:54.161 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - resetting config, parsing defaultconfig and copying properties
04:04:54.164 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - done resetting config
04:04:54.165 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:54.165 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:54.170 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:54.170 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:54.170 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:54.170 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:54.173 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Cleaning elasticsearch...
04:04:54.231 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - All documents have been wiped out! Elasticsearch has successfully been cleaned!
04:04:54.231 [main] INFO  o.c.o.test.engine.EnginePluginClient - Start cleaning engine
04:04:54.235 [main] INFO  o.c.o.test.engine.EnginePluginClient - Finished cleaning engine
04:04:54.266 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:54.266 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:54.271 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:54.271 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:54.272 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:54.272 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:54.486 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:541569) on 7 event process instance events by ID: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:54.511 [qtp1406763631-45] INFO  o.c.o.s.e.writer.ExternalEventWriter - Deleting 7 events by ID.
04:04:54.516 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:541584) on external events with ID from list of size 7: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:54.544 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:541584) on external events with ID from list of size 7: 100% (total: 6, updated: 0, created: 0, deleted: 6). Completed is true
04:04:54.549 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:54.549 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:54.549 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - resetting config, parsing defaultconfig and copying properties
04:04:54.551 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - done resetting config
04:04:54.552 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:54.552 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:54.558 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:54.558 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:54.559 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:54.559 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:54.561 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Cleaning elasticsearch...
04:04:54.600 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - All documents have been wiped out! Elasticsearch has successfully been cleaned!
04:04:54.600 [main] INFO  o.c.o.test.engine.EnginePluginClient - Start cleaning engine
04:04:54.603 [main] INFO  o.c.o.test.engine.EnginePluginClient - Finished cleaning engine
04:04:54.634 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:54.634 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:54.638 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:54.638 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:54.639 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:54.639 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:54.955 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:54.955 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:54.959 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:54.959 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:54.960 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:54.960 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:54.976 [qtp1406763631-136] ERROR o.c.o.s.e.w.ElasticsearchWriterUtil - Could not create updateBy task for [1 event process instance events by ID] with query [{
  "nested" : {
    "query" : {
      "terms" : {
        "flowNodeInstances.flowNodeInstanceId" : [
          "74b93f6b-f525-49d8-9db9-9c90c8a74a4dtraceIdOne"
        ],
        "boost" : 1.0
      }
    },
    "path" : "flowNodeInstances",
    "ignore_unmapped" : false,
    "score_mode" : "none",
    "boost" : 1.0
  }
}]!
org.apache.http.ConnectionClosedException: Connection is closed
	at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:855)
	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:275)
	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:262)
	at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1628)
	at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1598)
	at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1568)
	at org.elasticsearch.client.RestHighLevelClient.submitUpdateByQueryTask(RestHighLevelClient.java:614)
	at org.camunda.optimize.service.es.OptimizeElasticsearchClient.submitUpdateTask(OptimizeElasticsearchClient.java:316)
	at org.camunda.optimize.service.es.writer.ElasticsearchWriterUtil.tryUpdateByQueryRequest(ElasticsearchWriterUtil.java:205)
	at org.camunda.optimize.service.es.writer.EventProcessInstanceWriter.deleteEventsWithIdsInFromAllInstances(EventProcessInstanceWriter.java:150)
	at org.camunda.optimize.service.events.ExternalEventService.deleteEvents(ExternalEventService.java:79)
	at org.camunda.optimize.rest.EventRestService.deleteEvents(EventRestService.java:90)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:159)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:475)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:397)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:81)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:255)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:234)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:684)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
	at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1631)
	at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:228)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:327)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:115)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:81)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.camunda.optimize.rest.security.AuthenticationCookieRefreshFilter.doFilter(AuthenticationCookieRefreshFilter.java:65)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126)
	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter.doFilter(AbstractPreAuthenticatedProcessingFilter.java:142)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.camunda.optimize.rest.security.SingleSignOnRequestFilter.doFilter(SingleSignOnRequestFilter.java:58)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90)
	at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110)
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:211)
	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:183)
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.camunda.optimize.jetty.NoCachingFilter.doFilter(NoCachingFilter.java:46)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.camunda.optimize.jetty.LicenseFilter.doFilter(LicenseFilter.java:71)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:713)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:322)
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:516)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:400)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:645)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:392)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: org.apache.http.ConnectionClosedException: Connection is closed
	at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.endOfInput(HttpAsyncRequestExecutor.java:356)
	at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:261)
	at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81)
	at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39)
	at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:114)
	at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276)
	at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
	at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:591)
	... 1 common frames omitted
04:04:54.976 [qtp1406763631-136] ERROR o.c.o.r.p.GenericExceptionMapper - Mapping generic REST error
org.camunda.optimize.service.exceptions.OptimizeRuntimeException: Could not create updateBy task for [1 event process instance events by ID] with query [{
  "nested" : {
    "query" : {
      "terms" : {
        "flowNodeInstances.flowNodeInstanceId" : [
          "74b93f6b-f525-49d8-9db9-9c90c8a74a4dtraceIdOne"
        ],
        "boost" : 1.0
      }
    },
    "path" : "flowNodeInstances",
    "ignore_unmapped" : false,
    "score_mode" : "none",
    "boost" : 1.0
  }
}]!
	at org.camunda.optimize.service.es.writer.ElasticsearchWriterUtil.tryUpdateByQueryRequest(ElasticsearchWriterUtil.java:213)
	at org.camunda.optimize.service.es.writer.EventProcessInstanceWriter.deleteEventsWithIdsInFromAllInstances(EventProcessInstanceWriter.java:150)
	at org.camunda.optimize.service.events.ExternalEventService.deleteEvents(ExternalEventService.java:79)
	at org.camunda.optimize.rest.EventRestService.deleteEvents(EventRestService.java:90)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:159)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:475)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:397)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:81)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:255)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:234)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:684)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
	at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1631)
	at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:228)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:327)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:115)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:81)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.camunda.optimize.rest.security.AuthenticationCookieRefreshFilter.doFilter(AuthenticationCookieRefreshFilter.java:65)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126)
	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter.doFilter(AbstractPreAuthenticatedProcessingFilter.java:142)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.camunda.optimize.rest.security.SingleSignOnRequestFilter.doFilter(SingleSignOnRequestFilter.java:58)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90)
	at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110)
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:211)
	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:183)
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.camunda.optimize.jetty.NoCachingFilter.doFilter(NoCachingFilter.java:46)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.camunda.optimize.jetty.LicenseFilter.doFilter(LicenseFilter.java:71)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:713)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:322)
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:516)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:400)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:645)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:392)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: org.apache.http.ConnectionClosedException: Connection is closed
	at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:855)
	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:275)
	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:262)
	at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1628)
	at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1598)
	at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1568)
	at org.elasticsearch.client.RestHighLevelClient.submitUpdateByQueryTask(RestHighLevelClient.java:614)
	at org.camunda.optimize.service.es.OptimizeElasticsearchClient.submitUpdateTask(OptimizeElasticsearchClient.java:316)
	at org.camunda.optimize.service.es.writer.ElasticsearchWriterUtil.tryUpdateByQueryRequest(ElasticsearchWriterUtil.java:205)
	... 115 common frames omitted
Caused by: org.apache.http.ConnectionClosedException: Connection is closed
	at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.endOfInput(HttpAsyncRequestExecutor.java:356)
	at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:261)
	at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81)
	at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39)
	at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:114)
	at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276)
	at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
	at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:591)
	... 1 common frames omitted
04:04:54.991 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:543512) on 1 event process instance events by ID: 0% (total: 1, updated: 0, created: 0, deleted: 0). Completed is false
04:04:55.010 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:543512) on 1 event process instance events by ID: 100% (total: 1, updated: 1, created: 0, deleted: 0). Completed is true
04:04:55.013 [qtp1406763631-45] INFO  o.c.o.s.e.writer.ExternalEventWriter - Deleting 1 events by ID.
04:04:55.020 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:543545) on external events with ID from list of size 1: 0% (total: 1, updated: 0, created: 0, deleted: 0). Completed is false
04:04:55.039 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:543545) on external events with ID from list of size 1: 100% (total: 1, updated: 0, created: 0, deleted: 1). Completed is true
04:04:55.048 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:55.048 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:55.048 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - resetting config, parsing defaultconfig and copying properties
04:04:55.050 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - done resetting config
04:04:55.051 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:55.051 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:55.072 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:55.072 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:55.073 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:55.073 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:55.074 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Resetting all MockServer expectations and logs
04:04:55.145 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - No longer using ES MockServer
04:04:55.146 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Cleaning elasticsearch...
04:04:55.248 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - All documents have been wiped out! Elasticsearch has successfully been cleaned!
04:04:55.248 [main] INFO  o.c.o.test.engine.EnginePluginClient - Start cleaning engine
04:04:55.253 [main] INFO  o.c.o.test.engine.EnginePluginClient - Finished cleaning engine
04:04:55.286 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:55.286 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:55.292 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:55.292 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:55.292 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:55.292 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:55.636 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:546461) on 6 event process instance events by ID: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:55.655 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:546461) on 6 event process instance events by ID: 100% (total: 1, updated: 1, created: 0, deleted: 0). Completed is true
04:04:55.658 [qtp1406763631-136] INFO  o.c.o.s.e.writer.ExternalEventWriter - Deleting 6 events by ID.
04:04:55.662 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:546489) on external events with ID from list of size 6: 0% (total: 6, updated: 0, created: 0, deleted: 0). Completed is false
04:04:55.681 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:546489) on external events with ID from list of size 6: 100% (total: 6, updated: 0, created: 0, deleted: 6). Completed is true
04:04:55.687 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:55.687 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:55.687 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - resetting config, parsing defaultconfig and copying properties
04:04:55.689 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - done resetting config
04:04:55.690 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:55.690 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:55.695 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:55.695 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:55.696 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:55.696 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:55.698 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Cleaning elasticsearch...
04:04:55.761 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - All documents have been wiped out! Elasticsearch has successfully been cleaned!
04:04:55.761 [main] INFO  o.c.o.test.engine.EnginePluginClient - Start cleaning engine
04:04:55.764 [main] INFO  o.c.o.test.engine.EnginePluginClient - Finished cleaning engine
04:04:55.796 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:55.796 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:55.801 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:55.801 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:55.802 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:55.802 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:56.092 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:547649) on 1 event process instance events by ID: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:56.118 [qtp1406763631-45] INFO  o.c.o.s.e.writer.ExternalEventWriter - Deleting 1 events by ID.
04:04:56.123 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:547692) on external events with ID from list of size 1: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:56.144 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:56.144 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:56.144 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - resetting config, parsing defaultconfig and copying properties
04:04:56.147 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - done resetting config
04:04:56.147 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:56.147 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:56.156 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:56.156 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:56.157 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:56.157 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:56.159 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Cleaning elasticsearch...
04:04:56.200 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - All documents have been wiped out! Elasticsearch has successfully been cleaned!
04:04:56.200 [main] INFO  o.c.o.test.engine.EnginePluginClient - Start cleaning engine
04:04:56.203 [main] INFO  o.c.o.test.engine.EnginePluginClient - Finished cleaning engine
04:04:56.236 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:56.236 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:56.241 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:56.241 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:56.242 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:56.242 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:56.465 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:549793) on 6 event process instance events by ID: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:56.488 [qtp1406763631-136] INFO  o.c.o.s.e.writer.ExternalEventWriter - Deleting 6 events by ID.
04:04:56.504 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:549831) on external events with ID from list of size 6: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:56.523 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:549831) on external events with ID from list of size 6: 100% (total: 6, updated: 0, created: 0, deleted: 6). Completed is true
04:04:56.528 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:56.528 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:56.528 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - resetting config, parsing defaultconfig and copying properties
04:04:56.531 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - done resetting config
04:04:56.532 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:56.532 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:56.538 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:56.538 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:56.540 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:56.540 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:56.542 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Cleaning elasticsearch...
04:04:56.585 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - All documents have been wiped out! Elasticsearch has successfully been cleaned!
04:04:56.585 [main] INFO  o.c.o.test.engine.EnginePluginClient - Start cleaning engine
04:04:56.588 [main] INFO  o.c.o.test.engine.EnginePluginClient - Finished cleaning engine
04:04:56.621 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:56.621 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:56.626 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:56.626 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:56.626 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:56.626 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:56.969 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:56.969 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:56.973 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:56.973 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:56.974 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:56.974 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:56.994 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:551660) on 1 event process instance events by ID: 0% (total: 1, updated: 0, created: 0, deleted: 0). Completed is false
04:04:57.014 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:551660) on 1 event process instance events by ID: 100% (total: 1, updated: 1, created: 0, deleted: 0). Completed is true
04:04:57.018 [qtp1406763631-45] INFO  o.c.o.s.e.writer.ExternalEventWriter - Deleting 1 events by ID.
04:04:57.019 [qtp1406763631-45] ERROR o.c.o.s.e.w.ElasticsearchWriterUtil - Could not create delete task for [external events with ID from list of size 1] with query [{
  "bool" : {
    "filter" : [
      {
        "terms" : {
          "id" : [
            "d47c2a9b-b1c8-4974-9339-c847068c41a9traceIdOne"
          ],
          "boost" : 1.0
        }
      }
    ],
    "adjust_pure_negative" : true,
    "boost" : 1.0
  }
}]!
org.apache.http.ConnectionClosedException: Connection is closed
	at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:855)
	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:275)
	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:262)
	at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1628)
	at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1598)
	at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1568)
	at org.elasticsearch.client.RestHighLevelClient.submitDeleteByQueryTask(RestHighLevelClient.java:659)
	at org.camunda.optimize.service.es.OptimizeElasticsearchClient.submitDeleteTask(OptimizeElasticsearchClient.java:320)
	at org.camunda.optimize.service.es.writer.ElasticsearchWriterUtil.tryDeleteByQueryRequest(ElasticsearchWriterUtil.java:244)
	at org.camunda.optimize.service.es.writer.ExternalEventWriter.deleteEventsWithIdsIn(ExternalEventWriter.java:102)
	at org.camunda.optimize.service.events.ExternalEventService.deleteEvents(ExternalEventService.java:80)
	at org.camunda.optimize.rest.EventRestService.deleteEvents(EventRestService.java:90)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:159)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:475)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:397)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:81)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:255)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:234)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:684)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
	at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1631)
	at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:228)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:327)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:115)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:81)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.camunda.optimize.rest.security.AuthenticationCookieRefreshFilter.doFilter(AuthenticationCookieRefreshFilter.java:65)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126)
	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter.doFilter(AbstractPreAuthenticatedProcessingFilter.java:142)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.camunda.optimize.rest.security.SingleSignOnRequestFilter.doFilter(SingleSignOnRequestFilter.java:58)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90)
	at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110)
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:211)
	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:183)
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.camunda.optimize.jetty.NoCachingFilter.doFilter(NoCachingFilter.java:46)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.camunda.optimize.jetty.LicenseFilter.doFilter(LicenseFilter.java:71)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:713)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:322)
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:516)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:400)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:645)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:392)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: org.apache.http.ConnectionClosedException: Connection is closed
	at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.endOfInput(HttpAsyncRequestExecutor.java:356)
	at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:261)
	at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81)
	at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39)
	at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:114)
	at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276)
	at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
	at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:591)
	... 1 common frames omitted
04:04:57.020 [qtp1406763631-45] ERROR o.c.o.r.p.GenericExceptionMapper - Mapping generic REST error
org.camunda.optimize.service.exceptions.OptimizeRuntimeException: Could not create delete task for [external events with ID from list of size 1] with query [{
  "bool" : {
    "filter" : [
      {
        "terms" : {
          "id" : [
            "d47c2a9b-b1c8-4974-9339-c847068c41a9traceIdOne"
          ],
          "boost" : 1.0
        }
      }
    ],
    "adjust_pure_negative" : true,
    "boost" : 1.0
  }
}]!
	at org.camunda.optimize.service.es.writer.ElasticsearchWriterUtil.tryDeleteByQueryRequest(ElasticsearchWriterUtil.java:252)
	at org.camunda.optimize.service.es.writer.ExternalEventWriter.deleteEventsWithIdsIn(ExternalEventWriter.java:102)
	at org.camunda.optimize.service.events.ExternalEventService.deleteEvents(ExternalEventService.java:80)
	at org.camunda.optimize.rest.EventRestService.deleteEvents(EventRestService.java:90)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:159)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:475)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:397)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:81)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:255)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:234)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:684)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
	at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1631)
	at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:228)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:327)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:115)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:81)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.camunda.optimize.rest.security.AuthenticationCookieRefreshFilter.doFilter(AuthenticationCookieRefreshFilter.java:65)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126)
	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter.doFilter(AbstractPreAuthenticatedProcessingFilter.java:142)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.camunda.optimize.rest.security.SingleSignOnRequestFilter.doFilter(SingleSignOnRequestFilter.java:58)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90)
	at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110)
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:211)
	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:183)
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.camunda.optimize.jetty.NoCachingFilter.doFilter(NoCachingFilter.java:46)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.camunda.optimize.jetty.LicenseFilter.doFilter(LicenseFilter.java:71)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:713)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:322)
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:516)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:400)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:645)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:392)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: org.apache.http.ConnectionClosedException: Connection is closed
	at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:855)
	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:275)
	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:262)
	at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1628)
	at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1598)
	at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1568)
	at org.elasticsearch.client.RestHighLevelClient.submitDeleteByQueryTask(RestHighLevelClient.java:659)
	at org.camunda.optimize.service.es.OptimizeElasticsearchClient.submitDeleteTask(OptimizeElasticsearchClient.java:320)
	at org.camunda.optimize.service.es.writer.ElasticsearchWriterUtil.tryDeleteByQueryRequest(ElasticsearchWriterUtil.java:244)
	... 115 common frames omitted
Caused by: org.apache.http.ConnectionClosedException: Connection is closed
	at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.endOfInput(HttpAsyncRequestExecutor.java:356)
	at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:261)
	at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81)
	at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39)
	at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:114)
	at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276)
	at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
	at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:591)
	... 1 common frames omitted
04:04:57.036 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:551735) on 1 event process instance events by ID: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:57.060 [qtp1406763631-136] INFO  o.c.o.s.e.writer.ExternalEventWriter - Deleting 1 events by ID.
04:04:57.066 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:551909) on external events with ID from list of size 1: 0% (total: 1, updated: 0, created: 0, deleted: 0). Completed is false
04:04:57.085 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:551909) on external events with ID from list of size 1: 100% (total: 1, updated: 0, created: 0, deleted: 1). Completed is true
04:04:57.094 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:57.094 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:57.094 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - resetting config, parsing defaultconfig and copying properties
04:04:57.097 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - done resetting config
04:04:57.097 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:57.097 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:57.124 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:57.124 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:57.125 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:57.125 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:57.126 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Resetting all MockServer expectations and logs
04:04:57.197 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - No longer using ES MockServer
04:04:57.198 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Cleaning elasticsearch...
04:04:57.316 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - All documents have been wiped out! Elasticsearch has successfully been cleaned!
04:04:57.316 [main] INFO  o.c.o.test.engine.EnginePluginClient - Start cleaning engine
04:04:57.319 [main] INFO  o.c.o.test.engine.EnginePluginClient - Finished cleaning engine
04:04:57.351 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:57.351 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:57.356 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:57.356 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:57.357 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:57.357 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:57.694 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:57.694 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:57.698 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:57.698 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:57.699 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:57.699 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:57.717 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:554779) on 6 event process instance events by ID: 0% (total: 1, updated: 0, created: 0, deleted: 0). Completed is false
04:04:57.736 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:554779) on 6 event process instance events by ID: 100% (total: 1, updated: 1, created: 0, deleted: 0). Completed is true
04:04:57.740 [qtp1406763631-45] INFO  o.c.o.s.e.writer.ExternalEventWriter - Deleting 6 events by ID.
04:04:57.741 [qtp1406763631-45] ERROR o.c.o.s.e.w.ElasticsearchWriterUtil - Could not create delete task for [external events with ID from list of size 6] with query [{
  "bool" : {
    "filter" : [
      {
        "terms" : {
          "id" : [
            "d911c7dc-b6f4-4e8e-8b8e-c23de5b9f1e0traceIdOne",
            "b9e4a277-3464-4641-89cf-059a470ff4bftraceIdOne",
            "a4c6f9bc-93f2-4924-b2e2-683398440289traceIdOne",
            "c7775ed6-d969-4f67-8073-cf11352b6743traceIdOne",
            "b7f8782d-4109-45cc-bc65-66d707148d00traceIdOne",
            "4bc93814-75bb-42a2-942b-fd24434cf31ctraceIdOne"
          ],
          "boost" : 1.0
        }
      }
    ],
    "adjust_pure_negative" : true,
    "boost" : 1.0
  }
}]!
org.apache.http.ConnectionClosedException: Connection is closed
	at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:855)
	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:275)
	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:262)
	at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1628)
	at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1598)
	at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1568)
	at org.elasticsearch.client.RestHighLevelClient.submitDeleteByQueryTask(RestHighLevelClient.java:659)
	at org.camunda.optimize.service.es.OptimizeElasticsearchClient.submitDeleteTask(OptimizeElasticsearchClient.java:320)
	at org.camunda.optimize.service.es.writer.ElasticsearchWriterUtil.tryDeleteByQueryRequest(ElasticsearchWriterUtil.java:244)
	at org.camunda.optimize.service.es.writer.ExternalEventWriter.deleteEventsWithIdsIn(ExternalEventWriter.java:102)
	at org.camunda.optimize.service.events.ExternalEventService.deleteEvents(ExternalEventService.java:80)
	at org.camunda.optimize.rest.EventRestService.deleteEvents(EventRestService.java:90)
	at jdk.internal.reflect.GeneratedMethodAccessor1511.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:159)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:475)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:397)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:81)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:255)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:234)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:684)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
	at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1631)
	at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:228)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:327)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:115)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:81)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.camunda.optimize.rest.security.AuthenticationCookieRefreshFilter.doFilter(AuthenticationCookieRefreshFilter.java:65)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126)
	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter.doFilter(AbstractPreAuthenticatedProcessingFilter.java:142)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.camunda.optimize.rest.security.SingleSignOnRequestFilter.doFilter(SingleSignOnRequestFilter.java:58)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90)
	at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110)
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:211)
	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:183)
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.camunda.optimize.jetty.NoCachingFilter.doFilter(NoCachingFilter.java:46)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.camunda.optimize.jetty.LicenseFilter.doFilter(LicenseFilter.java:71)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:713)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:322)
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:516)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:400)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:645)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:392)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: org.apache.http.ConnectionClosedException: Connection is closed
	at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.endOfInput(HttpAsyncRequestExecutor.java:356)
	at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:261)
	at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81)
	at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39)
	at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:114)
	at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276)
	at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
	at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:591)
	... 1 common frames omitted
04:04:57.741 [qtp1406763631-45] ERROR o.c.o.r.p.GenericExceptionMapper - Mapping generic REST error
org.camunda.optimize.service.exceptions.OptimizeRuntimeException: Could not create delete task for [external events with ID from list of size 6] with query [{
  "bool" : {
    "filter" : [
      {
        "terms" : {
          "id" : [
            "d911c7dc-b6f4-4e8e-8b8e-c23de5b9f1e0traceIdOne",
            "b9e4a277-3464-4641-89cf-059a470ff4bftraceIdOne",
            "a4c6f9bc-93f2-4924-b2e2-683398440289traceIdOne",
            "c7775ed6-d969-4f67-8073-cf11352b6743traceIdOne",
            "b7f8782d-4109-45cc-bc65-66d707148d00traceIdOne",
            "4bc93814-75bb-42a2-942b-fd24434cf31ctraceIdOne"
          ],
          "boost" : 1.0
        }
      }
    ],
    "adjust_pure_negative" : true,
    "boost" : 1.0
  }
}]!
	at org.camunda.optimize.service.es.writer.ElasticsearchWriterUtil.tryDeleteByQueryRequest(ElasticsearchWriterUtil.java:252)
	at org.camunda.optimize.service.es.writer.ExternalEventWriter.deleteEventsWithIdsIn(ExternalEventWriter.java:102)
	at org.camunda.optimize.service.events.ExternalEventService.deleteEvents(ExternalEventService.java:80)
	at org.camunda.optimize.rest.EventRestService.deleteEvents(EventRestService.java:90)
	at jdk.internal.reflect.GeneratedMethodAccessor1511.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:159)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:475)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:397)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:81)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:255)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:234)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:684)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
	at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1631)
	at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:228)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:327)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:115)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:81)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.camunda.optimize.rest.security.AuthenticationCookieRefreshFilter.doFilter(AuthenticationCookieRefreshFilter.java:65)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126)
	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter.doFilter(AbstractPreAuthenticatedProcessingFilter.java:142)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.camunda.optimize.rest.security.SingleSignOnRequestFilter.doFilter(SingleSignOnRequestFilter.java:58)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90)
	at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110)
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
	at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:211)
	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:183)
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.camunda.optimize.jetty.NoCachingFilter.doFilter(NoCachingFilter.java:46)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.camunda.optimize.jetty.LicenseFilter.doFilter(LicenseFilter.java:71)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:713)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:322)
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:516)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:400)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:645)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:392)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: org.apache.http.ConnectionClosedException: Connection is closed
	at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:855)
	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:275)
	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:262)
	at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1628)
	at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1598)
	at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1568)
	at org.elasticsearch.client.RestHighLevelClient.submitDeleteByQueryTask(RestHighLevelClient.java:659)
	at org.camunda.optimize.service.es.OptimizeElasticsearchClient.submitDeleteTask(OptimizeElasticsearchClient.java:320)
	at org.camunda.optimize.service.es.writer.ElasticsearchWriterUtil.tryDeleteByQueryRequest(ElasticsearchWriterUtil.java:244)
	... 114 common frames omitted
Caused by: org.apache.http.ConnectionClosedException: Connection is closed
	at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.endOfInput(HttpAsyncRequestExecutor.java:356)
	at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:261)
	at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81)
	at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39)
	at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:114)
	at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276)
	at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
	at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:591)
	... 1 common frames omitted
04:04:57.758 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:554823) on 6 event process instance events by ID: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:57.784 [qtp1406763631-136] INFO  o.c.o.s.e.writer.ExternalEventWriter - Deleting 6 events by ID.
04:04:57.791 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:554843) on external events with ID from list of size 6: 0% (total: 6, updated: 0, created: 0, deleted: 0). Completed is false
04:04:57.812 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:554843) on external events with ID from list of size 6: 100% (total: 6, updated: 0, created: 0, deleted: 6). Completed is true
04:04:57.822 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:57.822 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:57.822 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - resetting config, parsing defaultconfig and copying properties
04:04:57.825 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - done resetting config
04:04:57.825 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:57.825 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:57.848 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:57.848 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:57.848 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:57.848 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:57.849 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Resetting all MockServer expectations and logs
04:04:57.925 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - No longer using ES MockServer
04:04:57.926 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Cleaning elasticsearch...
04:04:58.010 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - All documents have been wiped out! Elasticsearch has successfully been cleaned!
04:04:58.010 [main] INFO  o.c.o.test.engine.EnginePluginClient - Start cleaning engine
04:04:58.013 [main] INFO  o.c.o.test.engine.EnginePluginClient - Finished cleaning engine
04:04:58.046 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:58.046 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:58.050 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:58.050 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:58.051 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:58.051 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:58.340 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:557974) on 1 event process instance events by ID: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:58.358 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:557974) on 1 event process instance events by ID: 100% (total: 1, updated: 1, created: 0, deleted: 0). Completed is true
04:04:58.361 [qtp1406763631-45] INFO  o.c.o.s.e.writer.ExternalEventWriter - Deleting 1 events by ID.
04:04:58.364 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:558004) on external events with ID from list of size 1: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:58.382 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:558004) on external events with ID from list of size 1: 100% (total: 1, updated: 0, created: 0, deleted: 1). Completed is true
04:04:58.391 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:558057) on 1 event process instance events by ID: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:58.413 [qtp1406763631-136] INFO  o.c.o.s.e.writer.ExternalEventWriter - Deleting 1 events by ID.
04:04:58.416 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:558081) on external events with ID from list of size 1: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:58.438 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:58.438 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:58.438 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - resetting config, parsing defaultconfig and copying properties
04:04:58.440 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - done resetting config
04:04:58.441 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:58.441 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:58.446 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:58.446 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:58.446 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:58.446 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:58.448 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Cleaning elasticsearch...
04:04:58.532 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - All documents have been wiped out! Elasticsearch has successfully been cleaned!
04:04:58.532 [main] INFO  o.c.o.test.engine.EnginePluginClient - Start cleaning engine
04:04:58.535 [main] INFO  o.c.o.test.engine.EnginePluginClient - Finished cleaning engine
04:04:58.569 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:58.569 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:58.573 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:58.573 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:58.574 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:58.574 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:58.777 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:58.777 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:58.778 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - resetting config, parsing defaultconfig and copying properties
04:04:58.780 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - done resetting config
04:04:58.781 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:58.781 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:58.785 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:58.785 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:58.786 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:58.786 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:58.787 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Cleaning elasticsearch...
04:04:58.840 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - All documents have been wiped out! Elasticsearch has successfully been cleaned!
04:04:58.840 [main] INFO  o.c.o.test.engine.EnginePluginClient - Start cleaning engine
04:04:58.844 [main] INFO  o.c.o.test.engine.EnginePluginClient - Finished cleaning engine
04:04:58.876 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:58.876 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:58.881 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:58.881 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:58.881 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:58.881 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:59.088 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:561968) on 1 event process instance events by ID: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:59.112 [qtp1406763631-136] INFO  o.c.o.s.e.writer.ExternalEventWriter - Deleting 1 events by ID.
04:04:59.116 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:561987) on external events with ID from list of size 1: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:59.142 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:561987) on external events with ID from list of size 1: 100% (total: 1, updated: 0, created: 0, deleted: 1). Completed is true
04:04:59.147 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:59.147 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:59.147 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - resetting config, parsing defaultconfig and copying properties
04:04:59.150 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - done resetting config
04:04:59.150 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:59.150 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:59.155 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:59.155 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:59.156 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:59.156 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:59.158 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Cleaning elasticsearch...
04:04:59.207 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - All documents have been wiped out! Elasticsearch has successfully been cleaned!
04:04:59.207 [main] INFO  o.c.o.test.engine.EnginePluginClient - Start cleaning engine
04:04:59.212 [main] INFO  o.c.o.test.engine.EnginePluginClient - Finished cleaning engine
04:04:59.252 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:59.252 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:59.258 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:59.258 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:59.259 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:59.259 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:59.599 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:564932) on 1 event process instance events by ID: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:59.617 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:564932) on 1 event process instance events by ID: 100% (total: 1, updated: 1, created: 0, deleted: 0). Completed is true
04:04:59.620 [qtp1406763631-45] INFO  o.c.o.s.e.writer.ExternalEventWriter - Deleting 1 events by ID.
04:04:59.625 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:564960) on external events with ID from list of size 1: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:04:59.643 [qtp1406763631-45] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:564960) on external events with ID from list of size 1: 100% (total: 1, updated: 0, created: 0, deleted: 1). Completed is true
04:04:59.648 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:59.648 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:59.648 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - resetting config, parsing defaultconfig and copying properties
04:04:59.652 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - done resetting config
04:04:59.653 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:59.653 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:59.658 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:59.658 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:59.659 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:59.659 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:04:59.661 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Cleaning elasticsearch...
04:04:59.756 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - All documents have been wiped out! Elasticsearch has successfully been cleaned!
04:04:59.756 [main] INFO  o.c.o.test.engine.EnginePluginClient - Start cleaning engine
04:04:59.760 [main] INFO  o.c.o.test.engine.EnginePluginClient - Finished cleaning engine
04:04:59.795 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:04:59.795 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:04:59.800 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:04:59.800 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:04:59.801 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:04:59.801 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:05:00.098 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:567173) on 1 event process instance events by ID: 0% (total: 1, updated: 0, created: 0, deleted: 0). Completed is false
04:05:00.117 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:567173) on 1 event process instance events by ID: 100% (total: 1, updated: 1, created: 0, deleted: 0). Completed is true
04:05:00.120 [qtp1406763631-136] INFO  o.c.o.s.e.writer.ExternalEventWriter - Deleting 1 events by ID.
04:05:00.123 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:567374) on external events with ID from list of size 1: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:05:00.142 [qtp1406763631-136] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:567374) on external events with ID from list of size 1: 100% (total: 1, updated: 0, created: 0, deleted: 1). Completed is true
04:05:00.148 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:05:00.148 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:05:00.148 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - resetting config, parsing defaultconfig and copying properties
04:05:00.151 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - done resetting config
04:05:00.152 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:05:00.152 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:05:00.156 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:05:00.156 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:05:00.157 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:05:00.157 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:05:00.159 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - Cleaning elasticsearch...
04:05:00.251 [main] INFO  o.c.o.t.i.e.ElasticSearchIntegrationTestExtension - All documents have been wiped out! Elasticsearch has successfully been cleaned!
04:05:00.251 [main] INFO  o.c.o.test.engine.EnginePluginClient - Start cleaning engine
04:05:00.255 [main] INFO  o.c.o.test.engine.EnginePluginClient - Finished cleaning engine
04:05:00.290 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:05:00.290 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:05:00.295 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:05:00.295 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:05:00.296 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:05:00.296 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:05:00.525 [qtp1406763631-45] WARN  o.c.o.r.p.ForbiddenExceptionMapper - Mapping ForbiddenException
04:05:00.526 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:05:00.526 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:05:00.526 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - resetting config, parsing defaultconfig and copying properties
04:05:00.529 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - done resetting config
04:05:00.530 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:05:00.530 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:05:00.534 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:05:00.534 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:05:00.535 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:05:00.535 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
