-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
-
NEW
-
NEW
-
2019 Week 44-46 (from Okt 28)
Caused by: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not execute statement
at deployment.kie-server.war//org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:154)
at deployment.kie-server.war//org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:181)
at deployment.kie-server.war//org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:188)
at deployment.kie-server.war//org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1460)
at deployment.kie-server.war//org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:511)
at deployment.kie-server.war//org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:3283)
at deployment.kie-server.war//org.hibernate.internal.SessionImpl.beforeTransactionCompletion(SessionImpl.java:2479)
at deployment.kie-server.war//org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.beforeTransactionCompletion(JdbcCoordinatorImpl.java:473)
at deployment.kie-server.war//org.hibernate.resource.transaction.backend.jta.internal.JtaTransactionCoordinatorImpl.beforeCompletion(JtaTransactionCoordinatorImpl.java:352)
at deployment.kie-server.war//org.hibernate.resource.transaction.backend.jta.internal.synchronization.SynchronizationCallbackCoordinatorNonTrackingImpl.beforeCompletion(SynchronizationCallbackCoordinatorNonTrackingImpl.java:47)
at deployment.kie-server.war//org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:37)
at org.wildfly.transaction.client@1.1.2.Final//org.wildfly.transaction.client.AbstractTransaction.performConsumer(AbstractTransaction.java:236)
at org.wildfly.transaction.client@1.1.2.Final//org.wildfly.transaction.client.AbstractTransaction.performConsumer(AbstractTransaction.java:247)
at org.wildfly.transaction.client@1.1.2.Final//org.wildfly.transaction.client.AbstractTransaction$AssociatingSynchronization.beforeCompletion(AbstractTransaction.java:292)
at org.jboss.jts//com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
at org.jboss.jts//com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:360)
at org.jboss.jts//com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:91)
at org.jboss.jts//com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:162)
at org.jboss.jts//com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1288)
... 98 more
Caused by: org.hibernate.exception.ConstraintViolationException: could not execute statement
at deployment.kie-server.war//org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:112)
at deployment.kie-server.war//org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42)
at deployment.kie-server.war//org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:113)
at deployment.kie-server.war//org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:99)
at deployment.kie-server.war//org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:178)
at deployment.kie-server.war//org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:45)
at deployment.kie-server.war//org.hibernate.persister.collection.AbstractCollectionPersister.recreate(AbstractCollectionPersister.java:1340)
at deployment.kie-server.war//org.hibernate.action.internal.CollectionRecreateAction.execute(CollectionRecreateAction.java:50)
at deployment.kie-server.war//org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604)
at deployment.kie-server.war//org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478)
at deployment.kie-server.war//org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356)
at deployment.kie-server.war//org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39)
at deployment.kie-server.war//org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1454)
... 113 more
Caused by: org.h2.jdbc.JdbcSQLException: Referential integrity constraint violation: "FK378PB1CVJV54W4LJQPW99S3WR: PUBLIC.NOTIFICATION_BAS FOREIGN KEY(ENTITY_ID) REFERENCES PUBLIC.ORGANIZATIONALENTITY(ID) ('admin')"; SQL statement:
insert into Notification_BAs (task_id, entity_id) values (?, ?) [23506-193]
at com.h2database.h2@1.4.193//org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
at com.h2database.h2@1.4.193//org.h2.message.DbException.get(DbException.java:179)
at com.h2database.h2@1.4.193//org.h2.message.DbException.get(DbException.java:155)
at com.h2database.h2@1.4.193//org.h2.constraint.ConstraintReferential.checkRowOwnTable(ConstraintReferential.java:372)
at com.h2database.h2@1.4.193//org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:314)
at com.h2database.h2@1.4.193//org.h2.table.Table.fireConstraints(Table.java:967)
at com.h2database.h2@1.4.193//org.h2.table.Table.fireAfterRow(Table.java:985)
at com.h2database.h2@1.4.193//org.h2.command.dml.Insert.insertRows(Insert.java:161)
at com.h2database.h2@1.4.193//org.h2.command.dml.Insert.update(Insert.java:114)
at com.h2database.h2@1.4.193//org.h2.command.CommandContainer.update(CommandContainer.java:98)
at com.h2database.h2@1.4.193//org.h2.command.Command.executeUpdate(Command.java:258)
at com.h2database.h2@1.4.193//org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:160)
at com.h2database.h2@1.4.193//org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:146)
at org.jboss.ironjacamar.jdbcadapters@1.4.11.Final//org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:537)
at deployment.kie-serv
- is duplicated by
-
JBPM-8883 "You don't have permissions to see the task form" when trying to access the created task using the IT Orders sample
- Closed