Skip to content

chore(commons): Fix instanceof check and cast with pattern matching i… #169

chore(commons): Fix instanceof check and cast with pattern matching i…

chore(commons): Fix instanceof check and cast with pattern matching i… #169

Triggered via push November 27, 2024 23:44
Status Failure
Total duration 9m 12s
Artifacts 1

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors
BuiltinExceptionCodeForeignKeyConstraintViolationTest.shouldReturnForeignKeyConstraintErrorCode: engine/src/test/java/org/operaton/bpm/engine/test/concurrency/BuiltinExceptionCodeForeignKeyConstraintViolationTest.java#L107
Controlled thread has run into an exception already: org.operaton.bpm.engine.ProcessEnginePersistenceException. Stack trace: org.operaton.bpm.engine.ProcessEnginePersistenceException: An exception occurred in the persistence layer. Please check the server logs for a detailed message and the entire exception stack trace. at org.operaton.bpm.engine.impl.util.ExceptionUtil.wrapPersistenceException(ExceptionUtil.java:338) at org.operaton.bpm.engine.impl.db.EnginePersistenceLogger.flushDbOperationException(EnginePersistenceLogger.java:134) at org.operaton.bpm.engine.impl.db.entitymanager.DbEntityManager.flushDbOperations(DbEntityManager.java:361) at org.operaton.bpm.engine.impl.db.entitymanager.DbEntityManager.flushDbOperationManager(DbEntityManager.java:323) at org.operaton.bpm.engine.impl.db.entitymanager.DbEntityManager.flush(DbEntityManager.java:295) at org.operaton.bpm.engine.impl.interceptor.CommandContext.flushSessions(CommandContext.java:267) at org.operaton.bpm.engine.impl.interceptor.CommandContext.close(CommandContext.java:188) at org.operaton.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:120) at org.operaton.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70) at org.operaton.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:34) at org.operaton.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) at org.operaton.bpm.engine.impl.interceptor.ExceptionCodeInterceptor.execute(ExceptionCodeInterceptor.java:55) at org.operaton.bpm.engine.test.concurrency.ConcurrencyTestHelper.lambda$executeControllableCommand$0(ConcurrencyTestHelper.java:59) at java.base/java.lang.Thread.run(Thread.java:840) Caused by: org.operaton.bpm.engine.ProcessEngineException: ENGINE-03004 Exception while executing Database Operation 'DELETE_BULK deleteProcessDefinitionsById oneTaskProcess:1:625103' with message ' ### Error flushing statements. Cause: org.apache.ibatis.executor.BatchExecutorException: org.operaton.bpm.engine.impl.persistence.entity.ProcessDefinitionEntity.deleteProcessDefinitionsById (batch index #2) failed. 1 prior sub executor(s) completed successfully, but will be rolled back. Cause: org.h2.jdbc.JdbcBatchUpdateException: Referential integrity constraint violation: "ACT_FK_EXE_PROCDEF: PUBLIC.ACT_RU_EXECUTION FOREIGN KEY(PROC_DEF_ID_) REFERENCES PUBLIC.ACT_RE_PROCDEF(ID_) ('oneTaskProcess:1:625103')"; SQL statement: delete from ACT_RE_PROCDEF where ID_ = ? [23503-232] ### Cause: org.apache.ibatis.executor.BatchExecutorException: org.operaton.bpm.engine.impl.persistence.entity.ProcessDefinitionEntity.deleteProcessDefinitionsById (batch index #2) failed. 1 prior sub executor(s) completed successfully, but will be rolled back. Cause: org.h2.jdbc.JdbcBatchUpdateException: Referential integrity constraint violation: "ACT_FK_EXE_PROCDEF: PUBLIC.ACT_RU_EXECUTION FOREIGN KEY(PROC_DEF_ID_) REFERENCES PUBLIC.ACT_RE_PROCDEF(ID_) ('oneTaskProcess:1:625103')"; SQL statement: delete from ACT_RE_PROCDEF where ID_ = ? [23503-232] org.h2.jdbc.JdbcBatchUpdateException: Referential integrity constraint violation: "ACT_FK_EXE_PROCDEF: PUBLIC.ACT_RU_EXECUTION FOREIGN KEY(PROC_DEF_ID_) REFERENCES PUBLIC.ACT_RE_PROCDEF(ID_) ('oneTaskProcess:1:625103')"; SQL statement: delete from ACT_RE_PROCDEF where ID_ = ? [23503-232] org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Referential integrity constraint violation: "ACT_FK_EXE_PROCDEF: PUBLIC.ACT_RU_EXECUTION FOREIGN KEY(PROC_DEF_ID_) REFERENCES PUBLIC.ACT_RE_PROCDEF(ID_) ('oneTaskProcess:1:625103')"; SQL statement: delete from ACT_RE_PROCDEF where ID_ = ? [23503-232] '. Flush summary: [ DELETE_BULK deleteIdentityLinkByProcDef oneTaskProcess:1:625103 DELETE_BULK deleteProcessDefinitionsById oneTaskProcess:1:625103 DELETE_BULK deleteJobDefinitionsByProcessDefinitionId oneTaskProcess:1:625103 ] at org.operaton.bpm.engine.impl.db.EnginePersistenceLogger.flushDbOperationException(EnginePersistenceLogger.java:133) ... 12 more Caused by: org.apache.ibatis.exceptions.PersistenceException: ### Error flushing statements. Cause: org.apache.ibatis.executor.BatchExecutorException: org.operaton.bpm.engine.impl.persistence.entity.ProcessDefinitionEntity.deleteProcessDefinitionsById (batch index #2) failed. 1 prior sub executor(s) completed successfully, but will be rolled back. Cause: org.h2.jdbc.JdbcBatchUpdateException: Referential integrity constraint violation: "ACT_FK_EXE_PROCDEF: PUBLIC.ACT_RU_EXECUTION FOREIGN KEY(PROC_DEF_ID_) REFERENCES PUBLIC.ACT_RE_PROCDEF(ID_) ('oneTaskProcess:1:625103')"; SQL statement: delete from ACT_RE_PROCDEF where ID_ = ? [23503-232] ### Cause: org.apache.ibatis.executor.BatchExecutorException: org.operaton.bpm.engine.impl.persistence.entity.ProcessDefinitionEntity.deleteProcessDefinitionsById (batch index #2) failed. 1 prior sub executor(s) completed successfully, but will be rolled back. Cause: org.h2.jdbc.JdbcBatchUpdateException: Referential integrity constraint violation: "ACT_FK_EXE_PROCDEF: PUBLIC.ACT_RU_EXECUTION FOREIGN KEY(PROC_DEF_ID_) REFERENCES PUBLIC.ACT_RE_PROCDEF(ID_) ('oneTaskProcess:1:625103')"; SQL statement: delete from ACT_RE_PROCDEF where ID_ = ? [23503-232] at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) at org.apache.ibatis.session.defaults.DefaultSqlSession.flushStatements(DefaultSqlSession.java:254) at org.operaton.bpm.engine.impl.db.sql.DbSqlSession.flushBatchOperations(DbSqlSession.java:386) at org.operaton.bpm.engine.impl.db.sql.BatchDbSqlSession.executeDbOperations(BatchDbSqlSession.java:73) at org.operaton.bpm.engine.impl.db.entitymanager.DbEntityManager.flushDbOperations(DbEntityManager.java:341) ... 11 more Caused by: org.apache.ibatis.executor.BatchExecutorException: org.operaton.bpm.engine.impl.persistence.entity.ProcessDefinitionEntity.deleteProcessDefinitionsById (batch index #2) failed. 1 prior sub executor(s) completed successfully, but will be rolled back. Cause: org.h2.jdbc.JdbcBatchUpdateException: Referential integrity constraint violation: "ACT_FK_EXE_PROCDEF: PUBLIC.ACT_RU_EXECUTION FOREIGN KEY(PROC_DEF_ID_) REFERENCES PUBLIC.ACT_RE_PROCDEF(ID_) ('oneTaskProcess:1:625103')"; SQL statement: delete from ACT_RE_PROCDEF where ID_ = ? [23503-232] at org.apache.ibatis.executor.BatchExecutor.doFlushStatements(BatchExecutor.java:148) 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:115) at org.apache.ibatis.session.defaults.DefaultSqlSession.flushStatements(DefaultSqlSession.java:252) ... 14 more Caused by: org.h2.jdbc.JdbcBatchUpdateException: Referential integrity constraint violation: "ACT_FK_EXE_PROCDEF: PUBLIC.ACT_RU_EXECUTION FOREIGN KEY(PROC_DEF_ID_) REFERENCES PUBLIC.ACT_RE_PROCDEF(ID_) ('oneTaskProcess:1:625103')"; SQL statement: delete from ACT_RE_PROCDEF where ID_ = ? [23503-232] at org.h2.jdbc.JdbcPreparedStatement.executeBatch(JdbcPreparedStatement.java:1277) at org.apache.ibatis.executor.BatchExecutor.doFlushStatements(BatchExecutor.java:126) ... 18 more
Build
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
surefire-reports
9.78 MB