diff --git a/lib/icinga/clusterevents.cpp b/lib/icinga/clusterevents.cpp index b53517dc2..0444225b2 100644 --- a/lib/icinga/clusterevents.cpp +++ b/lib/icinga/clusterevents.cpp @@ -970,6 +970,8 @@ Value ClusterEvents::UpdateExecutionsAPIHandler(const MessageOrigin::Ptr& origin } Dictionary::Ptr executions = checkable->GetExecutions(); + if (!executions) + executions = new Dictionary(); Dictionary::Ptr newExecutions = params->Get("executions"); newExecutions->CopyTo(executions); checkable->SetExecutions(executions);