[jbpm-users] [jBPM Users] - org.jbpm.api.JbpmException: couldn't serialize

jbpmjboss11 do-not-reply at jboss.com
Thu Sep 3 14:19:12 EDT 2009


Hi Everybody,
I am getting exception org.jbpm.api.JbpmException: couldn't serialize blah.blah.MyInputObject at 1235

I have my JBPM class which I am calling from my web application. The background is ...

1. I take an instance of class MYJBPMFlow (not singleton). Call method firstState() which initiate my process and calls first state of my JBPM flow. It returns values, and send back UI project to display on the screen. I also pass instance of ProcessInstance back to web project so that next time I could signal the execution from where it was halted.

2. But, next time when i try to signal execution by saying ...
executionService.signalExecutionById(executionId, variables);
I get above mentioned exeception.

3. All the input/output objects implements serializable

But, when I have ProcessInstance as a static variable in MYJBPMFlow and do not use instance coming from web application everything works fine.

My puzzle is why it is  happening like this ... I do not want to use static instance of ProcessInstance. am I missing something in here?

Thanks


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253401#4253401

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253401


More information about the jbpm-users mailing list