This commit is contained in:
2014-10-27 13:25:09 +01:00
@@ -57,7 +57,8 @@ public class RequirementServiceImpl extends RequirementBaseServiceImpl<Requireme
return false; return false;
} }
if (entity.getSumTotal().compareTo(nextWf.getLimit()) == -1) if ((entity.getSumTotal() != null)
&& (entity.getSumTotal().compareTo(nextWf.getLimit()) == -1))
{ {
approve(entity, approvers.get(0)); approve(entity, approvers.get(0));
return true; return true;