[
https://jira.jboss.org/browse/JBRULES-2390?page=com.atlassian.jira.plugin...
]
Kris Verlaenen commented on JBRULES-2390:
-----------------------------------------
You should only be saving your process instance at "safe states". This means
that the engine has finished processing the instance so it can be persisted consistently.
ActionNodeInstances are always executed immediately, so should never exist at these safe
points. That's why they are not supported in the marshaller.
You could have this issue if for some reason you are trying to save changes either in the
middle of your execution or while another thread is still executing this process instance.
Using a command service consistently should prevent this.
AbstractProcessInstanceMarshaller does not hanlde ActionNode
instances
----------------------------------------------------------------------
Key: JBRULES-2390
URL:
https://jira.jboss.org/browse/JBRULES-2390
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-core (flow)
Affects Versions: 5.1.0.M1
Reporter: John Barnett
Assignee: Kris Verlaenen
Fix For: 5.1.0.M2
When serializing a rule flow process containing Action nodes the
AbstractProcessInstanceMarshaller throws an IllegalArgumentException with the message:
"Unknown node instance type: ".
Is there a reason why the writeNodeInstanceContent() method does not explicitly handle
node instances of type ActionNodeInstance?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira