Four Stars

java.io.IOException: Unable to find xml type for :java.math.BigDecimal

I'm using the tSalesforceOutput to update records in Salesforce and the data type of one of the fields I'm updating is BigDecimal (the field is a currency type in Salesforce, which Talend appears to map to BigDecimal).  When I run the job I get an exception that includes:

java.io.IOException: Unable to find xml type for :java.math.BigDecimal

I tried changing the type on both the inbound component and the tSalesforceOutput component to Double, but that produced a different error that appears to be related to my not matching the schema the destination system expected.

Have others trying to write to Salesforce seen this error with BigDecimal fields?

  • Data Integration
1 REPLY
Four Stars

Re: java.io.IOException: Unable to find xml type for :java.math.BigDecimal

I tried deleting the inbound component and the tSalesforceOutput component and replacing them both, then converting the field to Double again, and this seems to be working.

Still wondering why BigDecimal doesn't work with this component.