After working with Salesforce to resolve some errors we are receiving, the issue has been narrowed down to your Apex Class "Maintenance_SelfHealing".
Here are the error messages:
Apex script unhandled trigger exception by user/organization: 0052I00000DeEzC/00DF00000006xCG
We sent this issue to C&P support and they said:
And they said this:
The question they couldn't answer was this, what are the ramifications of disabling the trigger? When I asked I was told to post here.
Thank you,
Tracey
Here are the error messages:
Apex script unhandled trigger exception by user/organization: 0052I00000DeEzC/00DF00000006xCG
npsp.TDTM_Opportunity: execution of AfterInsert
caused by: System.DmlException: Update failed. First exception on row 0 with id 0062I000014w5QXQAY; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, OpportunityTrigger_TDTM: execution of AfterUpdate
caused by: System.NullPointerException: Attempt to de-reference a null object
()
: []
Class.npsp.UTIL_DMLService.updateRecords: line 202, column 1
Class.npsp.TDTM_TriggerHandler.processDMLAllOrNoth ing: line 299, column 1
Class.npsp.TDTM_TriggerHandler.processDML: line 278, column 1
Class.npsp.OPP_OpportunityContactRoles_TDTM.run: line 81, column 1
Class.npsp.TDTM_TriggerHandler.runClass: line 193, column 1
Class.npsp.TDTM_TriggerHandler.run: line 113, column 1
Class.npsp.TDTM_Config_API.run: line 92, column 1
Trigger.npsp.TDTM_Opportunity: line 33, column
And
Apex script unhandled trigger exception by user/organization: 0052I00000DeEzC/00DF00000006xCG
OpportunityTrigger_TDTM: execution of AfterUpdate
caused by: System.NullPointerException: Attempt to de-reference a null object
Class.OpportunityTriggerHandler_TDTM.handleUpdateG LAccountCode: line 1619, column 1
Class.OpportunityTriggerHandler_TDTM.handleAfterUp date: line 2286, column 1
Trigger.OpportunityTrigger_TDTM: line 28, column 1
caused by: System.DmlException: Update failed. First exception on row 0 with id 0062I000014w5QXQAY; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, OpportunityTrigger_TDTM: execution of AfterUpdate
caused by: System.NullPointerException: Attempt to de-reference a null object
()
: []
Class.npsp.UTIL_DMLService.updateRecords: line 202, column 1
Class.npsp.TDTM_TriggerHandler.processDMLAllOrNoth ing: line 299, column 1
Class.npsp.TDTM_TriggerHandler.processDML: line 278, column 1
Class.npsp.OPP_OpportunityContactRoles_TDTM.run: line 81, column 1
Class.npsp.TDTM_TriggerHandler.runClass: line 193, column 1
Class.npsp.TDTM_TriggerHandler.run: line 113, column 1
Class.npsp.TDTM_Config_API.run: line 92, column 1
Trigger.npsp.TDTM_Opportunity: line 33, column
And
Apex script unhandled trigger exception by user/organization: 0052I00000DeEzC/00DF00000006xCG
OpportunityTrigger_TDTM: execution of AfterUpdate
caused by: System.NullPointerException: Attempt to de-reference a null object
Class.OpportunityTriggerHandler_TDTM.handleUpdateG LAccountCode: line 1619, column 1
Class.OpportunityTriggerHandler_TDTM.handleAfterUp date: line 2286, column 1
Trigger.OpportunityTrigger_TDTM: line 28, column 1
We sent this issue to C&P support and they said:
The error appears to be caused by a field being deleted in the Opportunity. The Self Healing function in the Maintenance section of C&P will attempt to repost transactions that encounter an error, which in this case will cause the error to appear multiple times.
And they said this:
The error is being caused by the Apex triggers which are outside of our applications. The errors may be populating due to the Self Healing function attempting to repost the transaction multiple times Disabling the Self Healing option will stop it from attempting to re-post the transaction, but the cause itself are the triggers.
To disable the Self Healing function in Salesforce:
1.Login to your Salesforce instance
2.Access C&P Settings from the App Launcher
3.Click on Maintenance
4.Uncheck the box next to "Auto re-process C&P Data errors"
To disable the Self Healing function in Salesforce:
1.Login to your Salesforce instance
2.Access C&P Settings from the App Launcher
3.Click on Maintenance
4.Uncheck the box next to "Auto re-process C&P Data errors"
The question they couldn't answer was this, what are the ramifications of disabling the trigger? When I asked I was told to post here.
Thank you,
Tracey
Comment