Salesforce: Why is this Apex Trigger throwing a Null Pointer Exception: Argument cannot be null?