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
Ian MartinIan Martin 

System.NullPoointerException

Error: Invalid Data.
Review all error messages below to correct your data.
Apex trigger SFSSDupeCatcher.SSDupeCatcherAccountTrigger caused an unexpected exception, contact your administrator: SFSSDupeCatcherAccountTrigger:execution of BeforeUpdate caused by: System.NullPointerException: Attempt to de-reference a null object: Class.SFSSDupeCatcher.ScenarioWrapper.checkForDupes: Line 480, column 1

Thats the full error message we are getting we are also getting a similar message when trying to create new leads.
Interestingly this doesn't happen for any 'System Admin' user every other user what ever profiel they are gets these messages.

They started this morning and yesterday everything was fine there have been no changes to the system yesterday or today?

Has anyone seen this or got any ideas?

Many Thanks
Ian Martin
 
Best Answer chosen by Ian Martin
Waqar Hussain SFWaqar Hussain SF
Hi Ian,
In your trigger SSDupeCatcherAccountTrigger null exception is handled properly. You will have to put null condition in your trigger handler class i.e. SFSSDupeCatcher