3 Replies Latest reply on Sep 7, 2012 2:32 AM by Maciej Swiderski

    Human Task and variables

    tmmaluleke Newbie

      Hello,

       

      I was trying to do a business process with variables but wahen i run it i got this error. I have attached my project please take a look at it mybe i made a mistake.

       

       

      (null: 668, 15): cvc-id.1: There is no ID/IDREF binding for IDREF 'discription'.

      Could not find variable scope for variable discription

      when trying to execute Work Item Human Task

      Continuing without setting parameter.

      0    29/08 14:58:25,250[Thread-2] ERROR service.hornetq.HornetQTaskClientConnector.run  - org.jbpm.process.workitem.wsht.BlockingAddTaskResponseHandler cannot be cast to org.jbpm.task.service.TaskClientHandler$GetTaskResponseHandler

      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(Unknown Source)

      Caused by: java.lang.ClassCastException: org.jbpm.process.workitem.wsht.BlockingAddTaskResponseHandler cannot be cast to org.jbpm.task.service.TaskClientHandler$GetTaskResponseHandler

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

          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

      DOEOfficial execute taskSchool Evaluation(5: )

      java.lang.IllegalStateException:  The Marshaller Context Needs to be Provided

          at org.jbpm.task.utils.ContentMarshallerHelper.marshalSingle(ContentMarshallerHelper.java:98)

          at org.jbpm.task.utils.ContentMarshallerHelper.marshal(ContentMarshallerHelper.java:59)

          at department.DepartmentOfEductaionProcess.main(DepartmentOfEductaionProcess.java:79)

      9953 29/08 14:58:35,203[Thread-3] ERROR workitem.wsht.GenericHTWorkItemHandler.executeWorkItem  - Wed Aug 29 14:58:35 WAT 2012: Error when creating task on task server for work item id 2. Error reported by task server: Task operation request timed out