You need to sign in to do that
Don't have an account?
Pallavi Ghole
Hello SFDC Gurus - request for help with Triggers on Case object !
I am learnig Apex coding using David Liu's Apex Academy and have a couple triggers on Case object
WarrantySummary
CheckSecretInformation
All was well till I only had the WarrantySummary trigger but once I created the CheckSecretInformation trigger and try to insert/edit a case I get the error below ==>
Error: Invalid Data.
Review all error messages below to correct your data.
Apex trigger CheckSecretInformation caused an unexpected exception, contact your administrator: CheckSecretInformation: execution of AfterInsert caused by: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, WarrantySummary: execution of BeforeInsert caused by: System.NullPointerException: Attempt to de-reference a null object Trigger.WarrantySummary: line 5, column 1: []: Trigger.CheckSecretInformation: line 32, column 1
Can you please help ?
Regards
Pallavi
WarrantySummary
CheckSecretInformation
All was well till I only had the WarrantySummary trigger but once I created the CheckSecretInformation trigger and try to insert/edit a case I get the error below ==>
Error: Invalid Data.
Review all error messages below to correct your data.
Apex trigger CheckSecretInformation caused an unexpected exception, contact your administrator: CheckSecretInformation: execution of AfterInsert caused by: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, WarrantySummary: execution of BeforeInsert caused by: System.NullPointerException: Attempt to de-reference a null object Trigger.WarrantySummary: line 5, column 1: []: Trigger.CheckSecretInformation: line 32, column 1
Can you please help ?
Regards
Pallavi
All Answers