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
Prabhat Singh 56Prabhat Singh 56 

When I attempt to change the owner of a lead I get the following error:

Hello Team,

When I attempt to change the owner of a lead I get the following error: 
Error: Apex trigger HubSpot_Inc.SaveLeadChange caused an unexpected exception, contact your administrator: HubSpot_Inc.SaveLeadChange: execution of AfterUpdate caused by: System.NullPointerException: Attempt to de-reference a null object: (HubSpot_Inc) 

Please help me.
Joseph BauerJoseph Bauer
We would need to see the code in the SaveLeadChange method to find the bug.