<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Error on tSalesforceOutputBulk in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Error-on-tSalesforceOutputBulk/m-p/2297494#M70068</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm facing an odd error:&lt;/P&gt; 
&lt;PRE&gt;Exception in component tSalesforceOutputBulk_7
java.lang.ClassCastException: java.lang.Long cannot be cast to java.util.Date
	at org.talend.components.common.runtime.GenericAvroRegistry$DateToStringConvert.convertToDatum(GenericAvroRegistry.java:135)
	at org.talend.components.common.runtime.GenericIndexedRecordConverter$GenericIndexedRecord.get(GenericIndexedRecordConverter.java:88)
	at org.talend.components.salesforce.runtime.SalesforceBulkFileWriter.getValues(SalesforceBulkFileWriter.java:99)
	at org.talend.components.common.runtime.BulkFileWriter.write(BulkFileWriter.java:106)
	at p_etl.ETL_0_1.ETL.tFileInputDelimited_4Process(ETL.java:2799)
	at p_etl.ETL_0_1.ETL.tSalesforceConnection_1Process(ETL.java:702)
	at p_etl.ETL_0_1.ETL.tSetGlobalVar_1Process(ETL.java:518)
	at p_etl.ETL_0_1.ETL.runJobInTOS(ETL.java:5881)
	at p_etl.ETL_0_1.ETL.main(ETL.java:5730)&lt;/PRE&gt; 
&lt;P&gt;The weird error is that my&amp;nbsp;output doesn't have any Date declared.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Captura.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrM1.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146954i66FF7A4628A2F78C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrM1.png" alt="0683p000009LrM1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The Talend version I'm using is: Big Data&amp;nbsp;6.3.2&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 09:10:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T09:10:01Z</dc:date>
    <item>
      <title>Error on tSalesforceOutputBulk</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-on-tSalesforceOutputBulk/m-p/2297494#M70068</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm facing an odd error:&lt;/P&gt; 
&lt;PRE&gt;Exception in component tSalesforceOutputBulk_7
java.lang.ClassCastException: java.lang.Long cannot be cast to java.util.Date
	at org.talend.components.common.runtime.GenericAvroRegistry$DateToStringConvert.convertToDatum(GenericAvroRegistry.java:135)
	at org.talend.components.common.runtime.GenericIndexedRecordConverter$GenericIndexedRecord.get(GenericIndexedRecordConverter.java:88)
	at org.talend.components.salesforce.runtime.SalesforceBulkFileWriter.getValues(SalesforceBulkFileWriter.java:99)
	at org.talend.components.common.runtime.BulkFileWriter.write(BulkFileWriter.java:106)
	at p_etl.ETL_0_1.ETL.tFileInputDelimited_4Process(ETL.java:2799)
	at p_etl.ETL_0_1.ETL.tSalesforceConnection_1Process(ETL.java:702)
	at p_etl.ETL_0_1.ETL.tSetGlobalVar_1Process(ETL.java:518)
	at p_etl.ETL_0_1.ETL.runJobInTOS(ETL.java:5881)
	at p_etl.ETL_0_1.ETL.main(ETL.java:5730)&lt;/PRE&gt; 
&lt;P&gt;The weird error is that my&amp;nbsp;output doesn't have any Date declared.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Captura.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrM1.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146954i66FF7A4628A2F78C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrM1.png" alt="0683p000009LrM1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The Talend version I'm using is: Big Data&amp;nbsp;6.3.2&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:10:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-on-tSalesforceOutputBulk/m-p/2297494#M70068</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error on tSalesforceOutputBulk</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-on-tSalesforceOutputBulk/m-p/2297495#M70069</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suggest you to convert all fields to String datatype before to tSalesforceOutBulk (and of course also change the schema datatype).&lt;/P&gt;&lt;P&gt;Let us know.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2017 18:50:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-on-tSalesforceOutputBulk/m-p/2297495#M70069</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-10-18T18:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error on tSalesforceOutputBulk</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-on-tSalesforceOutputBulk/m-p/2297496#M70070</link>
      <description>&lt;P&gt;Actually, the Long datatype for that field was launching a non-optional auto-process conversion to Date (why? do not know) So I fix it changing that to BigDecimal and now it works like a charm.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for reading.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2017 19:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-on-tSalesforceOutputBulk/m-p/2297496#M70070</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-18T19:09:35Z</dc:date>
    </item>
  </channel>
</rss>

