I've a simple java that uses HornetQ workitem handler for human tasks. I keep getting this error when I guess human task server responds back. What is the issue here and how to fix it? SEVERE: Client Exception with class class org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1 using port 5153 java.lang.ClassCastException: org.jbpm.task.service.responsehandlers.BlockingGetContentResponseHandler 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:122) at java.lang.Thread.run(Thread.java:662)