JBoss Community

How to resolve this issue "java.lang.String cannot be cast to org.jbpm.task.utils.MarshalledContentWrapper"

created by Dhaval Shah in jBPM Development - View the full discussion

Hi all,

 

 

I am trying a human task example with variables , and i am using this link as a refrence https://community.jboss.org/people/bpmn2user/blog/2011/02/21/jbpm5-example-for-forms-with-variables

 

But now the thing is that when i am trying to run this i am getting following error.

I am using JBPM5.4 .

 

Exception in thread "Thread-2" java.lang.ClassCastException: java.lang.String cannot be cast to org.jbpm.task.utils.MarshalledContentWrapper

          at org.jbpm.task.utils.ContentMarshallerHelper.unmarshall(ContentMarshallerHelper.java:157)

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

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

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

 


Reply to this message by going to Community

Start a new discussion in jBPM Development at Community