Object reference not set to an instance of an object.

  • 21Views
  • Last Post 19 August 2021
Ramtin Sohrabian posted this 18 August 2021


We are getting the following error when running this task (package ID 128202):

Expression error in Derived Column (Contact): Error evaluating 'MailingStreet' from expression '"AddressMAIL1__c" + '\n' +

"AddressMAIL2__c" + '\n' +

"AddressMAIL3__c" + '\n'': Object reference not set to an instance of an object.


This task used to work without any issues but it is now throwing the above error.


Can you please look into this for us.



Mariia Zaharova posted this 19 August 2021

Hello Ramtin,  


Thank you for contacting Skyvia Support Team!  


It seems that one of the fields that are used in the expression does not exist anymore.

Both your Salesforce connections have outdated metadata cache (not refreshed since May): https://docs.skyvia.com/connections/metadata-cache.html  

Please open both of them, click the "Clear now" link near the Metadata Cache parameter, and save them.

After that, go to your task and check the mapping.

Make sure all required fields are available and mapped.  

Please let us know the results.  


Best regards,