From 22233bfa18060d000e303d7734ec3016f7e80c8e Mon Sep 17 00:00:00 2001 From: radhika Date: Fri, 2 May 2014 21:38:20 -0400 Subject: [PATCH] 2352: Getting null pointer exception after merging in master!! --- apps/workbench/app/models/pipeline_instance.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/workbench/app/models/pipeline_instance.rb b/apps/workbench/app/models/pipeline_instance.rb index ccb88351a7..d435ad40ea 100644 --- a/apps/workbench/app/models/pipeline_instance.rb +++ b/apps/workbench/app/models/pipeline_instance.rb @@ -18,7 +18,7 @@ class PipelineInstance < ArvadosBase end def attribute_editable?(attr) - attr.to_sym == :name || (attr.to_sym == :components and self.active == nil) + attr && (attr.to_sym == :name || (attr.to_sym == :components and self.active == nil)) end def attributes_for_display -- 2.30.2