<?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: Custom component created gives error when running in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Custom-component-created-gives-error-when-running/m-p/2349475#M116447</link>
    <description>You can actually run the job code from the "code" tab and set breakpoints, watch variables etc... however, if your component is not huge (say :_ less than 100 lines per section) it should not be difficult to get the the faulty line anyway... if instead you have a very big chunk of java code, you should probably consider to create it outside, in a java class, package it ina jar and then use it accordingly.
&lt;BR /&gt;I do this in some of my components, it also help sbecause you can easily create a test program in java for your class, without dealing with the component.</description>
    <pubDate>Fri, 16 Sep 2011 10:49:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-09-16T10:49:25Z</dc:date>
    <item>
      <title>Custom component created gives error when running</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-component-created-gives-error-when-running/m-p/2349472#M116444</link>
      <description>Hi &lt;BR /&gt;I am getting the below error, when I am running a job with custom created component&lt;BR /&gt;-------------------------------------------------------&lt;BR /&gt;Starting job ESI_trial_WS_OG_DD_1 at 15:35 10/09/2011.&lt;BR /&gt; connecting to socket on port 4046&lt;BR /&gt; connected&lt;BR /&gt;Exception in component tESI_FM_trial3_1&lt;BR /&gt;java.util.NoSuchElementException&lt;BR /&gt;	at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:392)&lt;BR /&gt;	at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:401)&lt;BR /&gt;	at esi_test1.esi_trial_ws_og_dd_1_0_1.ESI_trial_WS_OG_DD_1.tContextDump_1Process(ESI_trial_WS_OG_DD_1.java:1489)&lt;BR /&gt;	at esi_test1.esi_trial_ws_og_dd_1_0_1.ESI_trial_WS_OG_DD_1.runJobInTOS(ESI_trial_WS_OG_DD_1.java:8568)&lt;BR /&gt;	at esi_test1.esi_trial_ws_og_dd_1_0_1.ESI_trial_WS_OG_DD_1.main(ESI_trial_WS_OG_DD_1.java:8438)&lt;BR /&gt; disconnected&lt;BR /&gt;Job ESI_trial_WS_OG_DD_1 ended at 15:35 10/09/2011.  &lt;BR /&gt;-------------------------------------------------------&lt;BR /&gt;Is there a way i can identify which line (javajet/java) code is causing this? Suggest some way to debug the same.&lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 16 Nov 2024 12:40:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-component-created-gives-error-when-running/m-p/2349472#M116444</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Custom component created gives error when running</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-component-created-gives-error-when-running/m-p/2349473#M116445</link>
      <description>You should add a few debug lines ( System.out.println("debug xxx"); ) to detect which line gives you the error and then.. well, normally there is a good reason if an exception is thrown 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 16 Sep 2011 08:55:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-component-created-gives-error-when-running/m-p/2349473#M116445</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-16T08:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Custom component created gives error when running</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-component-created-gives-error-when-running/m-p/2349474#M116446</link>
      <description>He He 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; ... I was just doing that. But was looking for better ways 
&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; to deal with it, probably some inbuilt parser 
&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;.</description>
      <pubDate>Fri, 16 Sep 2011 09:20:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-component-created-gives-error-when-running/m-p/2349474#M116446</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-16T09:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Custom component created gives error when running</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-component-created-gives-error-when-running/m-p/2349475#M116447</link>
      <description>You can actually run the job code from the "code" tab and set breakpoints, watch variables etc... however, if your component is not huge (say :_ less than 100 lines per section) it should not be difficult to get the the faulty line anyway... if instead you have a very big chunk of java code, you should probably consider to create it outside, in a java class, package it ina jar and then use it accordingly.
&lt;BR /&gt;I do this in some of my components, it also help sbecause you can easily create a test program in java for your class, without dealing with the component.</description>
      <pubDate>Fri, 16 Sep 2011 10:49:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-component-created-gives-error-when-running/m-p/2349475#M116447</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-16T10:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Custom component created gives error when running</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-component-created-gives-error-when-running/m-p/2349476#M116448</link>
      <description>Agree with saburo's comments.
&lt;BR /&gt;As a more general tip - which will probably help more next time, than this time: you didn't seem sure if the problem is JET or Java. I know the feeling.
&lt;BR /&gt;When I build a non trivial component, I build and unit test the target Java first, divided into begin/main/end sections.
&lt;BR /&gt;When I have that working, I wrap it up in the JET template.
&lt;BR /&gt;That goes a long way to eliminating any issues with Java and algorithm, before I get into those of JET and code generation.</description>
      <pubDate>Fri, 16 Sep 2011 12:07:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-component-created-gives-error-when-running/m-p/2349476#M116448</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-16T12:07:25Z</dc:date>
    </item>
  </channel>
</rss>

