[jboss-user] [jBPM] - JBPM5 -CR1- demo example form exception
bpmn2 user
do-not-reply at jboss.com
Mon Jan 3 23:39:20 EST 2011
bpmn2user [http://community.jboss.org/people/bpmn2user] created the discussion
"JBPM5 -CR1- demo example form exception"
To view the discussion, visit: http://community.jboss.org/message/578514#578514
--------------------------------------------------------------
Following error gets generated in mina server while completing the form 'Start Performance Evaluation' for the sample com.sample.evaluation.
None of the news tasks are shown in Tasks->Personal tasks
Any comments?
[java] [2011:01:03 22:01:29:debug] Arguments : [org.jbpm.task.event.TaskEve
ntKey at ac37540, false, org.drools.process.workitem.wsht.WSHumanTaskHandler]
[java] [2011:01:03 22:01:76:debug] Message receieved on server : AddTaskReq
uest
[java] [2011:01:03 22:01:76:debug] Arguments : [org.jbpm.task.Task at 23f66542
, null]
[java] [2011:01:03 22:01:139:exception] Error while commiting the transacti
on
[java] javax.persistence.RollbackException: Error while commiting the trans
action
[java] at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java
:71)
[java] at org.jbpm.task.service.TaskServiceSession.doOperationInTransac
tion(TaskServiceSession.java:716)
[java] at org.jbpm.task.service.TaskServiceSession.addTask(TaskServiceS
ession.java:134)
[java] at org.jbpm.task.service.TaskServerHandler.
.....
[java] Caused by: org.h2.jdbc.JdbcBatchUpdateException: Referential integri
ty constraint violation: "FK27A9A59E619A0: PUBLIC.TASK FOREIGN KEY(CREATEDBY_ID)
REFERENCES PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFil
ter.messageReceived(DefaultIoFilterChain.java:713)
[java] update Task set allowedToDelegate=?, taskInitiator_id=?, priority=?,
activationTime=?, actualOwner_id=?, createdBy_id=?, createdOn=?, documentAccess
Type=?, documentContentId=?, documentType=?, expirationTime=?, faultAccessType=?
, faultContentId=?, faultName=?, faultType=?, outputAccessType=?, outputContentI
d=?, outputType=?, parentId=?, previousStatus=?, skipable=?, status=?, workItemI
d=? where id=? [23002-124]
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNex
tMessageReceived(DefaultIoFilterChain.java:434)
[java] at org.h2.jdbc.JdbcPreparedStatement.executeBatch(JdbcPreparedSt
atement.java:1082)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$
1200(DefaultIoFilterChain.java:46)
[java] at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBat
cher.java:70)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryIm
pl$1.messageReceived(DefaultIoFilterChain.java:793)
[java] at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatch
er.java:268)
[java] at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDeco
derOutputImpl.flush(ProtocolCodecFilter.java:375)
[java] ... 37 more
[java] at org.apache.mina.filter.codec.ProtocolCodecFilter.messageRecei
ved(ProtocolCodecFilter.java:229)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNex
tMessageReceived(DefaultIoFilterChain.java:434)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$
1200(DefaultIoFilterChain.java:46)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryIm
pl$1.messageReceived(DefaultIoFilterChain.java:793)
[java] at org.apache.mina.filter.logging.LoggingFilter.messageReceived(
LoggingFilter.java:176)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNex
tMessageReceived(DefaultIoFilterChain.java:434)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$
1200(DefaultIoFilterChain.java:46)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryIm
pl$1.messageReceived(DefaultIoFilterChain.java:793)
[java] at org.apache.mina.core.filterchain.IoFilterAdapter.messageRecei
ved(IoFilterAdapter.java:119)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNex
tMessageReceived(DefaultIoFilterChain.java:434)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMes
sageReceived(DefaultIoFilterChain.java:426)
[java] at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(
AbstractPollingIoProcessor.java:638)
[java] at org.apache.mina.core.polling.AbstractPollingIoProcessor.proce
ss(AbstractPollingIoProcessor.java:598)
[java] at org.apache.mina.core.polling.AbstractPollingIoProcessor.proce
ss(AbstractPollingIoProcessor.java:587)
[java] at org.apache.mina.core.polling.AbstractPollingIoProcessor.acces
s$400(AbstractPollingIoProcessor.java:61)
[java] at org.apache.mina.core.polling.AbstractPollingIoProcessor$Proce
ssor.run(AbstractPollingIoProcessor.java:969)
[java] at org.apache.mina.util.NamePreservingRunnable.run(NamePreservin
gRunnable.java:64)
[java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thread
PoolExecutor.java:886)
[java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPool
Executor.java:908)
[java] at java.lang.Thread.run(Thread.java:662)
[java] Caused by: org.hibernate.exception.ConstraintViolationException: Cou
ld not execute JDBC batch update
[java] at org.hibernate.exception.SQLStateConverter.convert(SQLStateCon
verter.java:94)
[java] at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExcep
tionHelper.java:66)
[java] at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatch
er.java:275)
[java] at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.j
ava:266)
[java] at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.j
ava:168)
[java] at org.hibernate.event.def.AbstractFlushingEventListener.perform
Executions(AbstractFlushingEventListener.java:321)
[java] at org.hibernate.event.def.DefaultFlushEventListener.onFlush(Def
aultFlushEventListener.java:50)
....
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/578514#578514]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110103/0e1f4af8/attachment.html
More information about the jboss-user
mailing list