Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
The NullPointer Exception comes from trying to do a function on a collateral field when there hasn't been a match. Check for null in the rule.
For example in rule for escrow put
! Relational.ISNULL(
before existing rule and ) at end.
But if you use an inner join for input none of the fields will be null unless there's nulls in the data.
Yes sorry. should be
! Relational.ISNULL(value)?rule true:rule false
It's difficult to see what's in your rules from the picture.
Firstly the rule is wrong. All you need is
! Relational.ISNULL(Collateral.PrimaryBorrowerName)?Collateral.PrimaryBorrowerName?null.
but this isn't where the problem is as there's no function done on the data.
Look on your code tab for the line being flagged as the null pointer exception and it will tell you where the problem is.
You probably don't need the isEmpty check.