Check for null ProcedureSetPath

This commit is contained in:
Rich 2014-02-19 03:31:33 +00:00
parent 67a088f505
commit f4f896ee1d

View File

@ -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 = "";