1 Reply Latest reply on Nov 19, 2012 9:45 PM by johennes fan

    HumanTaskExample  Exception :   org.jbpm.task.service.responsehandlers.BlockingGetTaskResponseHandler cannot be cast to org.jbpm.task.service.TaskClientHandler$GetContentResponseHandler  HumanTaskExample.java   HumanTask.bpmn

    jinwen Newbie
      024/08 11:21:51,559[Thread-2] ERROR service.hornetq.HornetQTaskClientConnector.run  - org.jbpm.task.service.responsehandlers.BlockingGetTaskResponseHandler cannot be cast to org.jbpm.task.service.TaskClientHandler$GetContentResponseHandler

       

       

       

       

       

       

       

       

       

       

      1

      24/08 10:30:06,534[Thread-2] ERROR service.hornetq.HornetQTaskClientConnector.run  - org.jbpm.task.service.responsehandlers.BlockingGetTaskResponseHandler cannot be cast to org.jbpm.task.service.TaskClientHandler$GetContentResponseHandler

      Exception in thread "Thread-2" java.lang.RuntimeException: Client Exception with class class org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1 using port 5445


      at org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1.run(HornetQTaskClientConnector.java:134)

      at java.lang.Thread.run(Thread.java:722)

      Caused by: java.lang.ClassCastException: org.jbpm.task.service.responsehandlers.BlockingGetTaskResponseHandler cannot be cast to org.jbpm.task.service.TaskClientHandler$GetContentResponseHandler


      at org.jbpm.task.service.TaskClientHandler.messageReceived(TaskClientHandler.java:147)

      at org.jbpm.task.service.hornetq.HornetQTaskClientHandler.messageReceived(HornetQTaskClientHandler.java:56)

      at org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1.run(HornetQTaskClientConnector.java:120)

      ... 1 more

      Sales-rep executing task Request Review(13: )

      krisv executing task Request Approval(14: )

      java.lang.IndexOutOfBoundsException: Index: 0, Size: 0


      at java.util.ArrayList.rangeCheck(ArrayList.java:604)

      at java.util.ArrayList.get(ArrayList.java:382)

      at org.jbpm.examples.humantask.HumanTaskExample2.main(HumanTaskExample2.java:92)

      10007 24/08 10:30:16,540[Thread-3] ERROR workitem.wsht.GenericHTWorkItemHandler.executeWorkItem  - Fri Aug 24 10:30:16 CST 2012: Error when creating task on task server for work item id 2. Error reported by task server: Task operation request timed out

      java.lang.RuntimeException: Task operation request timed out


      at org.jbpm.task.service.SyncTaskServiceWrapper.addTask(SyncTaskServiceWrapper.java:118)

      at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler.executeWorkItem(GenericHTWorkItemHandler.java:145)

      at org.drools.process.instance.impl.DefaultWorkItemManager.internalExecuteWorkItem(DefaultWorkItemManager.java:70)

      at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:105)

      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:124)

      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:205)

      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:164)

      at org.jbpm.workflow.instance.node.SplitInstance.internalTrigger(SplitInstance.java:61)

      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:124)

      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:205)

      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:164)

      at org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl.triggerCompleted(ExtendedNodeInstanceImpl.java:47)

      at org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:162)

      at org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:143)

      at org.jbpm.workflow.instance.node.WorkItemNodeInstance.triggerCompleted(WorkItemNodeInstance.java:239)

      at org.jbpm.workflow.instance.node.HumanTaskNodeInstance.triggerCompleted(HumanTaskNodeInstance.java:90)

      at org.jbpm.workflow.instance.node.WorkItemNodeInstance.workItemCompleted(WorkItemNodeInstance.java:301)

      at org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:277)

      at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:326)

      at org.drools.process.instance.impl.DefaultWorkItemManager.completeWorkItem(DefaultWorkItemManager.java:116)

      at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler$TaskCompletedHandler.handleCompletedTask(GenericHTWorkItemHandler.java:219)

      at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler$TaskCompletedHandler$1.run(GenericHTWorkItemHandler.java:187)

      at java.lang.Thread.run(Thread.java:722)

      Exception in thread "Thread-6" java.lang.RuntimeException: Timeout : unable to retrieve Task


      at org.jbpm.task.service.responsehandlers.BlockingGetTaskResponseHandler.getTask(BlockingGetTaskResponseHandler.java:41)

      at org.jbpm.task.service.SyncTaskServiceWrapper.getTask(SyncTaskServiceWrapper.java:369)

      at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler$TaskCompletedHandler.handleCompletedTask(GenericHTWorkItemHandler.java:199)

      at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler$TaskCompletedHandler$1.run(GenericHTWorkItemHandler.java:187)

      at java.lang.Thread.run(Thread.java:722)

      Exception in thread "Thread-4" java.lang.RuntimeException: Timeout : unable to retrieve Attachment Content


      at org.jbpm.task.service.responsehandlers.BlockingGetContentResponseHandler.getContent(BlockingGetContentResponseHandler.java:41)

      at org.jbpm.task.service.SyncTaskServiceWrapper.getContent(SyncTaskServiceWrapper.java:330)

      at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler$TaskCompletedHandler.handleCompletedTask(GenericHTWorkItemHandler.java:207)

      at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler$TaskCompletedHandler$1.run(GenericHTWorkItemHandler.java:187)

      at java.lang.Thread.run(Thread.java:722)

      20035 24/08 10:30:26,568[Thread-3] ERROR workitem.wsht.GenericHTWorkItemHandler.executeWorkItem  - Fri Aug 24 10:30:26 CST 2012: Error when creating task on task server for work item id 3. Error reported by task server: Task operation request timed out

      java.lang.RuntimeException: Task operation request timed out