[jboss-user] [jBPM] - ERROR drools.persistence.SingleSessionCommandService.rollbackTransaction Could not commit session java.lang.IllegalArgumentException: IOException while loading process instance: null
on road
do-not-reply at jboss.com
Sat Apr 6 06:09:50 EDT 2013
on road [https://community.jboss.org/people/gang2007] created the discussion
"ERROR drools.persistence.SingleSessionCommandService.rollbackTransaction Could not commit session java.lang.IllegalArgumentException: IOException while loading process instance: null"
To view the discussion, visit: https://community.jboss.org/message/806820#806820
--------------------------------------------------------------
* Hi!
* I'm new to jBPM5.Today I've encountered a problem when studying the persistence feature of JBPM5 using Hello Proces example. Everything is OK berfore I click the button 'Complete' in Human Task View.The console shows like this: :(
Hibernate: select workitemin0_.workItemId as workItemId3_0_, workitemin0_.creationDate as creation2_3_0_, workitemin0_.name as name3_0_, workitemin0_.processInstanceId as processI4_3_0_, workitemin0_.state as state3_0_, workitemin0_.OPTLOCK as OPTLOCK3_0_, workitemin0_.workItemByteArray as workItem7_3_0_ from WorkItemInfo workitemin0_ where workitemin0_.workItemId=? java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2720) at java.io.ObjectInputStream$BlockDataInputStream.readUTFChar(ObjectInputStream.java:3112) at java.io.ObjectInputStream$BlockDataInputStream.readUTFBody(ObjectInputStream.java:3009) at java.io.ObjectInputStream$BlockDataInputStream.readUTF(ObjectInputStream.java:2818) at java.io.ObjectInputStream.readUTF(ObjectInputStream.java:1051) at org.drools.marshalling.impl.InputMarshaller.readWorkItem(InputMarshaller.java:1168) at org.drools.persistence.info.WorkItemInfo.getWorkItem(WorkItemInfo.java:110) at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.internalGetWorkItem(JPAWorkItemManager.java:187) at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.completeWorkItem(JPAWorkItemManager.java:115) at org.drools.command.runtime.process.CompleteWorkItemCommand.execute(CompleteWorkItemCommand.java:69) at org.drools.command.runtime.process.CompleteWorkItemCommand.execute(CompleteWorkItemCommand.java:32) at org.drools.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36) at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:373) at org.drools.command.impl.CommandBasedStatefulKnowledgeSession$1.completeWorkItem(CommandBasedStatefulKnowledgeSession.java:150) at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler$TaskCompletedHandler.handleCompletedTask(GenericHTWorkItemHandler.java:273) at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler$TaskCompletedHandler$1.run(GenericHTWorkItemHandler.java:239) at java.lang.Thread.run(Thread.java:619) Exception in thread "Thread-5" java.lang.IllegalArgumentException: IOException while loading process instance: null at org.drools.persistence.info.WorkItemInfo.getWorkItem(WorkItemInfo.java:114) at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.internalGetWorkItem(JPAWorkItemManager.java:187) at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.completeWorkItem(JPAWorkItemManager.java:115) at org.drools.command.runtime.process.CompleteWorkItemCommand.execute(CompleteWorkItemCommand.java:69) at org.drools.command.runtime.process.CompleteWorkItemCommand.execute(CompleteWorkItemCommand.java:32) at org.drools.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36) at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:373) at org.drools.command.impl.CommandBasedStatefulKnowledgeSession$1.completeWorkItem(CommandBasedStatefulKnowledgeSession.java:150) at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler$TaskCompletedHandler.handleCompletedTask(GenericHTWorkItemHandler.java:273) at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler$TaskCompletedHandler$1.run(GenericHTWorkItemHandler.java:239) at java.lang.Thread.run(Thread.java:619) 0 06/04 17:37:50,777[Thread-5] ERROR drools.persistence.SingleSessionCommandService.rollbackTransaction - Could not commit session java.lang.IllegalArgumentException: IOException while loading process instance: null at org.drools.persistence.info.WorkItemInfo.getWorkItem(WorkItemInfo.java:114) at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.internalGetWorkItem(JPAWorkItemManager.java:187) at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.completeWorkItem(JPAWorkItemManager.java:115) at org.drools.command.runtime.process.CompleteWorkItemCommand.execute(CompleteWorkItemCommand.java:69) at org.drools.command.runtime.process.CompleteWorkItemCommand.execute(CompleteWorkItemCommand.java:32) at org.drools.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36) at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:373) at org.drools.command.impl.CommandBasedStatefulKnowledgeSession$1.completeWorkItem(CommandBasedStatefulKnowledgeSession.java:150) at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler$TaskCompletedHandler.handleCompletedTask(GenericHTWorkItemHandler.java:273) at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler$TaskCompletedHandler$1.run(GenericHTWorkItemHandler.java:239) at java.lang.Thread.run(Thread.java:619)
Could anyone please suggest where I am wrong?
Thanks!
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/806820#806820]
Start a new discussion in jBPM at Community
[https://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/20130406/146fc9e3/attachment.html
More information about the jboss-user
mailing list