<?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: Joblet does not work but code does in Talend Studio in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209955#M8553</link>
    <description>&lt;P&gt;I did raise this issue with support. They just sent me a link to this discussion.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Feb 2020 13:26:17 GMT</pubDate>
    <dc:creator>rmcclure</dc:creator>
    <dc:date>2020-02-26T13:26:17Z</dc:date>
    <item>
      <title>Joblet does not work but code does in Talend Studio</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209946#M8544</link>
      <description>&lt;P&gt;I have a Joblet in a reference project. This joblet opens DB connections, set context variables, writes to logs, closes DB connections etc.&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;If I:&lt;BR /&gt;- Create a standard job&lt;BR /&gt;- insert the joblet into the Job&lt;BR /&gt;- Run the job&lt;BR /&gt;- It fails with a NullPointerException&lt;/P&gt; 
&lt;P&gt;If I:&lt;BR /&gt;- Create a standard job&lt;BR /&gt;- copy the contents of the Joblet directly into the standard job&lt;BR /&gt;- Run the job&lt;BR /&gt;- It completes successfully&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;To make things more bizarre&lt;BR /&gt;If I:&lt;BR /&gt;- Switch to the reference project&lt;BR /&gt;- Create a the same standard job as above&lt;BR /&gt;- insert the joblet into the Job&lt;BR /&gt;- Run the job&lt;BR /&gt;- It completes successfully&lt;/P&gt; 
&lt;P&gt;If I:&lt;BR /&gt;- back in the master project&lt;BR /&gt;- run an existing job&lt;BR /&gt;- It completes successfully&lt;BR /&gt;- remove the joblet from the existing job&lt;BR /&gt;- immediately re-insert the joblet and run&lt;BR /&gt;- It fails with a NullPointerException&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This joblet was modified recently and pushed to Github. I have pulled in the change and still have the issue&lt;BR /&gt;I have also renamed my workspace and re-pulled all from github.&lt;/P&gt; 
&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:12:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209946#M8544</guid>
      <dc:creator>rmcclure</dc:creator>
      <dc:date>2024-11-16T03:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Joblet does not work but code does in Talend Studio</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209947#M8545</link>
      <description>Hi 
&lt;BR /&gt;Can you show us the full stack error message? We need more details to reproduce the issue. Which component throw the NPE error? 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 21 Feb 2020 01:37:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209947#M8545</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-21T01:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Joblet does not work but code does in Talend Studio</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209948#M8546</link>
      <description>&lt;P&gt;I posted the error below. The component in error is a tDBInput.&lt;/P&gt;&lt;P&gt;The issue isn't the error as much as the fact that this exact same code works fine if it is placed in the job rather than run from a joblet&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error is:&lt;/P&gt;&lt;P&gt;Exception in component PrePostJoblet_1_tDBInput_1 (testcycle)&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;at pos.testcycle_0_1.testcycle.PrePostJoblet_1_tDBInput_1Process(testcycle.java:6479)&lt;BR /&gt;at pos.testcycle_0_1.testcycle.PrePostJoblet_1_tDBConnection_1Process(testcycle.java:5535)&lt;BR /&gt;at pos.testcycle_0_1.testcycle.PrePostJoblet_1_tFileInputDelimited_1Process(testcycle.java:5270)&lt;BR /&gt;at pos.testcycle_0_1.testcycle.PrePostJoblet_1_tJava_1Process(testcycle.java:3555)&lt;BR /&gt;at pos.testcycle_0_1.testcycle.PrePostJoblet_1_tSetGlobalVar_1Process(testcycle.java:3423)&lt;BR /&gt;at pos.testcycle_0_1.testcycle.PrePostJoblet_1_tPrejob_1Process(testcycle.java:3256)&lt;BR /&gt;at pos.testcycle_0_1.testcycle.runJobInTOS(testcycle.java:32687)&lt;BR /&gt;at pos.testcycle_0_1.testcycle.main(testcycle.java:31493)&lt;BR /&gt;[FATAL]: pos.testcycle_0_1.testcycle - PrePostJoblet_1_tDBInput_1 null&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;at pos.testcycle_0_1.testcycle.PrePostJoblet_1_tDBInput_1Process(testcycle.java:6479)&lt;BR /&gt;at pos.testcycle_0_1.testcycle.PrePostJoblet_1_tDBConnection_1Process(testcycle.java:5535)&lt;BR /&gt;at pos.testcycle_0_1.testcycle.PrePostJoblet_1_tFileInputDelimited_1Process(testcycle.java:5270)&lt;BR /&gt;at pos.testcycle_0_1.testcycle.PrePostJoblet_1_tJava_1Process(testcycle.java:3555)&lt;BR /&gt;at pos.testcycle_0_1.testcycle.PrePostJoblet_1_tSetGlobalVar_1Process(testcycle.java:3423)&lt;BR /&gt;at pos.testcycle_0_1.testcycle.PrePostJoblet_1_tPrejob_1Process(testcycle.java:3256)&lt;BR /&gt;at pos.testcycle_0_1.testcycle.runJobInTOS(testcycle.java:32687)&lt;BR /&gt;at pos.testcycle_0_1.testcycle.main(testcycle.java:31493)&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 18:03:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209948#M8546</guid>
      <dc:creator>rmcclure</dc:creator>
      <dc:date>2020-02-21T18:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Joblet does not work but code does in Talend Studio</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209949#M8547</link>
      <description>Do you create the DB connection on tDBInput component or use an existing DB connection? I guess it is trying to use an existing DB connection, but the DB connection does not exist and causes the error. 
&lt;BR /&gt;Which version of studio are you using? We will test if it is a bug. 
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 24 Feb 2020 01:45:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209949#M8547</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-24T01:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Joblet does not work but code does in Talend Studio</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209950#M8548</link>
      <description>&lt;P&gt;I am using Studio 7.2.1.&lt;BR /&gt;I am using a tDBConnection prior to using the tDBInput. I agree that the connection dosn't exist but the real question is: Why does the code work fine when placed inside the job but not when called from a joblet?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 13:34:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209950#M8548</guid>
      <dc:creator>rmcclure</dc:creator>
      <dc:date>2020-02-24T13:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Joblet does not work but code does in Talend Studio</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209951#M8549</link>
      <description>&lt;P&gt;You say that the joblet works when used in a job created in your reference project. This points to maybe there being some metadata that the components in the joblet rely on, being in the reference project but not referenced in the project you are trying this in.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 13:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209951#M8549</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-24T13:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Joblet does not work but code does in Talend Studio</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209952#M8550</link>
      <description>&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;I understand what you are saying but if the metadata is in the reference project Why does the code work in the master project if I copy from the joblet and paste in a master project job? It still needs to reference the metadata from the reference project.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 14:13:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209952#M8550</guid>
      <dc:creator>rmcclure</dc:creator>
      <dc:date>2020-02-24T14:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Joblet does not work but code does in Talend Studio</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209953#M8551</link>
      <description>&lt;P&gt;The issue is resolved.&lt;/P&gt;
&lt;P&gt;One of the jobs in the master project was working fine using the joblet. If I removed the joblet and replaced it the job no longer worked. There was something wrong with dropping the Joblet into the job. As a last resort I completely removed Talend from my local machine and re-installed from scratch. Afterwards the Job that wasn't working still didn't work, but when I&amp;nbsp;removed the joblet and replaced it in the job it started to work.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 18:31:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209953#M8551</guid>
      <dc:creator>rmcclure</dc:creator>
      <dc:date>2020-02-24T18:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Joblet does not work but code does in Talend Studio</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209954#M8552</link>
      <description>&lt;P&gt;My thinking was that the metadata when you added the components to your job (not in the joblet) was set to built-in. However, it sounds like you have it sorted now. This is very strange behaviour and needs to be investigated. Since you are using joblets you clearly have the subscription product. Would you mind raising this with support? Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 09:41:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209954#M8552</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-26T09:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Joblet does not work but code does in Talend Studio</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209955#M8553</link>
      <description>&lt;P&gt;I did raise this issue with support. They just sent me a link to this discussion.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 13:26:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209955#M8553</guid>
      <dc:creator>rmcclure</dc:creator>
      <dc:date>2020-02-26T13:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Joblet does not work but code does in Talend Studio</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209956#M8554</link>
      <description>&lt;P&gt;Which link did they give you? Would you mind posting it? Also, would you mind informing them that it was not the answer and that you needed to reinstall? I'm sorry that you had to go through these steps, but hopefully your experience with this can help support nail this in the future. Tell them that Richard from the Community team asked you to do this. If they want any more information, I can hopefully take it from there. Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 14:30:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209956#M8554</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-26T14:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Joblet does not work but code does in Talend Studio</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209957#M8555</link>
      <description>&lt;P&gt;I got the email below as a response from support. I had also mentioned that this "solution" was a complete reinstall and not really the answer I was looking for.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;EM&gt;Please review this KB articles which seems similar to what you are experiencing:&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.qlik.com/s/feed/0D73p000004kjdwCAA#M117674" target="_self"&gt;https://community.talend.com/t5/Design-and-Development/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/214074#M117674&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;&lt;EM&gt;Please let us know.&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;&lt;EM&gt;Thanks,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Talend Support&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 14:51:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209957#M8555</guid>
      <dc:creator>rmcclure</dc:creator>
      <dc:date>2020-02-26T14:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Joblet does not work but code does in Talend Studio</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209958#M8556</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000006dt4GAAQ"&gt;@rmcclure&lt;/A&gt;, I'll look into this for you.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 18:36:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Joblet-does-not-work-but-code-does-in-Talend-Studio/m-p/2209958#M8556</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-26T18:36:04Z</dc:date>
    </item>
  </channel>
</rss>

