activiti + drools , and I got the errors

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-26-2016 11:15 PM
org.activiti.engine.ActivitiException: Couldn't deserialize object in variable '${ir}'
at org.activiti.engine.impl.variable.SerializableType.deserialize(SerializableType.java:110)
at org.activiti.engine.impl.variable.SerializableType.getValue(SerializableType.java:51)
and this is my config:
<businessRuleTask id="isSkipDraft" name="drool task" activiti:ruleVariablesInput="${ir}" activiti:rules="draft1,direct to reply" activiti:resultVariable="${ir}"></businessRuleTask>
- Labels:
-
Archive

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-26-2016 11:18 PM
<businessRuleTask id="isSkipDraft" name="drool task" activiti:ruleVariablesInput="${ir}" activiti:rules="draft1,direct to reply" activiti:resultVariable="${ir}"></businessRuleTask>

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-26-2016 11:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2016 11:30 AM
It appears as though you are running a unit test and that the error is being triggered immediately you start the test.
at org.activiti.engine.impl.TaskServiceImpl.getVariables(TaskServiceImpl.java:218)
at cn.StartWorkflowTest.start(StartWorkflowTest.java:54)
The error is a simple deserialization error, specifically an End Of File is being hit unexpectedly. This suggests the variable is probably null, but we wont be able to tell without proper debugging.
Can you please attach the unit test project so we can properly debug?
Thanks,
greg
