0 Replies Latest reply on Sep 3, 2009 2:19 PM by yukon

    org.jbpm.api.JbpmException: couldn't serialize

    yukon Newbie

      Hi Everybody,
      I am getting exception org.jbpm.api.JbpmException: couldn't serialize blah.blah.MyInputObject@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