Tag: System.NullPointerException

System.NullPointerException: Attempt to de-reference a null object

attempt to de-reference a null object

System.NullPointerException: Attempt to de-reference a null object How to solve System.NullPointerException: Attempt to de-reference a null object error System.NullPointerException: Attempt to de-reference a null object is very common error in apex class.  It occurs when your variable (sobject, list, set or any other data type) is not initialized (allocated memory). In order to use the non primitive data type …

Continue reading

Permanent link to this article: https://www.sfdcpoint.com/salesforce/system-nullpointerexception-attempt-to-de-reference-a-null-object/