<?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 Re: Job fails in runtime (NoSuchMethodError) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301703#M145536</link>
    <description>I have only one JVM/JRE</description>
    <pubDate>Thu, 14 Sep 2017 08:45:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-09-14T08:45:58Z</dc:date>
    <item>
      <title>Job fails in runtime (NoSuchMethodError)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301700#M145533</link>
      <description>&lt;P&gt;I've built a job and it fails every time in runtime.&lt;/P&gt; 
&lt;P&gt;It is a very simple job, that does the following after each other in several flows (OnSubJobOK):&lt;BR /&gt;&amp;nbsp; &amp;nbsp; 1) Set's up the context variable,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; 2) Executes a query in hive (tHiveRow) and stores the result into a CSV&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; 3) Reads the CSV and loads it into Salesforce&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;EM&gt;Now, ... when I disable the step 2 OR 3, ... everything runs without any problems, but as soon as I enable both the job dies.&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;EM&gt;Exception in thread "main" java.lang.NoSuchMethodError: org.apache.commons.lang3.reflect.TypeUtils.toString(Ljava/lang/reflect/Type&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;Ljava/lang/String;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at org.talend.daikon.properties.property.Property.(Property.java:127)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at org.talend.daikon.properties.property.Property.(Property.java:152)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at org.talend.daikon.properties.property.Property.(Property.java:148)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at org.talend.daikon.properties.property.StringProperty.(StringProperty.java:32)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at org.talend.daikon.properties.property.PropertyFactory.newString(PropertyFactory.java:36)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at org.talend.components.api.component.ComponentDefinition.(ComponentDefinition.java:71)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at org.talend.components.api.component.AbstractComponentDefinition.(AbstractComponentDefinition.java:43)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at org.talend.components.salesforce.SalesforceDefinition.(SalesforceDefinition.java:26)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at org.talend.components.salesforce.tsalesforceconnection.TSalesforceConnectionDefinition.(TSalesforceConnectionDefinition.java:32)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at yl.yl_sf_adslot_0_11.yl_sf_adSlot.tSalesforceConnection_1Process(yl_sf_adSlot.java:5657)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at yl.yl_sf_adslot_0_11.yl_sf_adSlot.tHiveRow_3Process(yl_sf_adSlot.java:5439)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at yl.yl_sf_adslot_0_11.yl_sf_adSlot.tHiveConnection_1Process(yl_sf_adSlot.java:3895)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at yl.yl_sf_adslot_0_11.yl_sf_adSlot.tFileInputXML_1Process(yl_sf_adSlot.java:3509)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at yl.yl_sf_adslot_0_11.yl_sf_adSlot.runJobInTOS(yl_sf_adSlot.java:12626)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at yl.yl_sf_adslot_0_11.yl_sf_adSlot.main(yl_sf_adSlot.java:12285)&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Another thing I noticed is that several versions are being loaded for Log4J&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;EM&gt;log4j:WARN No appenders could be found for logger (org.apache.hive.jdbc.Utils).&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;log4j:WARN Please initialize the log4j system properly.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;log4j:WARN See &lt;A href="http://logging.apache.org/log4j/1.2/faq.html#noconfig" target="_blank" rel="nofollow noopener noreferrer"&gt;http://logging.apache.org/log4j/1.2/faq.html#noconfig&lt;/A&gt; for more info.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SLF4J: Class path contains multiple SLF4J bindings.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SLF4J: Found binding in [jar:file:/opt/sffacade/yl_sf_adSlot/vp_test/deploy/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SLF4J: Found binding in [jar:file:/opt/sffacade/yl_sf_adSlot/vp_test/deploy/lib/slf4j-log4j12-1.7.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#multiple_bindings" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.slf4j.org/codes.html#multiple_bindings&lt;/A&gt; for an explanation.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I had similar issues with Avro with the&amp;nbsp;avro-1.7.6-cdh5.4.0 and&amp;nbsp;avro-1.8.0.jar, but I also expirienced Issues with Log4J on several instances, where the project could sometimes not find Log4J at all.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Any suggestions?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm running Talend 6.3.1 on Win 10&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:17:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301700#M145533</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Job fails in runtime (NoSuchMethodError)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301701#M145534</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Can you successfully execute your ESB job in studio? Does this issue only repro on talend runtime? Are your studio and runtime on the same machine? More information will be preferred.&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 04:32:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301701#M145534</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-14T04:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Job fails in runtime (NoSuchMethodError)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301702#M145535</link>
      <description>&lt;P&gt;Yes, I just wanted to paste new information&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to run it in Studio, ... it runs without any problems. When I try to run it in CMD, it fails. Same parmeters, same context&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 08:45:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301702#M145535</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-14T08:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: Job fails in runtime (NoSuchMethodError)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301703#M145536</link>
      <description>I have only one JVM/JRE</description>
      <pubDate>Thu, 14 Sep 2017 08:45:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301703#M145536</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-14T08:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Job fails in runtime (NoSuchMethodError)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301704#M145537</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;This issue is probably caused by Salesforce component. Your job works perfectly fine when you disable step 3? Could you please post your job setting screenshots into forum? How did you build your job?&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 09:09:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301704#M145537</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-14T09:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Job fails in runtime (NoSuchMethodError)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301705#M145538</link>
      <description>&lt;P&gt;if I disable either 2 or 3 it works in build. In talend it works always. I tried different JRE/JVM but there is no difference. But in build, it does not work with 2 or 3 disabled.&lt;BR /&gt;&lt;BR /&gt;I also tried extracting 2 and 3 into subjobs (tRunJob) and it works in build if I select them both to run as separate processes&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The version is Talend OS ESB 6.3.1&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Unbenannt.PNG" style="width: 665px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lqt0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135536i44E18E2B6A04F19E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lqt0.png" alt="0683p000009Lqt0.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 10:09:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301705#M145538</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-14T10:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Job fails in runtime (NoSuchMethodError)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301706#M145539</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Are you using oracle JDK 1.8?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;JDK is not needed to run job especially in the studio, but needed to export the job&lt;/SPAN&gt;. Please make sure that you already have a suitable JDK installed in your machine.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 10:23:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301706#M145539</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-14T10:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Job fails in runtime (NoSuchMethodError)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301707#M145540</link>
      <description>&lt;P&gt;java version "1.8.0_141"&lt;BR /&gt;Java(TM) SE Runtime Environment (build 1.8.0_141-b15)&lt;BR /&gt;Java HotSpot(TM) 64-Bit Server VM (build 25.141-b15, mixed mode)&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 10:25:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301707#M145540</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-14T10:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Job fails in runtime (NoSuchMethodError)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301708#M145541</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Have you tried to use V 6.4.1 to see if this issue repro? The required jar has been already installed into your studio? Did you change/replace any jar file from your side?&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lr5d.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155288i4A0AB6239C73D265/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lr5d.png" alt="0683p000009Lr5d.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 10:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301708#M145541</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-14T10:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Job fails in runtime (NoSuchMethodError)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301709#M145542</link>
      <description>&lt;P&gt;No, I did not. I know how dangerous/fragile it is&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 10:51:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301709#M145542</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-14T10:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Job fails in runtime (NoSuchMethodError)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301710#M145543</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Would you mind sending your job (.zip file) to us by email for testing?&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 11:08:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301710#M145543</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-14T11:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Job fails in runtime (NoSuchMethodError)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301711#M145544</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Or you can send a private message to me about your job.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2017 07:45:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301711#M145544</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-15T07:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Job fails in runtime (NoSuchMethodError)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301712#M145545</link>
      <description>&lt;P&gt;Is this issue resolved? I had the similar error when inserting to salesforce. As below&lt;/P&gt; 
&lt;P&gt;Exception in thread "main" java.lang.NoSuchMethodError: org.apache.commons.lang3.reflect.TypeUtils.toString(Ljava/lang/reflect/Type&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;Ljava/lang/String;&lt;BR /&gt;at org.talend.daikon.properties.property.Property.&amp;lt;init&amp;gt;(Property.java:127)&lt;BR /&gt;at org.talend.daikon.properties.property.Property.&amp;lt;init&amp;gt;(Property.java:152)&lt;BR /&gt;at org.talend.daikon.properties.property.Property.&amp;lt;init&amp;gt;(Property.java:148)&lt;BR /&gt;at org.talend.daikon.properties.property.StringProperty.&amp;lt;init&amp;gt;(StringProperty.java:32)&lt;BR /&gt;at org.talend.daikon.properties.property.PropertyFactory.newString(PropertyFactory.java:36)&lt;BR /&gt;at org.talend.components.api.component.ComponentDefinition.&amp;lt;clinit&amp;gt;(ComponentDefinition.java:71)&lt;BR /&gt;at org.talend.components.api.component.AbstractComponentDefinition.&amp;lt;init&amp;gt;(AbstractComponentDefinition.java:43)&lt;BR /&gt;at org.talend.components.salesforce.SalesforceDefinition.&amp;lt;init&amp;gt;(SalesforceDefinition.java:26)&lt;BR /&gt;at org.talend.components.salesforce.tsalesforceoutput.TSalesforceOutputDefinition.&amp;lt;init&amp;gt;(TSalesforceOutputDefinition.java:35)&lt;BR /&gt;......&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 21:56:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Job-fails-in-runtime-NoSuchMethodError/m-p/2301712#M145545</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-16T21:56:53Z</dc:date>
    </item>
  </channel>
</rss>

