The TIBCO Platform is a real-time, composable data platform that will bring together an evolving set of your TIBCO solutions - and it's available now!
A chart showing the TIBCO Platform vision
Jump to content
Forums
Ask questions and gain insight from discussions

SalesForce connector: NullReferenceException for the new boolean field


John Guy

Recommended Posts

Hi,

I have added a new boolean field (checkbox) to SalesForce object, and here is what I see when I try to set this field in "Create" block

 

Operation failed. Label: Create OpportunityLineItem, Name: OpportunityLineItemCreate, Message: Object reference not set to an instance of an object.: Error in calling Operation Create System.NullReferenceException: Object reference not set to an instance of an object. at Scribe.Adapter.Salesforce.Operations.EntityConverter.ConvertToSalesforceFields(EntityProperties entityProperties, EntityDefinition entityDefinition, Boolean allowNulls, String[]& fieldsToNull) at Scribe.Adapter.Salesforce.Operations.EntityConverter.ToSalesforceObject(DataEntity dataEntity, EntityDefinition entityDefinition, Boolean allowNulls) at Scribe.Adapter.Salesforce.Operations.Operation.ConvertToSalesforceObject(InputItem inputItem, Boolean allowNulls) at Scribe.Connector.Common.Operation.ExecutionFlow.ProcessInputConversions[TIn](Func`2 inputConverter, IList`1 indexedInputItems, IList`1& indexedErrorResultItems)

 

 

I tried to set it expilcitly to "TRUE", "True", "FALSE", "False" or usingTOBOOLEAN function - the result is always the same

Link to comment
Share on other sites

the issue was caused by cloud agent out of sync. it did not have the correct metadata for the custom fields being added and it was not syncing properly.

 

workaround: create another cloud agent - looks like that triggers cached metadata re-sync

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...