RM: Fixed null pointer error noticed during testing

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54459 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2013-08-26 05:46:34 +00:00
parent 4ba3d15af5
commit 32d070b09e

View File

@@ -57,7 +57,8 @@ public class IsKindEvaluator extends RecordsManagementActionConditionEvaluatorAb
FilePlanComponentKind filePlanComponentKind = filePlanService.getFilePlanComponentKind(actionedUponNodeRef);
if (filePlanComponentKind.toString().equals(kind))
if (filePlanComponentKind != null &&
filePlanComponentKind.toString().equals(kind))
{
result = true;
}