[jboss-dev-forums] [jBPM Development] - How to resolve this issue "java.lang.String cannot be cast to org.jbpm.task.utils.MarshalledContentWrapper"

Dhaval Shah do-not-reply at jboss.com
Fri Feb 1 01:58:00 EST 2013


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-example-for-forms-with-variables 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
[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&containerType=14&container=2035]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130201/4f54f6e3/attachment.html 


More information about the jboss-dev-forums mailing list