How can I solve this exception in the tSalesforceOutputBulkExec Talend component

474 views Asked by At

I've recently upgraded to ODI 5.5.1 and Java 1.7. Since doing so I have not been able to perform bulk processes into salesforce using tSalesforceOutputBulkExec. I consistently get the following exception message when attempting to run jobs.

Starting job TestBulk at 10:50 13/08/2014.

[statistics] connecting to socket on port 3438
[statistics] connected
Exception in thread "main" java.lang.IllegalAccessError: tried to access method com.sforce.async.BatchRequest.loadBatchInfo(Ljava/io/InputStream;)Lcom/sforce/async/BatchInfo; from class com.sforce.async.BulkConnection
    at com.sforce.async.BulkConnection.createBatchFromStreamImpl(BulkConnection.java:154)
    at com.sforce.async.BulkConnection.createBatchFromStream(BulkConnection.java:131)
    at org.talend.salesforceBulk.SalesforceBulkAPI.createBatch(SalesforceBulkAPI.java:369)
    at org.talend.salesforceBulk.SalesforceBulkAPI.createBatchesFromCSVFile(SalesforceBulkAPI.java:355)
    at org.talend.salesforceBulk.SalesforceBulkAPI.executeBulk(SalesforceBulkAPI.java:122)
    at prototyping.testbulk_0_1.TestBulk.tSalesforceInput_1Process(TestBulk.java:2180)
    at prototyping.testbulk_0_1.TestBulk.runJobInTOS(TestBulk.java:2522)
    at prototyping.testbulk_0_1.TestBulk.main(TestBulk.java:2368)
[statistics] disconnected
Job TestBulk ended at 10:50 13/08/2014. [exit code=1]

The exception appears to be occurring in the wsc.jar provided as part of the talend build but which comes from an open source package provided by salesforce and hosted on https://code.google.com/p/sfdc-wsc/downloads/list

I'm not sure though whether the problem I'm seeing is in the wsc jar or within my setup. Has anyone else seen or solved this problem? Should I replace the wsc.jar file and if so is this the correct jar to replace OS_DI-Win32-r118616-V5.5.1\plugins\org.talend.designer.components.localprovider_5.5.1.r118616\components\tSalesforceBulkExec\wsc.jar

0

There are 0 answers