Under Caused by: com. Mysql. JDBC. Exceptions. Jdbc4. MySQLTransactionRollbackException: Deadlock found when trying to get the lock; Try restarting transaction
At sun. Reflect. NativeConstructorAccessorImpl. NewInstance0 (Native Method)
At sun. Reflect. NativeConstructorAccessorImpl. NewInstance (NativeConstructorAccessorImpl. Java: 62)
At sun. Reflect. DelegatingConstructorAccessorImpl. NewInstance (DelegatingConstructorAccessorImpl. Java: 45)
The at Java. Lang. Reflect. Constructor. NewInstance (423) Constructor. Java:
At com. Mysql. JDBC. Util. HandleNewInstance (Util. Java: 425)
At com. Mysql. JDBC. Util. GetInstance (Util. Java: 408)
At com. Mysql. JDBC. SQLError. CreateSQLException (SQLError. Java: 952)
At com. Mysql. JDBC. MysqlIO. CheckErrorPacket (MysqlIO. Java: 3976)
At com. Mysql. JDBC. MysqlIO. CheckErrorPacket (MysqlIO. Java: 3912)
At com. Mysql. JDBC. MysqlIO. SendCommand (MysqlIO. Java: 2530)
At com. Mysql. JDBC. MysqlIO. SqlQueryDirect (MysqlIO. Java: 2683)
At com. Mysql. JDBC. ConnectionImpl. ExecSQL (ConnectionImpl. Java: 2486)
At com. Mysql. JDBC. PreparedStatement. ExecuteInternal (PreparedStatement. Java: 1858)
At com. Mysql. JDBC. PreparedStatement. Execute (PreparedStatement. Java: 1197)
At com. Alibaba. Druid. Filter. FilterChainImpl. PreparedStatement_execute (FilterChainImpl. Java: 3409)
At com. Alibaba. Druid. Filter. FilterEventAdapter. PreparedStatement_execute (FilterEventAdapter. Java: 440)
At com. Alibaba. Druid. Filter. FilterChainImpl. PreparedStatement_execute (FilterChainImpl. Java: 3407)
At com. Alibaba. Druid. Proxy. JDBC. PreparedStatementProxyImpl. Execute (PreparedStatementProxyImpl. Java: 167)
At com. Alibaba. Druid. Pool. DruidPooledPreparedStatement. Execute (DruidPooledPreparedStatement. Java: 498)
The at org. Apache. Ibatis. Executor. Statement. PreparedStatementHandler. Update (46) PreparedStatementHandler. Java:
The at org. Apache. Ibatis. Executor. Statement. RoutingStatementHandler. Update (RoutingStatementHandler. Java: 74)
The at org. Apache. Ibatis. Executor. SimpleExecutor. DoUpdate (SimpleExecutor. Java: 50)
The at org. Apache. Ibatis. Executor. BaseExecutor. Update (BaseExecutor. Java: 117)
The at org. Apache. Ibatis. Executor. CachingExecutor. Update (CachingExecutor. Java: 76)
The at org. Apache. Ibatis. Session. Defaults. DefaultSqlSession. Update (DefaultSqlSession. Java: 198)
. 107 common frames omitted
Org. Apache. Ibatis. Exceptions. PersistenceException:
# # # Error updating the database. Cause: the mysql. JDBC. Exceptions. Jdbc4. MySQLTransactionRollbackException: Deadlock found when trying to get the lock; Try restarting transaction
# # # The error may involve org. Flowable. Engine. The impl. Persistence. Entity. ActivityInstanceEntityImpl. InsertActivityInstance - The Inline
# # # The error occurred while setting The parameters
# # # SQL: insert into ACT_RU_ACTINST (ID_, REV_ PROC_DEF_ID_, PROC_INST_ID_, EXECUTION_ID_, ACT_ID_, TASK_ID_, CALL_PROC_INST_ID_, ACT_NAME_, ACT_TYPE_, ASSIGNEE_, START_TIME_, END_TIME_, DURATION_, DELETE_REASON_, TENANT_ID_) values (?,?,?,?,? , 1,? ,? ,? ,? ,? ,? ,? ,? ,? ,? ,? ,? ,? ,? )
# # # Cause: com. Mysql. JDBC. Exceptions. Jdbc4. MySQLTransactionRollbackException: Deadlock found when trying to get the lock; Try restarting transaction
The at org. Apache. Ibatis. Exceptions. ExceptionFactory. WrapException (30) ExceptionFactory. Java:
The at org. Apache. Ibatis. Session. Defaults. DefaultSqlSession. Update (DefaultSqlSession. Java: 200)
The at org. Apache. Ibatis. Session. Defaults. DefaultSqlSession. Insert (185) DefaultSqlSession. Java:
At org.flowable.com, mon. Engine. Impl. Db. DbSqlSession. FlushRegularInsert (DbSqlSession. Java: 509)
At org.flowable.com, mon. Engine. Impl. Db. DbSqlSession. FlushInsertEntities (DbSqlSession. Java: 493)
At org.flowable.com, mon. Engine. Impl. Db. DbSqlSession. FlushInserts (DbSqlSession. Java: 473)
At org.flowable.com, mon. Engine. Impl. Db. DbSqlSession. Flush (DbSqlSession. Java: 358)
The at org.flowable.common.engine.impl.interceptor.Com mandContext. FlushSessions (CommandContext. Java: 192)
The at org.flowable.common.engine.impl.interceptor.Com mandContext. Close (CommandContext. Java: 61)
The at org.flowable.common.engine.impl.interceptor.Com mandContextInterceptor. Execute (CommandContextInterceptor. Java: 81)
At org.flowable.com, mon. Spring. SpringTransactionInterceptor. Execute (SpringTransactionInterceptor. Java: 51)
At org.flowable.com, mon. Engine. Impl. Interceptor. LogInterceptor. Execute (30) LogInterceptor. Java:
The at org.flowable.common.engine.impl.cfg.Com mandExecutorImpl. Execute (CommandExecutorImpl. Java: 56)
The at org.flowable.common.engine.impl.cfg.Com mandExecutorImpl. Execute (CommandExecutorImpl. Java: 51)
At org.flowable.engine.impl.TaskServiceImpl.com plete TaskServiceImpl. Java: (213)
nullnullnullnullnullnullnull