<?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 while trying to run a simple job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332615#M101475</link>
    <description>Hi, 
&lt;BR /&gt;I'm using the latest version of talend and I'm trying to do something simple: 
&lt;BR /&gt;Read an XML file which matches a schema, and print its rows with tLogRow. 
&lt;BR /&gt;I'm new to talend, and just to mention I've already managed to run a job with talend (which takes rows from DB and puts them out to a file). 
&lt;BR /&gt;I've attached my job image. 
&lt;BR /&gt;Unfortunately, I'm getting the following error when trying to run the job: 
&lt;BR /&gt;" 
&lt;BR /&gt;Execution failed : Failed to generate code. 
&lt;BR /&gt; 
&lt;BR /&gt;Job FileRequest ended at 15:39 20/04/2014. 
&lt;BR /&gt;" 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDUG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128244i28FFB1C20B054AE5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDUG.png" alt="0683p000009MDUG.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Sun, 20 Apr 2014 13:48:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-04-20T13:48:09Z</dc:date>
    <item>
      <title>Error while trying to run a simple job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332615#M101475</link>
      <description>Hi, 
&lt;BR /&gt;I'm using the latest version of talend and I'm trying to do something simple: 
&lt;BR /&gt;Read an XML file which matches a schema, and print its rows with tLogRow. 
&lt;BR /&gt;I'm new to talend, and just to mention I've already managed to run a job with talend (which takes rows from DB and puts them out to a file). 
&lt;BR /&gt;I've attached my job image. 
&lt;BR /&gt;Unfortunately, I'm getting the following error when trying to run the job: 
&lt;BR /&gt;" 
&lt;BR /&gt;Execution failed : Failed to generate code. 
&lt;BR /&gt; 
&lt;BR /&gt;Job FileRequest ended at 15:39 20/04/2014. 
&lt;BR /&gt;" 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDUG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128244i28FFB1C20B054AE5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDUG.png" alt="0683p000009MDUG.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Sun, 20 Apr 2014 13:48:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332615#M101475</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-20T13:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error while trying to run a simple job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332616#M101476</link>
      <description>Forgot to mention:
&lt;BR /&gt;1. I'm using jre7 within the talend open studio. (Though I have jre8 installed).
&lt;BR /&gt;2. One more question:
&lt;BR /&gt;How can I receive any file with XML extension ? (In tFileInputXML component I have to write a name of xml file).</description>
      <pubDate>Sun, 20 Apr 2014 14:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332616#M101476</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-20T14:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error while trying to run a simple job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332617#M101477</link>
      <description>Hi, &lt;BR /&gt;What's your XML file structure? Could you please paste it on forum?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 21 Apr 2014 04:41:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332617#M101477</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-21T04:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error while trying to run a simple job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332618#M101478</link>
      <description>I have a feeling the problem is more deeper than that.. but here: 
&lt;BR /&gt;XML Schema: 
&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt; 
&lt;BR /&gt;&amp;lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
&lt;BR /&gt; elementFormDefault="qualified" attributeFormDefault="unqualified"&amp;gt; 
&lt;BR /&gt; &amp;lt;xs:element name="Root"&amp;gt; 
&lt;BR /&gt; &amp;lt;xs:complexType&amp;gt; 
&lt;BR /&gt; &amp;lt;xs:sequence&amp;gt; 
&lt;BR /&gt; &amp;lt;xs:element name='row' type='ActorType' minOccurs='0' maxOccurs='unbounded' /&amp;gt; 
&lt;BR /&gt; &amp;lt;/xs:sequence&amp;gt; 
&lt;BR /&gt; &amp;lt;/xs:complexType&amp;gt; 
&lt;BR /&gt; &amp;lt;/xs:element&amp;gt; 
&lt;BR /&gt; &amp;lt;xs:complexType name="ActorType"&amp;gt; 
&lt;BR /&gt; &amp;lt;xs:sequence minOccurs="0"&amp;gt; 
&lt;BR /&gt; &amp;lt;xs:element name="actorid" type="xs:string"/&amp;gt; 
&lt;BR /&gt; &amp;lt;xs:element name="name" type="xs:string"/&amp;gt; 
&lt;BR /&gt; &amp;lt;xs:element name="pdf" type="xs:base64Binary"/&amp;gt; 
&lt;BR /&gt; &amp;lt;/xs:sequence&amp;gt; 
&lt;BR /&gt; &amp;lt;/xs:complexType&amp;gt; 
&lt;BR /&gt;&amp;lt;/xs:schema&amp;gt; 
&lt;BR /&gt; 
&lt;BR /&gt;XML File Input: 
&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="ISO-8859-15"?&amp;gt; 
&lt;BR /&gt;&amp;lt;root&amp;gt; 
&lt;BR /&gt;&amp;lt;row&amp;gt; 
&lt;BR /&gt;&amp;lt;actorid&amp;gt;1&amp;lt;/actorid&amp;gt; 
&lt;BR /&gt;&amp;lt;name&amp;gt;PENELOPE&amp;lt;/name&amp;gt; 
&lt;BR /&gt;&amp;lt;pdf&amp;gt;JVBERi0xLjQKJcfsj6IKNSAwIG9iago8PC9MZW5ndGggNiAwIFIvRmlsdGVyIC9GbGF0ZURlY29kZT4+CnN0cmVhbQp4nOVdW5Nc&amp;lt;/pdf&amp;gt; 
&lt;BR /&gt;&amp;lt;/row&amp;gt; 
&lt;BR /&gt;&amp;lt;row&amp;gt; 
&lt;BR /&gt;&amp;lt;actorid&amp;gt;2&amp;lt;/actorid&amp;gt; 
&lt;BR /&gt;&amp;lt;name&amp;gt;DANIEL&amp;lt;/name&amp;gt; 
&lt;BR /&gt;&amp;lt;pdf&amp;gt;JVBERi0xLjQKJcfsj6IKNSAwIG9iago8PC9MZW5ndGggNiAwIFIvRmlsdGVyIC9GbGF0ZURlY29kZT4+CnN0cmVhbQp4nOVdW5Nc&amp;lt;/pdf&amp;gt; 
&lt;BR /&gt;&amp;lt;/row&amp;gt; 
&lt;BR /&gt;&amp;lt;/root&amp;gt;</description>
      <pubDate>Mon, 21 Apr 2014 17:05:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332618#M101478</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-21T17:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error while trying to run a simple job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332619#M101479</link>
      <description>Still stuck. Any help ?</description>
      <pubDate>Tue, 22 Apr 2014 17:01:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332619#M101479</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-22T17:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error while trying to run a simple job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332620#M101480</link>
      <description>what version of talend are you using ? and location where you have installed it?&lt;BR /&gt;what version of java are you using? your OS? &lt;BR /&gt;i just solved this issue and i might be able to help you with that if you provide me above information</description>
      <pubDate>Wed, 23 Apr 2014 17:40:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332620#M101480</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-04-23T17:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error while trying to run a simple job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332621#M101481</link>
      <description>Talend Version: 5.4.1
&lt;BR /&gt;OS: Windows 7
&lt;BR /&gt;Location: Talend library on my windows desktop
&lt;BR /&gt;JAVA: I've installed JRE 8.0, but currently using 7.0 on my talend open studio</description>
      <pubDate>Wed, 23 Apr 2014 21:44:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332621#M101481</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-23T21:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error while trying to run a simple job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332622#M101482</link>
      <description>Yes, it appears JDK 1.8 does not play nice with Talend 5.3/5.4. If you still have this issue, install 1.8 and install 1.7 (restart your system between uninstall and install to force registry updates).</description>
      <pubDate>Wed, 23 Apr 2014 21:55:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332622#M101482</guid>
      <dc:creator>willm1</dc:creator>
      <dc:date>2014-04-23T21:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error while trying to run a simple job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332623#M101483</link>
      <description>Hi, &lt;BR /&gt;Are there two JDK 1.8 and 1.7 in your PC? If so, could you please check your path variable to make sure JDK 1.7 value is set in front?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Thu, 24 Apr 2014 04:08:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332623#M101483</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-24T04:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error while trying to run a simple job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332624#M101484</link>
      <description>Hi, 
&lt;BR /&gt;Sabrina, i've already checked the environment path (You can see in the image i've attached). 
&lt;BR /&gt;Maybe I should uninstall JDK 8.0 ? (Although everything is configured to JDK 7.0?) 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDoy.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148810iD48E52FA25C00171/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDoy.jpg" alt="0683p000009MDoy.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 25 Apr 2014 13:01:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332624#M101484</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-25T13:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error while trying to run a simple job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332625#M101485</link>
      <description>Hi,
&lt;BR /&gt;I think the problem is with input schema for pdf data type. Also you don't have schema for pdf in your job. Can you try creating a schema in repository and test the job.
&lt;BR /&gt;&amp;lt;xs:element name="pdf" type="xs:base64Binary"/&amp;gt; 
&lt;BR /&gt;I used string for PDF, it works fine. 
&lt;BR /&gt;Thanks
&lt;BR /&gt;Vaibhav</description>
      <pubDate>Fri, 25 Apr 2014 13:25:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332625#M101485</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-25T13:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error while trying to run a simple job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332626#M101486</link>
      <description>Hi,
&lt;BR /&gt;Don't think it is the problem because at first that schema and file didn't have any pdf and I still got that error.</description>
      <pubDate>Sun, 27 Apr 2014 17:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332626#M101486</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-27T17:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error while trying to run a simple job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332627#M101487</link>
      <description>Have you created a schema in repository for your xml input file?? Whether it displays data correctly in the preview?
&lt;BR /&gt;Vaibhav</description>
      <pubDate>Mon, 28 Apr 2014 06:42:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332627#M101487</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-28T06:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error while trying to run a simple job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332628#M101488</link>
      <description>Hi, 
&lt;BR /&gt;I'm getting : "Failed to generate code" on the preview of the schema. 
&lt;BR /&gt;I've attached the printed screen. 
&lt;BR /&gt;I've changed the encoding of the input file to UTF-8, and also chose UTF-8 encoding after xml file selection. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDok.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140793iE01BED9DA198F600/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDok.png" alt="0683p000009MDok.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 02 May 2014 10:50:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332628#M101488</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-02T10:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error while trying to run a simple job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332629#M101489</link>
      <description>Any help ?</description>
      <pubDate>Sun, 04 May 2014 18:03:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332629#M101489</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-04T18:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error while trying to run a simple job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332630#M101490</link>
      <description>ohadtest1 - what jdk are you using? Failed to generate code seems to indicate you have an environment setup issue...&lt;BR /&gt;If you're using jdk 1.8, you need to downgrade to 1.7 &lt;BR /&gt;See &lt;A href="http://www.talendforge.org/forum/viewtopic.php?pid=133934#p133934" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/forum/viewtopic.php?pid=133934#p133934&lt;/A&gt;&lt;BR /&gt;and read the responses that follow...</description>
      <pubDate>Mon, 05 May 2014 20:00:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332630#M101490</guid>
      <dc:creator>willm1</dc:creator>
      <dc:date>2014-05-05T20:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error while trying to run a simple job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332631#M101491</link>
      <description>PROBLEM SOLVED!
&lt;BR /&gt;Pay attention that even if you change "JAVA_HOME", java still can run from 1.8 library.
&lt;BR /&gt;So make sure you write in command line: "java -version" to check what is the version that Talend works with.
&lt;BR /&gt;After uninstalling JAVA 8, everything works fine. Changing paths isn't enough!</description>
      <pubDate>Fri, 09 May 2014 15:09:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332631#M101491</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-09T15:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error while trying to run a simple job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332632#M101492</link>
      <description>Hi, &lt;BR /&gt;Great it is fixed. Could you please mark this topic as resolved?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 12 May 2014 09:12:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-trying-to-run-a-simple-job/m-p/2332632#M101492</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-12T09:12:10Z</dc:date>
    </item>
  </channel>
</rss>

