<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
JBPM5 -CR1- demo example form exception
</h3>
<span style="margin-bottom: 10px;">
created by <a href="http://community.jboss.org/people/bpmn2user">bpmn2user</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/578514#578514">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Following error gets generated in mina server while completing the form 'Start Performance Evaluation'  for the sample com.sample.evaluation.</p><p>None  of the news tasks are shown in Tasks->Personal tasks</p><p>Any comments?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>[java] [2011:01:03 22:01:29:debug] Arguments : [org.jbpm.task.event.TaskEve<br/>ntKey@ac37540, false, org.drools.process.workitem.wsht.WSHumanTaskHandler]<br/>     [java] [2011:01:03 22:01:76:debug] Message receieved on server : AddTaskReq<br/>uest<br/>     [java] [2011:01:03 22:01:76:debug] Arguments : [org.jbpm.task.Task@23f66542<br/>, null]<br/>     [java] [2011:01:03 22:01:139:exception] Error while commiting the transacti<br/>on<br/>     [java] javax.persistence.RollbackException: Error while commiting the trans<br/>action<br/>     [java]     at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java<br/>:71)<br/>     [java]     at org.jbpm.task.service.TaskServiceSession.doOperationInTransac<br/>tion(TaskServiceSession.java:716)<br/>     [java]     at org.jbpm.task.service.TaskServiceSession.addTask(TaskServiceS<br/>ession.java:134)<br/>     [java]     at org.jbpm.task.service.TaskServerHandler.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>.....</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>[java] Caused by: org.h2.jdbc.JdbcBatchUpdateException: Referential integri<br/>ty constraint violation: "FK27A9A59E619A0: PUBLIC.TASK FOREIGN KEY(CREATEDBY_ID)<br/> REFERENCES PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:<br/>     [java]     at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFil<br/>ter.messageReceived(DefaultIoFilterChain.java:713)<br/>     [java] update Task set allowedToDelegate=?, taskInitiator_id=?, priority=?,<br/> activationTime=?, actualOwner_id=?, createdBy_id=?, createdOn=?, documentAccess<br/>Type=?, documentContentId=?, documentType=?, expirationTime=?, faultAccessType=?<br/>, faultContentId=?, faultName=?, faultType=?, outputAccessType=?, outputContentI<br/>d=?, outputType=?, parentId=?, previousStatus=?, skipable=?, status=?, workItemI<br/>d=? where id=? [23002-124]<br/>     [java]     at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNex<br/>tMessageReceived(DefaultIoFilterChain.java:434)<br/>     [java]     at org.h2.jdbc.JdbcPreparedStatement.executeBatch(JdbcPreparedSt<br/>atement.java:1082)<br/>     [java]     at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$<br/>1200(DefaultIoFilterChain.java:46)<br/>     [java]     at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBat<br/>cher.java:70)</p><p>[java]     at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryIm<br/>pl$1.messageReceived(DefaultIoFilterChain.java:793)<br/>     [java]     at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatch<br/>er.java:268)<br/>     [java]     at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDeco<br/>derOutputImpl.flush(ProtocolCodecFilter.java:375)<br/>     [java]     ... 37 more<br/>     [java]     at org.apache.mina.filter.codec.ProtocolCodecFilter.messageRecei<br/>ved(ProtocolCodecFilter.java:229)<br/>     [java]     at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNex<br/>tMessageReceived(DefaultIoFilterChain.java:434)<br/>     [java]     at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$<br/>1200(DefaultIoFilterChain.java:46)<br/>     [java]     at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryIm<br/>pl$1.messageReceived(DefaultIoFilterChain.java:793)<br/>     [java]     at org.apache.mina.filter.logging.LoggingFilter.messageReceived(<br/>LoggingFilter.java:176)<br/>     [java]     at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNex<br/>tMessageReceived(DefaultIoFilterChain.java:434)<br/>     [java]     at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$<br/>1200(DefaultIoFilterChain.java:46)<br/>     [java]     at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryIm<br/>pl$1.messageReceived(DefaultIoFilterChain.java:793)<br/>     [java]     at org.apache.mina.core.filterchain.IoFilterAdapter.messageRecei<br/>ved(IoFilterAdapter.java:119)<br/>     [java]     at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNex<br/>tMessageReceived(DefaultIoFilterChain.java:434)<br/>     [java]     at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMes<br/>sageReceived(DefaultIoFilterChain.java:426)<br/>     [java]     at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(<br/>AbstractPollingIoProcessor.java:638)<br/>     [java]     at org.apache.mina.core.polling.AbstractPollingIoProcessor.proce<br/>ss(AbstractPollingIoProcessor.java:598)<br/>     [java]     at org.apache.mina.core.polling.AbstractPollingIoProcessor.proce<br/>ss(AbstractPollingIoProcessor.java:587)<br/>     [java]     at org.apache.mina.core.polling.AbstractPollingIoProcessor.acces<br/>s$400(AbstractPollingIoProcessor.java:61)<br/>     [java]     at org.apache.mina.core.polling.AbstractPollingIoProcessor$Proce<br/>ssor.run(AbstractPollingIoProcessor.java:969)<br/>     [java]     at org.apache.mina.util.NamePreservingRunnable.run(NamePreservin<br/>gRunnable.java:64)<br/>     [java]     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thread<br/>PoolExecutor.java:886)<br/>     [java]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPool<br/>Executor.java:908)<br/>     [java]     at java.lang.Thread.run(Thread.java:662)<br/>     [java] Caused by: org.hibernate.exception.ConstraintViolationException: Cou<br/>ld not execute JDBC batch update<br/>     [java]     at org.hibernate.exception.SQLStateConverter.convert(SQLStateCon<br/>verter.java:94)<br/>     [java]     at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExcep<br/>tionHelper.java:66)<br/>     [java]     at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatch<br/>er.java:275)<br/>     [java]     at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.j<br/>ava:266)<br/>     [java]     at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.j<br/>ava:168)<br/>     [java]     at org.hibernate.event.def.AbstractFlushingEventListener.perform<br/>Executions(AbstractFlushingEventListener.java:321)<br/>     [java]     at org.hibernate.event.def.DefaultFlushEventListener.onFlush(Def<br/>aultFlushEventListener.java:50)</p><p>....</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/578514#578514">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>