You need to sign in to do that
Don't have an account?
Dave The Rave
Dataloader Error - Attempt to de-reference a null object
Hi All,
I am trying to update 1 custom field of existing records using the dataloader, I get this error in the dataloader
"Attempt to de-reference a null object"
How can I solve this?
In my CSV file there are only 2 columns of data, contact ID and FakeTriggerField. There are definately comma separating each column of data.
Thanks,
Dave
I am trying to update 1 custom field of existing records using the dataloader, I get this error in the dataloader
"Attempt to de-reference a null object"
How can I solve this?
In my CSV file there are only 2 columns of data, contact ID and FakeTriggerField. There are definately comma separating each column of data.
Thanks,
Dave
Are you sure your IDs are correct? Or you have missed any required field, Try to import in smaller batches and to see if it works.
Please let me know if you have any query. Please mark it as best answer if it helps you.
Thanks,
Akshay
If you are using Data Loader for Windows, view the log file by entering %TEMP%\sdl.log in either the Run dialog or the Windows Explorer address bar.
https://developer.salesforce.com/docs/atlas.en-us.dataLoader.meta/dataLoader/loader_troubleshooting.htm
That could be a trigger on your object Contact. Do you see anything in this log file?
"Attempt to de-reference a null object" often means that a test "if ( myReference != null)" is missing in the code of your trigger and you are trying to use the reference of a collection or an instance of an object to get other values ( myReference.field__c for instance whereas myReference is null)