1 Reply Latest reply on Nov 20, 2013 1:55 AM by Maciej Swiderski

    org.jbpm.workflow.instance.node.ActionNodeInstance cannot be persisted?

    Jing Zhang Newbie

      When I run test code class org.jbpm.bpmn2.IntermediateEventTest, method testIntermediateCatchEventTimerCycleWithErrorWithPersistence

      Saw the following exception,

       

      Caused by: java.lang.IllegalArgumentException: Unknown node instance type: org.jbpm.workflow.instance.node.ActionNodeInstance@59480073

        at org.jbpm.marshalling.impl.AbstractProtobufProcessInstanceMarshaller.writeNodeInstanceContent(AbstractProtobufProcessInstanceMarshaller.java:445) ~[jbpm-flow-6.1.0-SNAPSHOT.jar:6.1.0-SNAPSHOT]

        at org.jbpm.marshalling.impl.AbstractProtobufProcessInstanceMarshaller.writeNodeInstance(AbstractProtobufProcessInstanceMarshaller.java:179) ~[jbpm-flow-6.1.0-SNAPSHOT.jar:6.1.0-SNAPSHOT]

        at org.jbpm.marshalling.impl.AbstractProtobufProcessInstanceMarshaller.writeProcessInstance(AbstractProtobufProcessInstanceMarshaller.java:117) ~[jbpm-flow-6.1.0-SNAPSHOT.jar:6.1.0-SNAPSHOT]

        at org.jbpm.marshalling.impl.AbstractProtobufProcessInstanceMarshaller.writeProcessInstance(AbstractProtobufProcessInstanceMarshaller.java:74) ~[jbpm-flow-6.1.0-SNAPSHOT.jar:6.1.0-SNAPSHOT]

        at org.jbpm.persistence.processinstance.ProcessInstanceInfo.update(ProcessInstanceInfo.java:231) ~[jbpm-persistence-jpa-6.1.0-SNAPSHOT.jar:6.1.0-SNAPSHOT]

       

       

      check the source code and found writeNodeInstanceContent indeed does not support ActionNodeInstance. Can you fix it?