[jboss-user] [jBPM] - Re: How to properly use ContentMarshallerHelper for Human Task Output in JBPM5.3?

Dhaval Shah do-not-reply at jboss.com
Tue Jan 29 04:51:05 EST 2013


Dhaval Shah [https://community.jboss.org/people/shahdhaval2020] created the discussion

"Re: How to properly use ContentMarshallerHelper for Human Task Output in JBPM5.3?"

To view the discussion, visit: https://community.jboss.org/message/794831#794831

--------------------------------------------------------------
Hi even i am facing this issue...... i don't know about marshaller or any thing so can u plz help me

now when it is calling the ftl file on reaCHING HUMAN TASK      it is showing this on jsp page

Model Number: MarshalledContentWrapper{content=[B at 1e0d7c5, marshaller=org.drools.marshalling.impl.SerializablePlaceholderResolverStrategy, type=class java.lang.String} Quantity: MarshalledContentWrapper{content=[B at 75ffe5, marshaller=org.drools.marshalling.impl.SerializablePlaceholderResolverStrategy, type=class java.lang.String} Priority: MarshalledContentWrapper{content=[B at f31cdb, marshaller=org.drools.marshalling.impl.SerializablePlaceholderResolverStrategy, type=class java.lang.String}

and then textboxes and submit button.

when i submit it.

i am getting this output on my console.

Human Task Started....
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)


how to resolve this issue can u plz help me on this
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/794831#794831]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130129/036b593b/attachment.html 


More information about the jboss-user mailing list