JBoss Community

ClassCastException

created by sc_boss in jBPM - View the full discussion

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)

Reply to this message by going to Community

Start a new discussion in jBPM at Community