Xiaojun Hou [
http://community.jboss.org/people/houxiaojun] created the discussion
"No Task with ID 7 was found!"
To view the discussion, visit:
http://community.jboss.org/message/614342#614342
--------------------------------------------------------------
Sometimes when i start a process with jBPM5,the database has the saved the related task
successfully.But when i complete the task through the human task view,in the
console,information will be printed just like this:
[2011:06:158 15:06:580:debug] Message receieved on client : AddTaskResponse
[2011:06:158 15:06:581:debug] Arguments : [5]
[2011:06:158 15:06:743:debug] Message receieved on client : EventTriggerResponse
[2011:06:158 15:06:743:debug] Arguments : [org.jbpm.task.event.EventPayload@98bbf6]
Task completed 5
[2011:06:158 15:06:745:debug] Message receieved on client : EventTriggerResponse
[2011:06:158 15:06:745:debug] Arguments : [org.jbpm.task.event.EventPayload@147e668]
[2011:06:158 15:06:745:debug] Message receieved on client : EventTriggerResponse
[2011:06:158 15:06:746:debug] Arguments : [org.jbpm.task.event.EventPayload@167c5e3]
[2011:06:158 15:06:747:debug] Message receieved on client : EventTriggerResponse
[2011:06:158 15:06:750:debug] Arguments : [org.jbpm.task.event.EventPayload@1f0cf51]
Task completed 5
[2011:06:158 15:06:751:debug] Message receieved on client : EventTriggerResponse
[2011:06:158 15:06:751:debug] Arguments : [org.jbpm.task.event.EventPayload@c9b196]
Task completed 5
[2011:06:158 15:06:805:debug] Message receieved on client : GetTaskResponse
[2011:06:158 15:06:805:debug] Arguments : [javax.persistence.EntityNotFoundException: No
Task with ID 5 was found!]
[2011:06:158 15:06:806:debug] Message receieved on client : GetTaskResponse
[2011:06:158 15:06:806:debug] Arguments : [javax.persistence.EntityNotFoundException: No
Task with ID 5 was found!]
[2011:06:158 15:06:807:debug] Message receieved on client : GetTaskResponse
[2011:06:158 15:06:807:debug] Arguments : [javax.persistence.EntityNotFoundException: No
Task with ID 5 was found!]
Sometimes like this and the database shows that task 7 was completed:
[2011:07:192 14:07:842:debug] Arguments : [7]
[2011:07:192 14:07:857:exception] No Task with ID 7 was found!
javax.persistence.EntityNotFoundException: No Task with ID 7 was found!
at org.jbpm.task.service.TaskServiceSession.getEntity(TaskServiceSession.java:669)
at org.jbpm.task.service.TaskServiceSession.getTask(TaskServiceSession.java:428)
at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:95)
at
org.jbpm.task.service.mina.MinaTaskServerHandler.messageReceived(MinaTaskServerHandler.java:41)
at
org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:716)
at
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at
org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at
org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)
at
org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:427)
at
org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:245)
at
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at
org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at
org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)
at
org.apache.mina.filter.logging.LoggingFilter.messageReceived(LoggingFilter.java:177)
at
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at
org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at
org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)
at
org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119)
at
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at
org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426)
at
org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:693)
at
org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:646)
at
org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:635)
at
org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:67)
at
org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1079)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
By the way,the task with id 5 shows completed in the database.Can somebody help me with
this?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/614342#614342]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]