在完成用户任务时,ParallelMultiInstanceBehavior.leave() 发生 NullPointerException(在 setLoopVariable 中执行为空)

作者: austin-2020创建于 2026年3月14日更新于 2026年3月14日

描述错误

在完成并行多实例(签名)用户任务时,引擎抛出了 NullPointerException,因为 executionMultiInstanceActivityBehavior.setLoopVariable() 中为空,该方法来自 ParallelMultiInstanceBehavior.leave()

内容来源: flowable/flowable-engine