SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/camunda.jar!/BOOT-INF/lib/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/camunda.jar!/BOOT-INF/lib/slf4j-jdk14-1.7.13.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder] 2019-12-18 03:30:02.337 ERROR 1 --- [ main] o.s.b.c.l.LoggingApplicationListener : Cannot set level '' for 'org.camunda.bpm.engine' 2019-12-18 03:30:06.361 INFO 1 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$2240d861] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-12-18 03:30:07.945 ERROR 1 --- [ main] o.s.b.c.l.LoggingApplicationListener : Cannot set level '' for 'org.camunda.bpm.engine' ____ _ ____ ____ __ __ / ___| __ _ _ __ ___ _ _ _ __ __| | __ _ | __ )| _ \| \/ | | | / _` | '_ ` _ \| | | | '_ \ / _` |/ _` | | _ \| |_) | |\/| | | |__| (_| | | | | | | |_| | | | | (_| | (_| | | |_) | __/| | | | \____/\__,_|_| |_| |_|\__,_|_| |_|\__,_|\__,_| |____/|_| |_| |_| Spring-Boot: (v2.1.5.RELEASE) Camunda BPM: (v7.11.0) Camunda BPM Spring Boot Starter: (v3.3.2) 2019-12-18 03:30:08.255 INFO 1 --- [ main] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at : http://localhost:8888 2019-12-18 03:30:09.091 INFO 1 --- [ main] c.c.c.ConfigServicePropertySourceLocator : Connect Timeout Exception on Url - http://localhost:8888. Will be trying the next url if available 2019-12-18 03:30:09.093 WARN 1 --- [ main] c.c.c.ConfigServicePropertySourceLocator : Could not locate PropertySource: I/O error on GET request for "http://localhost:8888/application/default": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) 2019-12-18 03:30:09.129 INFO 1 --- [ main] com.tomtom.flow.CamundaApplication : No active profile set, falling back to default profiles: default 2019-12-18 03:30:24.063 INFO 1 --- [ main] o.s.cloud.context.scope.GenericScope : BeanFactory id=0b38c722-33ef-3f04-9679-7d7de004bad8 2019-12-18 03:30:24.459 INFO 1 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'com.tomtom.flow.client.FlowClient' of type [org.springframework.cloud.openfeign.FeignClientFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-12-18 03:30:25.253 INFO 1 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$626d564] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-12-18 03:30:25.469 INFO 1 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$2240d861] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-12-18 03:30:27.318 INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) 2019-12-18 03:30:27.364 INFO 1 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2019-12-18 03:30:27.364 INFO 1 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.19] 2019-12-18 03:30:27.698 INFO 1 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2019-12-18 03:30:27.709 INFO 1 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 18494 ms 2019-12-18 03:30:27.802 INFO 1 --- [ main] .c.b.s.b.s.r.CamundaJerseyResourceConfig : Configuring camunda rest api. 2019-12-18 03:30:27.919 INFO 1 --- [ main] .c.b.s.b.s.r.CamundaJerseyResourceConfig : Finished configuring camunda rest api. 2019-12-18 03:30:30.576 INFO 1 --- [ main] org.camunda.bpm.spring.boot : STARTER-SB040 Setting up jobExecutor with corePoolSize=3, maxPoolSize:10 2019-12-18 03:30:30.590 INFO 1 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'camundaTaskExecutor' 2019-12-18 03:30:31.122 INFO 1 --- [ main] org.camunda.bpm.engine.cfg : ENGINE-12003 Plugin 'CompositeProcessEnginePlugin[genericPropertiesConfiguration, camundaProcessEngineConfiguration, camundaDatasourceConfiguration, camundaJobConfiguration, camundaHistoryConfiguration, camundaMetricsConfiguration, camundaAuthorizationConfiguration, CreateAdminUserConfiguration[adminUser=AdminUserProperty[id=admin, firstName=admin, lastName=admin, email=milind.chawre@tomtom.com, password=******]], failedJobConfiguration, CreateFilterConfiguration[filterName=All tasks], disableDeploymentResourcePattern, eventPublisherPlugin]' activated on process engine 'default' 2019-12-18 03:30:31.292 INFO 1 --- [ main] org.camunda.bpm.spring.boot : STARTER-SB020 ProcessApplication enabled: autoDeployment via springConfiguration#deploymentResourcePattern is disabled 2019-12-18 03:30:31.304 INFO 1 --- [ main] o.c.b.s.b.s.event.EventPublisherPlugin : EVENTING-001: Initialized Camunda Spring Boot Eventing Engine Plugin. 2019-12-18 03:30:31.304 INFO 1 --- [ main] o.c.b.s.b.s.event.EventPublisherPlugin : EVENTING-003: Task events will be published as Spring Events. 2019-12-18 03:30:31.305 INFO 1 --- [ main] o.c.b.s.b.s.event.EventPublisherPlugin : EVENTING-005: Execution events will be published as Spring Events. 2019-12-18 03:30:31.331 INFO 1 --- [ main] o.c.b.s.b.s.event.EventPublisherPlugin : EVENTING-007: History events will be published as Spring events. WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.apache.ibatis.reflection.Reflector (jar:file:/camunda.jar!/BOOT-INF/lib/mybatis-3.4.4.jar!/) to method java.lang.Object.finalize() WARNING: Please consider reporting this to the maintainers of org.apache.ibatis.reflection.Reflector WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 2019-12-18 03:30:45.278 INFO 1 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2019-12-18 03:30:46.267 INFO 1 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2019-12-18 03:30:47.277 INFO 1 --- [ main] org.camunda.bpm.engine : ENGINE-00001 Process Engine default created. 2019-12-18 03:30:47.452 INFO 1 --- [ main] org.camunda.bpm.spring.boot : STARTER-SB011 skip creating initial Admin User, user does exist: UserEntity[id=admin, revision=30, firstName=admin, lastName=admin, email=milind.chawre@tomtom.com, password={SHA-512}C4DCNmJfy/VCskRvUINyzuqPeM+66F4wKUDSyZl68ZlXmYnwtWvpq0DjBdJr00y6twe64Ji/vGxxS3zQpsUkHQ==, salt=UdRW9PL5xTYwkDeA4ql7Wg==, lockExpirationTime=null, attempts=0] 2019-12-18 03:30:49.445 WARN 1 --- [ main] o.s.c.n.a.ArchaiusAutoConfiguration : No spring.application.name found, defaulting to 'application' 2019-12-18 03:30:49.457 WARN 1 --- [ main] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources. 2019-12-18 03:30:49.457 INFO 1 --- [ main] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath. 2019-12-18 03:30:49.475 WARN 1 --- [ main] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources. 2019-12-18 03:30:49.475 INFO 1 --- [ main] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath. 2019-12-18 03:30:51.855 INFO 1 --- [ main] o.c.b.s.b.s.w.f.LazyInitRegistration : lazy initialized org.camunda.bpm.spring.boot.starter.webapp.filter.LazyProcessEnginesFilter@4dac121d 2019-12-18 03:30:52.009 INFO 1 --- [ main] o.c.b.s.b.s.w.f.LazyInitRegistration : lazy initialized org.camunda.bpm.spring.boot.starter.webapp.filter.LazySecurityFilter@3e28fee1 2019-12-18 03:30:52.602 INFO 1 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 16 endpoint(s) beneath base path '/actuator' 2019-12-18 03:30:52.967 INFO 1 --- [ main] org.camunda.bpm.container : ENGINE-08026 No processes.xml file found in process application 'camundaApplication' 2019-12-18 03:30:52.987 INFO 1 --- [ main] org.camunda.bpm.container : ENGINE-08050 Process application camundaApplication successfully deployed 2019-12-18 03:30:53.172 INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' 2019-12-18 03:30:53.189 INFO 1 --- [ main] com.tomtom.flow.CamundaApplication : Started CamundaApplication in 54.832 seconds (JVM running for 59.855) 2019-12-18 03:30:53.296 INFO 1 --- [ main] org.camunda.bpm.engine.jobexecutor : ENGINE-14014 Starting up the JobExecutor[org.camunda.bpm.engine.spring.components.jobexecutor.SpringJobExecutor]. 2019-12-18 03:30:53.316 INFO 1 --- [ingJobExecutor]] org.camunda.bpm.engine.jobexecutor : ENGINE-14018 JobExecutor[org.camunda.bpm.engine.spring.components.jobexecutor.SpringJobExecutor] starting to acquire jobs 2019-12-18 03:31:03.420 INFO 1 --- [nio-8080-exec-9] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2019-12-18 03:31:03.421 INFO 1 --- [nio-8080-exec-9] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2019-12-18 03:31:03.500 INFO 1 --- [nio-8080-exec-9] o.s.web.servlet.DispatcherServlet : Completed initialization in 79 ms Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release 2019-12-18 08:32:54.505 WARN 1 --- [nio-8080-exec-6] o.glassfish.jersey.servlet.WebComponent : A servlet request to the URI http://camunda-dev.workflow.maps-concept-development.amiefarm.com/api/admin/auth/user/default/login/welcome contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected. 2019-12-18 08:47:17.618 ERROR 1 --- [nio-8080-exec-7] org.camunda.bpm.engine.context : ENGINE-16004 Exception while closing command context: ENGINE-03083 Exception while executing Batch Database Operations with message ' ### Error flushing statements. Cause: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.deleteExecution (batch index #10) failed. 9 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '3d820191-2172-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. ### Cause: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.deleteExecution (batch index #10) failed. 9 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '3d820191-2172-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '3d820191-2172-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. org.postgresql.util.PSQLException: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". org.postgresql.util.PSQLException: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". '. Flush summary: [ INSERT HistoricVariableInstanceEntity[feec03d7-2172-11ea-ae64-6297474a9cc6] INSERT HistoricVariableInstanceEntity[feec2ae9-2172-11ea-ae64-6297474a9cc6] INSERT HistoricVariableInstanceEntity[feec2aeb-2172-11ea-ae64-6297474a9cc6] INSERT HistoricVariableInstanceEntity[feec2aed-2172-11ea-ae64-6297474a9cc6] INSERT HistoricVariableUpdateEventEntity[feec2ae8-2172-11ea-ae64-6297474a9cc6] INSERT HistoricVariableUpdateEventEntity[feec2aea-2172-11ea-ae64-6297474a9cc6] INSERT HistoricVariableUpdateEventEntity[feec2aec-2172-11ea-ae64-6297474a9cc6] INSERT HistoricVariableUpdateEventEntity[feec2aee-2172-11ea-ae64-6297474a9cc6] INSERT HistoricExternalTaskLogEntity[feee26bf-2172-11ea-ae64-6297474a9cc6] INSERT HistoricExternalTaskLogEntity[fef13403-2172-11ea-ae64-6297474a9cc6] INSERT HistoricActivityInstanceEventEntity[Task_0slykjj:fef13401-2172-11ea-ae64-6297474a9cc6] INSERT ExecutionEntity[fef13400-2172-11ea-ae64-6297474a9cc6] INSERT VariableInstanceEntity[feec03d7-2172-11ea-ae64-6297474a9cc6] INSERT VariableInstanceEntity[feec2ae9-2172-11ea-ae64-6297474a9cc6] INSERT VariableInstanceEntity[feec2aeb-2172-11ea-ae64-6297474a9cc6] INSERT VariableInstanceEntity[feec2aed-2172-11ea-ae64-6297474a9cc6] INSERT ExternalTaskEntity[fef13402-2172-11ea-ae64-6297474a9cc6] DELETE ExternalTaskEntity[3d820193-2172-11ea-ae64-6297474a9cc6] UPDATE ExecutionEntity[fd4e6ba3-2170-11ea-a57f-bead4740b828] DELETE ExecutionEntity[3d820191-2172-11ea-ae64-6297474a9cc6] UPDATE HistoricActivityInstanceEventEntity[Task_1ywtn7a:3d820192-2172-11ea-ae64-6297474a9cc6] ] org.camunda.bpm.engine.ProcessEngineException: ENGINE-03083 Exception while executing Batch Database Operations with message ' ### Error flushing statements. Cause: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.deleteExecution (batch index #10) failed. 9 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '3d820191-2172-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. ### Cause: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.deleteExecution (batch index #10) failed. 9 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '3d820191-2172-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '3d820191-2172-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. org.postgresql.util.PSQLException: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". org.postgresql.util.PSQLException: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". '. Flush summary: [ INSERT HistoricVariableInstanceEntity[feec03d7-2172-11ea-ae64-6297474a9cc6] INSERT HistoricVariableInstanceEntity[feec2ae9-2172-11ea-ae64-6297474a9cc6] INSERT HistoricVariableInstanceEntity[feec2aeb-2172-11ea-ae64-6297474a9cc6] INSERT HistoricVariableInstanceEntity[feec2aed-2172-11ea-ae64-6297474a9cc6] INSERT HistoricVariableUpdateEventEntity[feec2ae8-2172-11ea-ae64-6297474a9cc6] INSERT HistoricVariableUpdateEventEntity[feec2aea-2172-11ea-ae64-6297474a9cc6] INSERT HistoricVariableUpdateEventEntity[feec2aec-2172-11ea-ae64-6297474a9cc6] INSERT HistoricVariableUpdateEventEntity[feec2aee-2172-11ea-ae64-6297474a9cc6] INSERT HistoricExternalTaskLogEntity[feee26bf-2172-11ea-ae64-6297474a9cc6] INSERT HistoricExternalTaskLogEntity[fef13403-2172-11ea-ae64-6297474a9cc6] INSERT HistoricActivityInstanceEventEntity[Task_0slykjj:fef13401-2172-11ea-ae64-6297474a9cc6] INSERT ExecutionEntity[fef13400-2172-11ea-ae64-6297474a9cc6] INSERT VariableInstanceEntity[feec03d7-2172-11ea-ae64-6297474a9cc6] INSERT VariableInstanceEntity[feec2ae9-2172-11ea-ae64-6297474a9cc6] INSERT VariableInstanceEntity[feec2aeb-2172-11ea-ae64-6297474a9cc6] INSERT VariableInstanceEntity[feec2aed-2172-11ea-ae64-6297474a9cc6] INSERT ExternalTaskEntity[fef13402-2172-11ea-ae64-6297474a9cc6] DELETE ExternalTaskEntity[3d820193-2172-11ea-ae64-6297474a9cc6] UPDATE ExecutionEntity[fd4e6ba3-2170-11ea-a57f-bead4740b828] DELETE ExecutionEntity[3d820191-2172-11ea-ae64-6297474a9cc6] UPDATE HistoricActivityInstanceEventEntity[Task_1ywtn7a:3d820192-2172-11ea-ae64-6297474a9cc6] ] at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.flushDbOperationsException(EnginePersistenceLogger.java:693) ~[camunda-engine-7.11.0.jar!/:7.11.0] at org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.flushDbOperations(DbEntityManager.java:362) ~[camunda-engine-7.11.0.jar!/:7.11.0] at org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.flushDbOperationManager(DbEntityManager.java:325) ~[camunda-engine-7.11.0.jar!/:7.11.0] at org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.flush(DbEntityManager.java:297) ~[camunda-engine-7.11.0.jar!/:7.11.0] at org.camunda.bpm.engine.impl.interceptor.CommandContext.flushSessions(CommandContext.java:208) ~[camunda-engine-7.11.0.jar!/:7.11.0] at org.camunda.bpm.engine.impl.interceptor.CommandContext.close(CommandContext.java:137) ~[camunda-engine-7.11.0.jar!/:7.11.0] at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:116) ~[camunda-engine-7.11.0.jar!/:7.11.0] at org.camunda.bpm.engine.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:46) ~[camunda-engine-spring-7.11.0.jar!/:7.11.0] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) ~[spring-tx-5.1.7.RELEASE.jar!/:5.1.7.RELEASE] at org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:44) ~[camunda-engine-spring-7.11.0.jar!/:7.11.0] at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70) ~[camunda-engine-7.11.0.jar!/:7.11.0] at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) ~[camunda-engine-7.11.0.jar!/:7.11.0] at org.camunda.bpm.engine.impl.ExternalTaskServiceImpl.complete(ExternalTaskServiceImpl.java:56) ~[camunda-engine-7.11.0.jar!/:7.11.0] at org.camunda.bpm.engine.rest.sub.externaltask.impl.ExternalTaskResourceImpl.complete(ExternalTaskResourceImpl.java:118) ~[camunda-engine-rest-core-7.11.0.jar!/:7.11.0] at jdk.internal.reflect.GeneratedMethodAccessor368.invoke(Unknown Source) ~[na:na] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na] at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na] at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:76) ~[jersey-server-2.27.jar!/:na] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:148) ~[jersey-server-2.27.jar!/:na] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:191) ~[jersey-server-2.27.jar!/:na] at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:183) ~[jersey-server-2.27.jar!/:na] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:103) ~[jersey-server-2.27.jar!/:na] at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:493) ~[jersey-server-2.27.jar!/:na] at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:415) ~[jersey-server-2.27.jar!/:na] at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:104) ~[jersey-server-2.27.jar!/:na] at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:277) ~[jersey-server-2.27.jar!/:na] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:272) ~[jersey-common-2.27.jar!/:na] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:268) ~[jersey-common-2.27.jar!/:na] at org.glassfish.jersey.internal.Errors.process(Errors.java:316) ~[jersey-common-2.27.jar!/:na] at org.glassfish.jersey.internal.Errors.process(Errors.java:298) ~[jersey-common-2.27.jar!/:na] at org.glassfish.jersey.internal.Errors.process(Errors.java:268) ~[jersey-common-2.27.jar!/:na] at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:289) ~[jersey-common-2.27.jar!/:na] at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:256) ~[jersey-server-2.27.jar!/:na] at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:703) ~[jersey-server-2.27.jar!/:na] at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:416) ~[jersey-container-servlet-core-2.27.jar!/:na] at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:370) ~[jersey-container-servlet-core-2.27.jar!/:na] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:389) ~[jersey-container-servlet-core-2.27.jar!/:na] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:342) ~[jersey-container-servlet-core-2.27.jar!/:na] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:229) ~[jersey-container-servlet-core-2.27.jar!/:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.camunda.bpm.engine.rest.filter.CacheControlFilter.doFilter(CacheControlFilter.java:45) ~[camunda-engine-rest-core-7.11.0.jar!/:7.11.0] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.camunda.bpm.engine.rest.filter.EmptyBodyFilter.doFilter(EmptyBodyFilter.java:99) ~[camunda-engine-rest-core-7.11.0.jar!/:7.11.0] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter.doFilterInternal(HttpTraceFilter.java:90) ~[spring-boot-actuator-2.1.5.RELEASE.jar!/:2.1.5.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.7.RELEASE.jar!/:5.1.7.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) ~[spring-web-5.1.7.RELEASE.jar!/:5.1.7.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.7.RELEASE.jar!/:5.1.7.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) ~[spring-web-5.1.7.RELEASE.jar!/:5.1.7.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.7.RELEASE.jar!/:5.1.7.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) ~[spring-web-5.1.7.RELEASE.jar!/:5.1.7.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.7.RELEASE.jar!/:5.1.7.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMetrics(WebMvcMetricsFilter.java:117) ~[spring-boot-actuator-2.1.5.RELEASE.jar!/:2.1.5.RELEASE] at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:106) ~[spring-boot-actuator-2.1.5.RELEASE.jar!/:2.1.5.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.7.RELEASE.jar!/:5.1.7.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) ~[spring-web-5.1.7.RELEASE.jar!/:5.1.7.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.7.RELEASE.jar!/:5.1.7.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:836) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1747) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na] Caused by: org.apache.ibatis.exceptions.PersistenceException: ### Error flushing statements. Cause: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.deleteExecution (batch index #10) failed. 9 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '3d820191-2172-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. ### Cause: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.deleteExecution (batch index #10) failed. 9 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '3d820191-2172-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) ~[mybatis-3.4.4.jar!/:3.4.4] at org.apache.ibatis.session.defaults.DefaultSqlSession.flushStatements(DefaultSqlSession.java:255) ~[mybatis-3.4.4.jar!/:3.4.4] at org.camunda.bpm.engine.impl.db.sql.DbSqlSession.flushOperations(DbSqlSession.java:90) ~[camunda-engine-7.11.0.jar!/:7.11.0] at org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.flushDbOperations(DbEntityManager.java:357) ~[camunda-engine-7.11.0.jar!/:7.11.0] ... 89 common frames omitted Caused by: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.deleteExecution (batch index #10) failed. 9 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '3d820191-2172-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. at org.apache.ibatis.executor.BatchExecutor.doFlushStatements(BatchExecutor.java:146) ~[mybatis-3.4.4.jar!/:3.4.4] at org.apache.ibatis.executor.BaseExecutor.flushStatements(BaseExecutor.java:129) ~[mybatis-3.4.4.jar!/:3.4.4] at org.apache.ibatis.executor.BaseExecutor.flushStatements(BaseExecutor.java:122) ~[mybatis-3.4.4.jar!/:3.4.4] at org.apache.ibatis.executor.CachingExecutor.flushStatements(CachingExecutor.java:114) ~[mybatis-3.4.4.jar!/:3.4.4] at org.apache.ibatis.session.defaults.DefaultSqlSession.flushStatements(DefaultSqlSession.java:253) ~[mybatis-3.4.4.jar!/:3.4.4] ... 91 common frames omitted Caused by: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '3d820191-2172-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148) ~[postgresql-42.2.5.jar!/:42.2.5] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2184) ~[postgresql-42.2.5.jar!/:42.2.5] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:481) ~[postgresql-42.2.5.jar!/:42.2.5] at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:840) ~[postgresql-42.2.5.jar!/:42.2.5] at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1538) ~[postgresql-42.2.5.jar!/:42.2.5] at com.zaxxer.hikari.pool.ProxyStatement.executeBatch(ProxyStatement.java:128) ~[HikariCP-3.2.0.jar!/:na] at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeBatch(HikariProxyPreparedStatement.java) ~[HikariCP-3.2.0.jar!/:na] at org.apache.ibatis.executor.BatchExecutor.doFlushStatements(BatchExecutor.java:122) ~[mybatis-3.4.4.jar!/:3.4.4] ... 95 common frames omitted Caused by: org.postgresql.util.PSQLException: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440) ~[postgresql-42.2.5.jar!/:42.2.5] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183) ~[postgresql-42.2.5.jar!/:42.2.5] ... 101 common frames omitted 2019-12-18 08:47:17.635 WARN 1 --- [nio-8080-exec-7] ExceptionHandler : org.camunda.bpm.engine.ProcessEngineException: ENGINE-03083 Exception while executing Batch Database Operations with message ' ### Error flushing statements. Cause: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.deleteExecution (batch index #10) failed. 9 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '3d820191-2172-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. ### Cause: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.deleteExecution (batch index #10) failed. 9 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '3d820191-2172-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '3d820191-2172-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. org.postgresql.util.PSQLException: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". org.postgresql.util.PSQLException: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". '. Flush summary: [ INSERT HistoricVariableInstanceEntity[feec03d7-2172-11ea-ae64-6297474a9cc6] INSERT HistoricVariableInstanceEntity[feec2ae9-2172-11ea-ae64-6297474a9cc6] INSERT HistoricVariableInstanceEntity[feec2aeb-2172-11ea-ae64-6297474a9cc6] INSERT HistoricVariableInstanceEntity[feec2aed-2172-11ea-ae64-6297474a9cc6] INSERT HistoricVariableUpdateEventEntity[feec2ae8-2172-11ea-ae64-6297474a9cc6] INSERT HistoricVariableUpdateEventEntity[feec2aea-2172-11ea-ae64-6297474a9cc6] INSERT HistoricVariableUpdateEventEntity[feec2aec-2172-11ea-ae64-6297474a9cc6] INSERT HistoricVariableUpdateEventEntity[feec2aee-2172-11ea-ae64-6297474a9cc6] INSERT HistoricExternalTaskLogEntity[feee26bf-2172-11ea-ae64-6297474a9cc6] INSERT HistoricExternalTaskLogEntity[fef13403-2172-11ea-ae64-6297474a9cc6] INSERT HistoricActivityInstanceEventEntity[Task_0slykjj:fef13401-2172-11ea-ae64-6297474a9cc6] INSERT ExecutionEntity[fef13400-2172-11ea-ae64-6297474a9cc6] INSERT VariableInstanceEntity[feec03d7-2172-11ea-ae64-6297474a9cc6] INSERT VariableInstanceEntity[feec2ae9-2172-11ea-ae64-6297474a9cc6] INSERT VariableInstanceEntity[feec2aeb-2172-11ea-ae64-6297474a9cc6] INSERT VariableInstanceEntity[feec2aed-2172-11ea-ae64-6297474a9cc6] INSERT ExternalTaskEntity[fef13402-2172-11ea-ae64-6297474a9cc6] DELETE ExternalTaskEntity[3d820193-2172-11ea-ae64-6297474a9cc6] UPDATE ExecutionEntity[fd4e6ba3-2170-11ea-a57f-bead4740b828] DELETE ExecutionEntity[3d820191-2172-11ea-ae64-6297474a9cc6] UPDATE HistoricActivityInstanceEventEntity[Task_1ywtn7a:3d820192-2172-11ea-ae64-6297474a9cc6] ] at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.flushDbOperationsException(EnginePersistenceLogger.java:693) at org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.flushDbOperations(DbEntityManager.java:362) at org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.flushDbOperationManager(DbEntityManager.java:325) at org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.flush(DbEntityManager.java:297) at org.camunda.bpm.engine.impl.interceptor.CommandContext.flushSessions(CommandContext.java:208) at org.camunda.bpm.engine.impl.interceptor.CommandContext.close(CommandContext.java:137) at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:116) at org.camunda.bpm.engine.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:46) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) at org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:44) at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70) at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) at org.camunda.bpm.engine.impl.ExternalTaskServiceImpl.complete(ExternalTaskServiceImpl.java:56) at org.camunda.bpm.engine.rest.sub.externaltask.impl.ExternalTaskResourceImpl.complete(ExternalTaskResourceImpl.java:118) at jdk.internal.reflect.GeneratedMethodAccessor368.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:76) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:148) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:191) at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:183) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:103) at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:493) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:415) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:104) at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:277) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:272) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:268) at org.glassfish.jersey.internal.Errors.process(Errors.java:316) at org.glassfish.jersey.internal.Errors.process(Errors.java:298) at org.glassfish.jersey.internal.Errors.process(Errors.java:268) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:289) at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:256) at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:703) at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:416) at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:370) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:389) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:342) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:229) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.camunda.bpm.engine.rest.filter.CacheControlFilter.doFilter(CacheControlFilter.java:45) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.camunda.bpm.engine.rest.filter.EmptyBodyFilter.doFilter(EmptyBodyFilter.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter.doFilterInternal(HttpTraceFilter.java:90) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMetrics(WebMvcMetricsFilter.java:117) at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:106) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:836) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1747) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: org.apache.ibatis.exceptions.PersistenceException: ### Error flushing statements. Cause: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.deleteExecution (batch index #10) failed. 9 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '3d820191-2172-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. ### Cause: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.deleteExecution (batch index #10) failed. 9 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '3d820191-2172-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) at org.apache.ibatis.session.defaults.DefaultSqlSession.flushStatements(DefaultSqlSession.java:255) at org.camunda.bpm.engine.impl.db.sql.DbSqlSession.flushOperations(DbSqlSession.java:90) at org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.flushDbOperations(DbEntityManager.java:357) ... 89 more Caused by: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.deleteExecution (batch index #10) failed. 9 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '3d820191-2172-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. at org.apache.ibatis.executor.BatchExecutor.doFlushStatements(BatchExecutor.java:146) at org.apache.ibatis.executor.BaseExecutor.flushStatements(BaseExecutor.java:129) at org.apache.ibatis.executor.BaseExecutor.flushStatements(BaseExecutor.java:122) at org.apache.ibatis.executor.CachingExecutor.flushStatements(CachingExecutor.java:114) at org.apache.ibatis.session.defaults.DefaultSqlSession.flushStatements(DefaultSqlSession.java:253) ... 91 more Caused by: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '3d820191-2172-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2184) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:481) at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:840) at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1538) at com.zaxxer.hikari.pool.ProxyStatement.executeBatch(ProxyStatement.java:128) at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeBatch(HikariProxyPreparedStatement.java) at org.apache.ibatis.executor.BatchExecutor.doFlushStatements(BatchExecutor.java:122) ... 95 more Caused by: org.postgresql.util.PSQLException: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(3d820191-2172-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183) ... 101 more 2019-12-18 08:48:22.271 WARN 1 --- [nio-8080-exec-1] ExceptionHandler : org.camunda.bpm.engine.rest.exception.RestException: Cannot extend a lock that expired: lockExpirationTime is not greater than or equal to 1576658902252 at org.camunda.bpm.engine.rest.sub.externaltask.impl.ExternalTaskResourceImpl.extendLock(ExternalTaskResourceImpl.java:178) 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:76) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:148) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:191) at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:183) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:103) at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:493) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:415) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:104) at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:277) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:272) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:268) at org.glassfish.jersey.internal.Errors.process(Errors.java:316) at org.glassfish.jersey.internal.Errors.process(Errors.java:298) at org.glassfish.jersey.internal.Errors.process(Errors.java:268) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:289) at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:256) at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:703) at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:416) at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:370) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:389) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:342) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:229) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.camunda.bpm.engine.rest.filter.CacheControlFilter.doFilter(CacheControlFilter.java:45) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.camunda.bpm.engine.rest.filter.EmptyBodyFilter.doFilter(EmptyBodyFilter.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter.doFilterInternal(HttpTraceFilter.java:90) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMetrics(WebMvcMetricsFilter.java:117) at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:106) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:836) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1747) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: org.camunda.bpm.engine.BadUserRequestException: Cannot extend a lock that expired: lockExpirationTime is not greater than or equal to 1576658902252 at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) at org.camunda.bpm.engine.impl.util.EnsureUtil.generateException(EnsureUtil.java:381) at org.camunda.bpm.engine.impl.util.EnsureUtil.ensureGreaterThanOrEqual(EnsureUtil.java:192) at org.camunda.bpm.engine.impl.cmd.ExtendLockOnExternalTaskCmd.execute(ExtendLockOnExternalTaskCmd.java:46) at org.camunda.bpm.engine.impl.cmd.HandleExternalTaskCmd.execute(HandleExternalTaskCmd.java:59) at org.camunda.bpm.engine.impl.cmd.HandleExternalTaskCmd.execute(HandleExternalTaskCmd.java:31) at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:28) at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:107) at org.camunda.bpm.engine.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:46) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) at org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:44) at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70) at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) at org.camunda.bpm.engine.impl.ExternalTaskServiceImpl.extendLock(ExternalTaskServiceImpl.java:126) at org.camunda.bpm.engine.rest.sub.externaltask.impl.ExternalTaskResourceImpl.extendLock(ExternalTaskResourceImpl.java:174) ... 78 more 2019-12-18 08:49:34.317 ERROR 1 --- [io-8080-exec-10] org.camunda.bpm.engine.context : ENGINE-16004 Exception while closing command context: ENGINE-03083 Exception while executing Batch Database Operations with message ' ### Error flushing statements. Cause: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.deleteExecution (batch index #10) failed. 9 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '54d94e8d-2171-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(54d94e8d-2171-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. ### Cause: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.deleteExecution (batch index #10) failed. 9 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '54d94e8d-2171-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(54d94e8d-2171-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '54d94e8d-2171-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(54d94e8d-2171-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. org.postgresql.util.PSQLException: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(54d94e8d-2171-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". org.postgresql.util.PSQLException: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(54d94e8d-2171-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". '. Flush summary: [ INSERT HistoricVariableInstanceEntity[506986b6-2173-11ea-ae64-6297474a9cc6] INSERT HistoricVariableInstanceEntity[506986b8-2173-11ea-ae64-6297474a9cc6] INSERT HistoricVariableInstanceEntity[506986ba-2173-11ea-ae64-6297474a9cc6] INSERT HistoricVariableInstanceEntity[506986bc-2173-11ea-ae64-6297474a9cc6] INSERT HistoricVariableUpdateEventEntity[506986b7-2173-11ea-ae64-6297474a9cc6] INSERT HistoricVariableUpdateEventEntity[506986b9-2173-11ea-ae64-6297474a9cc6] INSERT HistoricVariableUpdateEventEntity[506986bb-2173-11ea-ae64-6297474a9cc6] INSERT HistoricVariableUpdateEventEntity[506986bd-2173-11ea-ae64-6297474a9cc6] INSERT HistoricExternalTaskLogEntity[5069fbee-2173-11ea-ae64-6297474a9cc6] INSERT HistoricExternalTaskLogEntity[506d3042-2173-11ea-ae64-6297474a9cc6] INSERT HistoricActivityInstanceEventEntity[Task_0slykjj:506d3040-2173-11ea-ae64-6297474a9cc6] INSERT ExecutionEntity[506d303f-2173-11ea-ae64-6297474a9cc6] INSERT VariableInstanceEntity[506986b6-2173-11ea-ae64-6297474a9cc6] INSERT VariableInstanceEntity[506986b8-2173-11ea-ae64-6297474a9cc6] INSERT VariableInstanceEntity[506986ba-2173-11ea-ae64-6297474a9cc6] INSERT VariableInstanceEntity[506986bc-2173-11ea-ae64-6297474a9cc6] INSERT ExternalTaskEntity[506d3041-2173-11ea-ae64-6297474a9cc6] DELETE ExternalTaskEntity[54d94e8f-2171-11ea-ae64-6297474a9cc6] UPDATE ExecutionEntity[cf72278d-2170-11ea-a57f-bead4740b828] DELETE ExecutionEntity[54d94e8d-2171-11ea-ae64-6297474a9cc6] UPDATE HistoricActivityInstanceEventEntity[Task_1ywtn7a:54d94e8e-2171-11ea-ae64-6297474a9cc6] ] org.camunda.bpm.engine.ProcessEngineException: ENGINE-03083 Exception while executing Batch Database Operations with message ' ### Error flushing statements. Cause: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.deleteExecution (batch index #10) failed. 9 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '54d94e8d-2171-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(54d94e8d-2171-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. ### Cause: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.deleteExecution (batch index #10) failed. 9 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '54d94e8d-2171-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(54d94e8d-2171-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '54d94e8d-2171-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(54d94e8d-2171-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. org.postgresql.util.PSQLException: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(54d94e8d-2171-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". org.postgresql.util.PSQLException: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(54d94e8d-2171-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". '. Flush summary: [ INSERT HistoricVariableInstanceEntity[506986b6-2173-11ea-ae64-6297474a9cc6] INSERT HistoricVariableInstanceEntity[506986b8-2173-11ea-ae64-6297474a9cc6] INSERT HistoricVariableInstanceEntity[506986ba-2173-11ea-ae64-6297474a9cc6] INSERT HistoricVariableInstanceEntity[506986bc-2173-11ea-ae64-6297474a9cc6] INSERT HistoricVariableUpdateEventEntity[506986b7-2173-11ea-ae64-6297474a9cc6] INSERT HistoricVariableUpdateEventEntity[506986b9-2173-11ea-ae64-6297474a9cc6] INSERT HistoricVariableUpdateEventEntity[506986bb-2173-11ea-ae64-6297474a9cc6] INSERT HistoricVariableUpdateEventEntity[506986bd-2173-11ea-ae64-6297474a9cc6] INSERT HistoricExternalTaskLogEntity[5069fbee-2173-11ea-ae64-6297474a9cc6] INSERT HistoricExternalTaskLogEntity[506d3042-2173-11ea-ae64-6297474a9cc6] INSERT HistoricActivityInstanceEventEntity[Task_0slykjj:506d3040-2173-11ea-ae64-6297474a9cc6] INSERT ExecutionEntity[506d303f-2173-11ea-ae64-6297474a9cc6] INSERT VariableInstanceEntity[506986b6-2173-11ea-ae64-6297474a9cc6] INSERT VariableInstanceEntity[506986b8-2173-11ea-ae64-6297474a9cc6] INSERT VariableInstanceEntity[506986ba-2173-11ea-ae64-6297474a9cc6] INSERT VariableInstanceEntity[506986bc-2173-11ea-ae64-6297474a9cc6] INSERT ExternalTaskEntity[506d3041-2173-11ea-ae64-6297474a9cc6] DELETE ExternalTaskEntity[54d94e8f-2171-11ea-ae64-6297474a9cc6] UPDATE ExecutionEntity[cf72278d-2170-11ea-a57f-bead4740b828] DELETE ExecutionEntity[54d94e8d-2171-11ea-ae64-6297474a9cc6] UPDATE HistoricActivityInstanceEventEntity[Task_1ywtn7a:54d94e8e-2171-11ea-ae64-6297474a9cc6] ] at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.flushDbOperationsException(EnginePersistenceLogger.java:693) ~[camunda-engine-7.11.0.jar!/:7.11.0] at org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.flushDbOperations(DbEntityManager.java:362) ~[camunda-engine-7.11.0.jar!/:7.11.0] at org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.flushDbOperationManager(DbEntityManager.java:325) ~[camunda-engine-7.11.0.jar!/:7.11.0] at org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.flush(DbEntityManager.java:297) ~[camunda-engine-7.11.0.jar!/:7.11.0] at org.camunda.bpm.engine.impl.interceptor.CommandContext.flushSessions(CommandContext.java:208) ~[camunda-engine-7.11.0.jar!/:7.11.0] at org.camunda.bpm.engine.impl.interceptor.CommandContext.close(CommandContext.java:137) ~[camunda-engine-7.11.0.jar!/:7.11.0] at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:116) ~[camunda-engine-7.11.0.jar!/:7.11.0] at org.camunda.bpm.engine.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:46) ~[camunda-engine-spring-7.11.0.jar!/:7.11.0] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) ~[spring-tx-5.1.7.RELEASE.jar!/:5.1.7.RELEASE] at org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:44) ~[camunda-engine-spring-7.11.0.jar!/:7.11.0] at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70) ~[camunda-engine-7.11.0.jar!/:7.11.0] at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) ~[camunda-engine-7.11.0.jar!/:7.11.0] at org.camunda.bpm.engine.impl.ExternalTaskServiceImpl.complete(ExternalTaskServiceImpl.java:56) ~[camunda-engine-7.11.0.jar!/:7.11.0] at org.camunda.bpm.engine.rest.sub.externaltask.impl.ExternalTaskResourceImpl.complete(ExternalTaskResourceImpl.java:118) ~[camunda-engine-rest-core-7.11.0.jar!/:7.11.0] at jdk.internal.reflect.GeneratedMethodAccessor368.invoke(Unknown Source) ~[na:na] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na] at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na] at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:76) ~[jersey-server-2.27.jar!/:na] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:148) ~[jersey-server-2.27.jar!/:na] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:191) ~[jersey-server-2.27.jar!/:na] at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:183) ~[jersey-server-2.27.jar!/:na] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:103) ~[jersey-server-2.27.jar!/:na] at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:493) ~[jersey-server-2.27.jar!/:na] at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:415) ~[jersey-server-2.27.jar!/:na] at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:104) ~[jersey-server-2.27.jar!/:na] at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:277) ~[jersey-server-2.27.jar!/:na] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:272) ~[jersey-common-2.27.jar!/:na] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:268) ~[jersey-common-2.27.jar!/:na] at org.glassfish.jersey.internal.Errors.process(Errors.java:316) ~[jersey-common-2.27.jar!/:na] at org.glassfish.jersey.internal.Errors.process(Errors.java:298) ~[jersey-common-2.27.jar!/:na] at org.glassfish.jersey.internal.Errors.process(Errors.java:268) ~[jersey-common-2.27.jar!/:na] at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:289) ~[jersey-common-2.27.jar!/:na] at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:256) ~[jersey-server-2.27.jar!/:na] at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:703) ~[jersey-server-2.27.jar!/:na] at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:416) ~[jersey-container-servlet-core-2.27.jar!/:na] at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:370) ~[jersey-container-servlet-core-2.27.jar!/:na] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:389) ~[jersey-container-servlet-core-2.27.jar!/:na] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:342) ~[jersey-container-servlet-core-2.27.jar!/:na] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:229) ~[jersey-container-servlet-core-2.27.jar!/:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.camunda.bpm.engine.rest.filter.CacheControlFilter.doFilter(CacheControlFilter.java:45) ~[camunda-engine-rest-core-7.11.0.jar!/:7.11.0] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.camunda.bpm.engine.rest.filter.EmptyBodyFilter.doFilter(EmptyBodyFilter.java:99) ~[camunda-engine-rest-core-7.11.0.jar!/:7.11.0] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter.doFilterInternal(HttpTraceFilter.java:90) ~[spring-boot-actuator-2.1.5.RELEASE.jar!/:2.1.5.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.7.RELEASE.jar!/:5.1.7.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) ~[spring-web-5.1.7.RELEASE.jar!/:5.1.7.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.7.RELEASE.jar!/:5.1.7.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) ~[spring-web-5.1.7.RELEASE.jar!/:5.1.7.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.7.RELEASE.jar!/:5.1.7.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) ~[spring-web-5.1.7.RELEASE.jar!/:5.1.7.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.7.RELEASE.jar!/:5.1.7.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMetrics(WebMvcMetricsFilter.java:117) ~[spring-boot-actuator-2.1.5.RELEASE.jar!/:2.1.5.RELEASE] at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:106) ~[spring-boot-actuator-2.1.5.RELEASE.jar!/:2.1.5.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.7.RELEASE.jar!/:5.1.7.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) ~[spring-web-5.1.7.RELEASE.jar!/:5.1.7.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.7.RELEASE.jar!/:5.1.7.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:836) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1747) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-embed-core-9.0.19.jar!/:9.0.19] at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na] Caused by: org.apache.ibatis.exceptions.PersistenceException: ### Error flushing statements. Cause: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.deleteExecution (batch index #10) failed. 9 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '54d94e8d-2171-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(54d94e8d-2171-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. ### Cause: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.deleteExecution (batch index #10) failed. 9 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '54d94e8d-2171-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(54d94e8d-2171-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) ~[mybatis-3.4.4.jar!/:3.4.4] at org.apache.ibatis.session.defaults.DefaultSqlSession.flushStatements(DefaultSqlSession.java:255) ~[mybatis-3.4.4.jar!/:3.4.4] at org.camunda.bpm.engine.impl.db.sql.DbSqlSession.flushOperations(DbSqlSession.java:90) ~[camunda-engine-7.11.0.jar!/:7.11.0] at org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.flushDbOperations(DbEntityManager.java:357) ~[camunda-engine-7.11.0.jar!/:7.11.0] ... 89 common frames omitted Caused by: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.deleteExecution (batch index #10) failed. 9 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '54d94e8d-2171-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(54d94e8d-2171-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. at org.apache.ibatis.executor.BatchExecutor.doFlushStatements(BatchExecutor.java:146) ~[mybatis-3.4.4.jar!/:3.4.4] at org.apache.ibatis.executor.BaseExecutor.flushStatements(BaseExecutor.java:129) ~[mybatis-3.4.4.jar!/:3.4.4] at org.apache.ibatis.executor.BaseExecutor.flushStatements(BaseExecutor.java:122) ~[mybatis-3.4.4.jar!/:3.4.4] at org.apache.ibatis.executor.CachingExecutor.flushStatements(CachingExecutor.java:114) ~[mybatis-3.4.4.jar!/:3.4.4] at org.apache.ibatis.session.defaults.DefaultSqlSession.flushStatements(DefaultSqlSession.java:253) ~[mybatis-3.4.4.jar!/:3.4.4] ... 91 common frames omitted Caused by: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '54d94e8d-2171-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(54d94e8d-2171-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148) ~[postgresql-42.2.5.jar!/:42.2.5] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2184) ~[postgresql-42.2.5.jar!/:42.2.5] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:481) ~[postgresql-42.2.5.jar!/:42.2.5] at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:840) ~[postgresql-42.2.5.jar!/:42.2.5] at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1538) ~[postgresql-42.2.5.jar!/:42.2.5] at com.zaxxer.hikari.pool.ProxyStatement.executeBatch(ProxyStatement.java:128) ~[HikariCP-3.2.0.jar!/:na] at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeBatch(HikariProxyPreparedStatement.java) ~[HikariCP-3.2.0.jar!/:na] at org.apache.ibatis.executor.BatchExecutor.doFlushStatements(BatchExecutor.java:122) ~[mybatis-3.4.4.jar!/:3.4.4] ... 95 common frames omitted Caused by: org.postgresql.util.PSQLException: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(54d94e8d-2171-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440) ~[postgresql-42.2.5.jar!/:42.2.5] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183) ~[postgresql-42.2.5.jar!/:42.2.5] ... 101 common frames omitted 2019-12-18 08:49:34.324 WARN 1 --- [io-8080-exec-10] ExceptionHandler : org.camunda.bpm.engine.ProcessEngineException: ENGINE-03083 Exception while executing Batch Database Operations with message ' ### Error flushing statements. Cause: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.deleteExecution (batch index #10) failed. 9 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '54d94e8d-2171-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(54d94e8d-2171-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. ### Cause: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.deleteExecution (batch index #10) failed. 9 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '54d94e8d-2171-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(54d94e8d-2171-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '54d94e8d-2171-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(54d94e8d-2171-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. org.postgresql.util.PSQLException: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(54d94e8d-2171-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". org.postgresql.util.PSQLException: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(54d94e8d-2171-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". '. Flush summary: [ INSERT HistoricVariableInstanceEntity[506986b6-2173-11ea-ae64-6297474a9cc6] INSERT HistoricVariableInstanceEntity[506986b8-2173-11ea-ae64-6297474a9cc6] INSERT HistoricVariableInstanceEntity[506986ba-2173-11ea-ae64-6297474a9cc6] INSERT HistoricVariableInstanceEntity[506986bc-2173-11ea-ae64-6297474a9cc6] INSERT HistoricVariableUpdateEventEntity[506986b7-2173-11ea-ae64-6297474a9cc6] INSERT HistoricVariableUpdateEventEntity[506986b9-2173-11ea-ae64-6297474a9cc6] INSERT HistoricVariableUpdateEventEntity[506986bb-2173-11ea-ae64-6297474a9cc6] INSERT HistoricVariableUpdateEventEntity[506986bd-2173-11ea-ae64-6297474a9cc6] INSERT HistoricExternalTaskLogEntity[5069fbee-2173-11ea-ae64-6297474a9cc6] INSERT HistoricExternalTaskLogEntity[506d3042-2173-11ea-ae64-6297474a9cc6] INSERT HistoricActivityInstanceEventEntity[Task_0slykjj:506d3040-2173-11ea-ae64-6297474a9cc6] INSERT ExecutionEntity[506d303f-2173-11ea-ae64-6297474a9cc6] INSERT VariableInstanceEntity[506986b6-2173-11ea-ae64-6297474a9cc6] INSERT VariableInstanceEntity[506986b8-2173-11ea-ae64-6297474a9cc6] INSERT VariableInstanceEntity[506986ba-2173-11ea-ae64-6297474a9cc6] INSERT VariableInstanceEntity[506986bc-2173-11ea-ae64-6297474a9cc6] INSERT ExternalTaskEntity[506d3041-2173-11ea-ae64-6297474a9cc6] DELETE ExternalTaskEntity[54d94e8f-2171-11ea-ae64-6297474a9cc6] UPDATE ExecutionEntity[cf72278d-2170-11ea-a57f-bead4740b828] DELETE ExecutionEntity[54d94e8d-2171-11ea-ae64-6297474a9cc6] UPDATE HistoricActivityInstanceEventEntity[Task_1ywtn7a:54d94e8e-2171-11ea-ae64-6297474a9cc6] ] at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.flushDbOperationsException(EnginePersistenceLogger.java:693) at org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.flushDbOperations(DbEntityManager.java:362) at org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.flushDbOperationManager(DbEntityManager.java:325) at org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.flush(DbEntityManager.java:297) at org.camunda.bpm.engine.impl.interceptor.CommandContext.flushSessions(CommandContext.java:208) at org.camunda.bpm.engine.impl.interceptor.CommandContext.close(CommandContext.java:137) at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:116) at org.camunda.bpm.engine.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:46) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) at org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:44) at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70) at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) at org.camunda.bpm.engine.impl.ExternalTaskServiceImpl.complete(ExternalTaskServiceImpl.java:56) at org.camunda.bpm.engine.rest.sub.externaltask.impl.ExternalTaskResourceImpl.complete(ExternalTaskResourceImpl.java:118) at jdk.internal.reflect.GeneratedMethodAccessor368.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:76) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:148) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:191) at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:183) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:103) at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:493) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:415) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:104) at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:277) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:272) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:268) at org.glassfish.jersey.internal.Errors.process(Errors.java:316) at org.glassfish.jersey.internal.Errors.process(Errors.java:298) at org.glassfish.jersey.internal.Errors.process(Errors.java:268) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:289) at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:256) at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:703) at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:416) at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:370) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:389) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:342) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:229) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.camunda.bpm.engine.rest.filter.CacheControlFilter.doFilter(CacheControlFilter.java:45) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.camunda.bpm.engine.rest.filter.EmptyBodyFilter.doFilter(EmptyBodyFilter.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter.doFilterInternal(HttpTraceFilter.java:90) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMetrics(WebMvcMetricsFilter.java:117) at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:106) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:836) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1747) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: org.apache.ibatis.exceptions.PersistenceException: ### Error flushing statements. Cause: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.deleteExecution (batch index #10) failed. 9 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '54d94e8d-2171-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(54d94e8d-2171-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. ### Cause: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.deleteExecution (batch index #10) failed. 9 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '54d94e8d-2171-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(54d94e8d-2171-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) at org.apache.ibatis.session.defaults.DefaultSqlSession.flushStatements(DefaultSqlSession.java:255) at org.camunda.bpm.engine.impl.db.sql.DbSqlSession.flushOperations(DbSqlSession.java:90) at org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.flushDbOperations(DbEntityManager.java:357) ... 89 more Caused by: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.deleteExecution (batch index #10) failed. 9 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '54d94e8d-2171-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(54d94e8d-2171-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. at org.apache.ibatis.executor.BatchExecutor.doFlushStatements(BatchExecutor.java:146) at org.apache.ibatis.executor.BaseExecutor.flushStatements(BaseExecutor.java:129) at org.apache.ibatis.executor.BaseExecutor.flushStatements(BaseExecutor.java:122) at org.apache.ibatis.executor.CachingExecutor.flushStatements(CachingExecutor.java:114) at org.apache.ibatis.session.defaults.DefaultSqlSession.flushStatements(DefaultSqlSession.java:253) ... 91 more Caused by: java.sql.BatchUpdateException: Batch entry 0 delete from ACT_RU_EXECUTION where ID_ = '54d94e8d-2171-11ea-ae64-6297474a9cc6' and REV_ = 1 was aborted: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(54d94e8d-2171-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". Call getNextException to see other errors in the batch. at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2184) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:481) at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:840) at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1538) at com.zaxxer.hikari.pool.ProxyStatement.executeBatch(ProxyStatement.java:128) at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeBatch(HikariProxyPreparedStatement.java) at org.apache.ibatis.executor.BatchExecutor.doFlushStatements(BatchExecutor.java:122) ... 95 more Caused by: org.postgresql.util.PSQLException: ERROR: update or delete on table "act_ru_execution" violates foreign key constraint "act_fk_ext_task_exe" on table "act_ru_ext_task" Detail: Key (id_)=(54d94e8d-2171-11ea-ae64-6297474a9cc6) is still referenced from table "act_ru_ext_task". at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183) ... 101 more