Hello,
I've encountered the following problem in several occasions and I don't know why it's happening.
I am sending records to Salesforce with a tSalesforceBulkExec; this is being run on an iSeries machine, and it needs to use a Proxy to connect to Salesforce. I'm using Talend DI 5.2.2.
This problem happens when processing around 5k records, which is not a high amount. However, if I run this from outside the iSeries machine, it works.
So my guess is that the Proxy is slowing down the process and the tSalesforceBulkExec component is not getting an answer back from the Salesforce API.
This is the Exception message I get:
Exception in component tSalesforceBulkExec_1
java.lang.IllegalArgumentException: input stream can not be null
at com.sforce.ws.parser.MXParser.setInput(MXParser.java:528)
at com.sforce.ws.parser.XmlInputStream.setInput(XmlInputStream.java:64)
at com.sforce.async.BulkConnection.parseAndThrowException(BulkConnection.java:107)
at com.sforce.async.BulkConnection.doHttpGet(BulkConnection.java:472)
at com.sforce.async.BulkConnection.getBatchInfoList(BulkConnection.java:309)
at org.talend.salesforceBulk.SalesforceBulkAPI.awaitCompletion(SalesforceBulkAPI.java:388)
at org.talend.salesforceBulk.SalesforceBulkAPI.executeBulk(SalesforceBulkAPI.java:120)
at transfer_instructions.transferinstructionstosalesforce_0_5.TransferInstructionsToSalesforce.tSalesforceBulkExec_1Process(TransferInstructionsToSalesforce.java:11473)
at transfer_instructions.transferinstructionstosalesforce_0_5.TransferInstructionsToSalesforce.tAS400Input_2Process(TransferInstructionsToSalesforce.java:7791)
at transfer_instructions.transferinstructionstosalesforce_0_5.TransferInstructionsToSalesforce.runJobInTOS(TransferInstructionsToSalesforce.java:18286)
at transfer_instructions.transferinstructionstosalesforce_0_5.TransferInstructionsToSalesforce.runJob(TransferInstructionsToSalesforce.java:17812)
at transfer_instructions.updatesalesforcewithinstructions_0_5.UpdateSalesforceWithInstructions.tRunJob_1Process(UpdateSalesforceWithInstructions.java:2525)
at transfer_instructions.updatesalesforcewithinstructions_0_5.UpdateSalesforceWithInstructions.tAS400Input_3Process(UpdateSalesforceWithInstructions.java:2283)
at transfer_instructions.updatesalesforcewithinstructions_0_5.UpdateSalesforceWithInstructions.runJobInTOS(UpdateSalesforceWithInstructions.java:4920)
at transfer_instructions.updatesalesforcewithinstructions_0_5.UpdateSalesforceWithInstructions.main(UpdateSalesforceWithInstructions.java:4440)
Exception in component tRunJob_1
java.lang.RuntimeException: Child job running failed
at transfer_instructions.updatesalesforcewithinstructions_0_5.UpdateSalesforceWithInstructions.tRunJob_1Process(UpdateSalesforceWithInstructions.java:2544)
at transfer_instructions.updatesalesforcewithinstructions_0_5.UpdateSalesforceWithInstructions.tAS400Input_3Process(UpdateSalesforceWithInstructions.java:2283)
at transfer_instructions.updatesalesforcewithinstructions_0_5.UpdateSalesforceWithInstructions.runJobInTOS(UpdateSalesforceWithInstructions.java:4920)
at transfer_instructions.updatesalesforcewithinstructions_0_5.UpdateSalesforceWithInstructions.main(UpdateSalesforceWithInstructions.java:4440)
I have googled this and haven't found any explanations, could anyone let me know if I'm right assuming this is caused by the Proxy connection and the Salesforce API response timing out? Or is it caused by any other reason?
I would appreciate any comments.
Many thanks,
Julipool
Hi, I'm new to Talend and I have the same issue.
This is the error log that I obtain from Talend log:
Exception in component tSalesforceOutputBulkExec_1_tSBE
java.lang.IllegalArgumentException: input stream can not be null
at com.sforce.ws.parser.MXParser.setInput(MXParser.java:554)
at com.sforce.ws.parser.XmlInputStream.setInput(XmlInputStream.java:65)
at com.sforce.async.BulkConnection.parseAndThrowException(BulkConnection.java:129)
at com.sforce.async.BulkConnection.doHttpGet(BulkConnection.java:615)
at com.sforce.async.BulkConnection.getBatchInfoList(BulkConnection.java:439)
at org.talend.salesforceBulk.SforceBulkConnection.getBatchInfoList(SforceBulkConnection.java:82)
at org.talend.salesforceBulk.SalesforceBulkAPI.awaitCompletion(SalesforceBulkAPI.java:256)
at org.talend.salesforceBulk.SalesforceBulkAPI.executeBulk(SalesforceBulkAPI.java:99)
...
java.lang.RuntimeException: Child job running failed
The input file is not null.I launch the job, it runs correctly for some operations and this error happens every time in a different tSalesforceOutputBulkExec component. Can be a problem related to the connection?
Thank you in advance