Salesforce Sync Error

Eve_Yu
Level 2

Salesforce Sync Error

We have the Salesforce Sync Error these days:

Error details: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY: LeadTrigger: execution of BeforeUpdate caused by: System.NullPointerException: Attempt to de-reference a null object ()

How can we resolve the issue?

2 REPLIES 2
Kevin_Weisenber
Level 4 - Champion Alumni

Re: Salesforce Sync Error

This is an error produced by Salesforce not by Marketo so I recommend reaching out to your salesforce Admin to help troubleshoot the logic that is failing. A quick google search on "System.NullPointerException" returns some helpful information that should help you narrow it down.

Grégoire_Miche2
Level 10

Re: Salesforce Sync Error

+1 on Kevin. Furthermore, it means there is an APEX trigger in SFDC that tries to read, update or insert info in another object, but the data for it comes up empty. Likely bad design of the APEX trigger itself.

-Greg