function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Alex DrewAlex Drew 

APEX Trigger deployment Error

Hi 
I am deploying a change set from Sandbox to Production and one of the APEX tests is returning this error:

System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, myOppforQuest: execution of AfterInsert caused by: System.NullPointerException: Attempt to de-reference a null object Trigger.myOppforQuest: line 7, column 1: [] 
Stack Trace: Class.Marketing_Consent_Test_Class.TestCreatingMC: line 93, column 1

Can anyone shed any light as I have no idea what this means...
Thanks