I have three typical causes where null pointer exceptions occur:
So those three should be preceded with an empty check. Point 3 is a bug i think, should its worth submitting a bug report in the partner portal. Point 2 is disputable, but in my opinion date comparisons should always return false if the date is empty. But some people might find this confusing, so i guess that will stay as is.
another classic, again, fails with an empty date:
formatDateTime($TrialMember/TrialEndDate, 'd MMM yyyy HH:mm:ss')
I am currently getting a null error when using the GetCaption() function on Enums.I am currently getting a null error when using the GetCaption() function on Enums.