From f4f896ee1d514bae069d7639355e910dcc4da127 Mon Sep 17 00:00:00 2001 From: Rich Date: Wed, 19 Feb 2014 03:31:33 +0000 Subject: [PATCH] Check for null ProcedureSetPath --- PROMS/DataLoader/DataLoaderSettings.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PROMS/DataLoader/DataLoaderSettings.cs b/PROMS/DataLoader/DataLoaderSettings.cs index e3439654..09b82264 100644 --- a/PROMS/DataLoader/DataLoaderSettings.cs +++ b/PROMS/DataLoader/DataLoaderSettings.cs @@ -322,7 +322,7 @@ namespace DataLoader } //added by jcb 20121127 //check is ProcedureSetPath contains ProcessOnlyInLocation - if (ProcedureSetPath.StartsWith(ProcessOnlyInLocation ?? "") == false) + if (ProcedureSetPath != null && ProcedureSetPath.StartsWith(ProcessOnlyInLocation ?? "") == false) { sb.Append(ErrorPrefix + "Check Process Only In Location value is pointing to similar directory as Procedure Set Path\r\n"); ErrorPrefix = "";