Skip to main content
Eve_Yu
Level 2
November 27, 2018
Question

Salesforce Sync Error

  • November 27, 2018
  • 2 replies
  • 3389 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Kevin_Weisenber
Level 4
November 27, 2018

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
November 28, 2018

+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