<?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: [resolved] Execution Failed: JVM Compatibility in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Execution-Failed-JVM-Compatibility/m-p/2317486#M87927</link>
    <description>Sorry, the problem was that the output of the ExcelInputFile ("
&lt;FONT size="2"&gt;&lt;FONT face="consolas, monaco, " bitstream="" vera="" sans="" mono=""&gt;row5.code"&lt;/FONT&gt;&lt;/FONT&gt;) was a string and kafka needs&amp;nbsp;
&lt;FONT size="2"&gt;&lt;FONT face="consolas, monaco, " bitstream="" vera="" sans="" mono=""&gt;byte[].&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;I changed the type of row5.code to byte[] and it works !
&lt;BR /&gt;Thank you,
&lt;BR /&gt;- Etienne</description>
    <pubDate>Wed, 22 Mar 2017 13:21:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-03-22T13:21:32Z</dc:date>
    <item>
      <title>[resolved] Execution Failed: JVM Compatibility</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Execution-Failed-JVM-Compatibility/m-p/2317484#M87925</link>
      <description>I'm trying to send messages to a Kafka topic but I get the following error:&amp;nbsp; 
&lt;BR /&gt; 
&lt;PRE&gt;Execution failed : Job compile errors &lt;BR /&gt;At least job "OnBoardingDemoJob" has a compile errors, please fix and export again.&lt;BR /&gt;Error Line: 1788&lt;BR /&gt;Detail Message: The constructor ProducerRecord&amp;lt;byte[],byte[]&amp;gt;(String, String) is undefined&lt;BR /&gt;There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.&lt;BR /&gt;&lt;/PRE&gt; 
&lt;BR /&gt;I've checked and everywhere it seems that I correctly use JDK 1.8 (Installed JREs; Compiler and Talend Java Interpreter). 
&lt;BR /&gt;My job is as follows: 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDmY.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151691iEEA97396A82E8B35/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDmY.png" alt="0683p000009MDmY.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDjQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144117i66829692A9BFCD21/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDjQ.png" alt="0683p000009MDjQ.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;When I look at the code, the error on line 1788 the code is 
&lt;BR /&gt; 
&lt;PRE&gt;tKafkaOutput_1_kafkaProducer.send(&lt;BR /&gt; &amp;nbsp; &amp;nbsp;new org.apache.kafka.clients.producer.ProducerRecord&amp;lt;byte[], byte[]&amp;gt;("code", row5.code)&lt;BR /&gt;);&lt;/PRE&gt; 
&lt;BR /&gt;There is an error indicating that "The constructor ProducerRecord&amp;lt;byte[],byte[]&amp;gt;(String, String) is undefined". And when I open the class ProducerRecord it seems that this class was compiled for java 1.7 ("Compiled from ProducerRecord.java (version 1.7 : 51.0, super bit)"). 
&lt;BR /&gt; 
&lt;BR /&gt;Is it a Maven configuration issue or am I missing a configuration somewhere ?</description>
      <pubDate>Sat, 16 Nov 2024 09:58:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Execution-Failed-JVM-Compatibility/m-p/2317484#M87925</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Execution Failed: JVM Compatibility</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Execution-Failed-JVM-Compatibility/m-p/2317485#M87926</link>
      <description>Hi,&lt;BR /&gt;Could you please indicate on which talend build version you are using? Does this JVM compatibility issue repro on all your jobs or a specific job(&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;send messages to a Kafka topic&lt;/FONT&gt;&lt;/FONT&gt;)?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 22 Mar 2017 03:34:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Execution-Failed-JVM-Compatibility/m-p/2317485#M87926</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-22T03:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Execution Failed: JVM Compatibility</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Execution-Failed-JVM-Compatibility/m-p/2317486#M87927</link>
      <description>Sorry, the problem was that the output of the ExcelInputFile ("
&lt;FONT size="2"&gt;&lt;FONT face="consolas, monaco, " bitstream="" vera="" sans="" mono=""&gt;row5.code"&lt;/FONT&gt;&lt;/FONT&gt;) was a string and kafka needs&amp;nbsp;
&lt;FONT size="2"&gt;&lt;FONT face="consolas, monaco, " bitstream="" vera="" sans="" mono=""&gt;byte[].&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;I changed the type of row5.code to byte[] and it works !
&lt;BR /&gt;Thank you,
&lt;BR /&gt;- Etienne</description>
      <pubDate>Wed, 22 Mar 2017 13:21:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Execution-Failed-JVM-Compatibility/m-p/2317486#M87927</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-22T13:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Execution Failed: JVM Compatibility</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Execution-Failed-JVM-Compatibility/m-p/2317487#M87928</link>
      <description>Hi,&lt;BR /&gt;Great this issue has been fixed. Could you please mark this topic as resolved?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Thu, 23 Mar 2017 08:42:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Execution-Failed-JVM-Compatibility/m-p/2317487#M87928</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-23T08:42:22Z</dc:date>
    </item>
  </channel>
</rss>

