Bug null pointer si aucune regle dans une ruleflow group

Envoi des logs de trace
This commit is contained in:
Nicolas Héron 2018-09-20 13:03:30 +02:00
commit ebb783f33a
2 changed files with 21 additions and 5 deletions

View file

@ -41,10 +41,11 @@ public class AfterNodeInstanceTriggeredEventStrategy implements AbstractMemoryEv
processExecution.getRuleflowGroups().add(ruleflowGroup);
}
ruleflowGroup.setStartDate(afterNodeInstanceTriggeredHistoryEvent.getDateEvent());
ruleflowGroup.setStartEventID(afterNodeInstanceTriggeredHistoryEvent.getEventID());
ruleflowGroup.setRuleflowGroupStatus(RuleflowGroupStatus.STARTED);
if (ruleflowGroup != null) {
ruleflowGroup.setStartDate(afterNodeInstanceTriggeredHistoryEvent.getDateEvent());
ruleflowGroup.setStartEventID(afterNodeInstanceTriggeredHistoryEvent.getEventID());
ruleflowGroup.setRuleflowGroupStatus(RuleflowGroupStatus.STARTED);
}
}
}