JBoss Community

constraint (MYSCHEMA.FK27A9A56CE1EF3A) violated

created by Odelya Holiday in jBPM - View the full discussion

Hi!

 

After completing human task I get:

 

 

Hibernate: insert into Task (allowedToDelegate, taskInitiator_id, priority, activationTime, actualOwner_id, createdBy_id, createdOn, documentAccessType, documentContentId, documentType, expirationTime, faultAccessType, faultContentId, faultName, faultType, outputAccessType, outputContentId, outputType, parentId, previousStatus, processInstanceId, skipable, status, workItemId, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

Hibernate: insert into I18NText (language, text, id) values (?, ?, ?)

Hibernate: insert into I18NText (language, text, id) values (?, ?, ?)

Hibernate: insert into I18NText (language, text, id) values (?, ?, ?)

Hibernate: update Task set allowedToDelegate=?, taskInitiator_id=?, priority=?, activationTime=?, actualOwner_id=?, createdBy_id=?, createdOn=?, documentAccessType=?, documentContentId=?, documentType=?, expirationTime=?, faultAccessType=?, faultContentId=?, faultName=?, faultType=?, outputAccessType=?, outputContentId=?, outputType=?, parentId=?, previousStatus=?, processInstanceId=?, skipable=?, status=?, workItemId=? where id=?

2011-01-30 15:19:38,354 ERROR (    JDBCExceptionReporter.java:101)     - ORA-02291: integrity constraint (MYSCHEMA.FK27A9A56CE1EF3A) violated - parent key not found

 

 

2011-01-30 15:19:38,355 ERROR (    JDBCExceptionReporter.java:101)     - ORA-02291: integrity constraint (MYSCHEMA.FK27A9A56CE1EF3A) violated - parent key not found

 

at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:94)

          at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)

          at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)

          at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266)

          at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:168)

          at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)

          at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)

          at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1027)

          at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:365)

          at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137)

          at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:54)

          at org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:716)

          at org.jbpm.task.service.TaskServiceSession.addTask(TaskServiceSession.java:134)

 

Why would it happen?

Reply to this message by going to Community

Start a new discussion in jBPM at Community