flowable / flowable/flowable-engine

Error updating database. Cause: org.postgresql.util.PSQLException

Open
#3,807 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
9.5k
Forks
2.9k
Avg merge
7h 8m
Merged PRs (30d)
2

Description

**This is the exception i get when i start a new process.it's a simple process that contains just a user task.**

Exception: PersistenceException, File: ExceptionFactory.java, Method: wrapException
Stack trace: org.apache.ibatis.exceptions.PersistenceException:
### Error updating database. Cause: org.postgresql.util.PSQLException: ERROR: insert or update on table "act_ru_identitylink" violates foreign key constraint "act_fk_idl_procinst"
Detail: Key (proc_inst_id_)=(f7c5dbc8-9f16-11ee-9b0a-7e80ffb266f0) is not present in table "act_ru_execution".
### The error may exist in org/flowable/identitylink/service/db/mapping/entity/IdentityLink.xml
### The error may involve org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntityImpl.insertIdentityLink-Inline
### The error occurred while setting parameters
### SQL: insert into ACT_RU_IDENTITYLINK (ID_, REV_, TYPE_, USER_ID_, GROUP_ID_, TASK_ID_, PROC_INST_ID_, PROC_DEF_ID_, SCOPE_ID_, SUB_SCOPE_ID_, SCOPE_TYPE_, SCOPE_DEFINITION_ID_) values (?, 1, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?)
### Cause: org.postgresql.util.PSQLException: ERROR: insert or update on table "act_ru_identitylink" violates foreign key constraint "act_fk_idl_procinst"
Detail: Key (proc_inst_id_)=(f7c5dbc8-9f16-11ee-9b0a-7e80ffb266f0) is not present in table "act_ru_execution".

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.