You need to sign in to do that
Don't have an account?
![Eric Witzerman 1 Eric Witzerman 1](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
APEX Error: AccountTrigger caused an unexpected exception, contact your admin: AccountTrigger: execution of AfterUpdate caused by: System.NullPointerException: Attempt to de-reference a null object: ()
Here is the code:
trigger AccountTrigger on Account (after update) {
if(Trigger.IsUpdate && Trigger.IsAfter) {
AccountTriggerHandler.handleAfterUpdate(Trigger.newMap, Trigger.oldMap);
}
}
trigger AccountTrigger on Account (after update) {
if(Trigger.IsUpdate && Trigger.IsAfter) {
AccountTriggerHandler.handleAfterUpdate(Trigger.newMap, Trigger.oldMap);
}
}
Usually there's a stacktrace along with the exception that tells you the exact line of code where it's happening. That should help you find where the problem is.