From 87b2862b75f27272435f3349f6cd3324d3514f8e Mon Sep 17 00:00:00 2001 From: Lars Wander Date: Tue, 10 May 2016 15:16:48 -0400 Subject: [PATCH] core: NPE thrown while reporting save error --- .../spinnaker/front50/model/application/Application.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front50-core/src/main/groovy/com/netflix/spinnaker/front50/model/application/Application.groovy b/front50-core/src/main/groovy/com/netflix/spinnaker/front50/model/application/Application.groovy index e7add1acd..0f09b133c 100644 --- a/front50-core/src/main/groovy/com/netflix/spinnaker/front50/model/application/Application.groovy +++ b/front50-core/src/main/groovy/com/netflix/spinnaker/front50/model/application/Application.groovy @@ -275,7 +275,7 @@ class Application implements Timestamped { log.error("Rollback failed (onRollback)", rollbackException) } - log.error("Failed to perform action (name: ${originalApplication.name ?: updatedApplication.name})") + log.error("Failed to perform action (name: ${originalApplication?.name ?: updatedApplication?.name})") throw e } }