Dhaval Shah [
https://community.jboss.org/people/shahdhaval2020] created the discussion
"How to resolve this issue "java.lang.String cannot be cast to
org.jbpm.task.utils.MarshalledContentWrapper""
To view the discussion, visit:
https://community.jboss.org/message/795554#795554
--------------------------------------------------------------
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-exampl...
https://community.jboss.org/people/bpmn2user/blog/2011/02/21/jbpm5-exampl...
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
[
https://community.jboss.org/message/795554#795554]
Start a new discussion in jBPM Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]