<?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 tFileOutputExcel_1_NB_LINE leads to null pointer exception in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-1-NB-LINE-leads-to-null-pointer-exception/m-p/2370319#M133372</link>
    <description>Hi,&lt;BR /&gt;Please refer below my Job design,&lt;BR /&gt;tFileinputexcel - tmap - tjava -  tfile output excel 1    - email 1 (tFileOutputExcel_1_NB_LINE&amp;gt;1)&lt;BR /&gt;                                             tfile output excel 2    -  email 2 (tFileOutputExcel_2_NB_LINE   returns null)&lt;BR /&gt;                                             tfile output excel 3    - email 3 (tFileOutputExcel_3_NB_LINE   returns null)&lt;BR /&gt;for each output file I need to verify a condition like "((Integer)globalMap.get("tFileOutputExcel_1_NB_LINE")) &amp;gt; 1"&lt;BR /&gt;based on the result I need to send a mail to users.&lt;BR /&gt;NB_line is work only if my subjob is ok (ie for one condition tfile output excel 1_nb line)&lt;BR /&gt;other 2 conditions the line vale return "null" and I am not able to check the conditions.&lt;BR /&gt;Please let me know if any other way to check my condition for Email notifications.&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Manikandan.R</description>
    <pubDate>Sat, 16 Nov 2024 13:50:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T13:50:54Z</dc:date>
    <item>
      <title>tFileOutputExcel_1_NB_LINE leads to null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-1-NB-LINE-leads-to-null-pointer-exception/m-p/2370319#M133372</link>
      <description>Hi,&lt;BR /&gt;Please refer below my Job design,&lt;BR /&gt;tFileinputexcel - tmap - tjava -  tfile output excel 1    - email 1 (tFileOutputExcel_1_NB_LINE&amp;gt;1)&lt;BR /&gt;                                             tfile output excel 2    -  email 2 (tFileOutputExcel_2_NB_LINE   returns null)&lt;BR /&gt;                                             tfile output excel 3    - email 3 (tFileOutputExcel_3_NB_LINE   returns null)&lt;BR /&gt;for each output file I need to verify a condition like "((Integer)globalMap.get("tFileOutputExcel_1_NB_LINE")) &amp;gt; 1"&lt;BR /&gt;based on the result I need to send a mail to users.&lt;BR /&gt;NB_line is work only if my subjob is ok (ie for one condition tfile output excel 1_nb line)&lt;BR /&gt;other 2 conditions the line vale return "null" and I am not able to check the conditions.&lt;BR /&gt;Please let me know if any other way to check my condition for Email notifications.&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Manikandan.R</description>
      <pubDate>Sat, 16 Nov 2024 13:50:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-1-NB-LINE-leads-to-null-pointer-exception/m-p/2370319#M133372</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel_1_NB_LINE leads to null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-1-NB-LINE-leads-to-null-pointer-exception/m-p/2370320#M133373</link>
      <description>Hi Manikandan,&lt;BR /&gt;use the following code instead:&lt;BR /&gt;&lt;PRE&gt;(globalMap.get("tFileOutputExcel_1_NB_LINE") != null? (Integer)globalMap.get("tFileOutputExcel_1_NB_LINE")) &amp;gt; 1 : false&lt;/PRE&gt;&lt;BR /&gt;Bye&lt;BR /&gt;Volker</description>
      <pubDate>Mon, 03 Aug 2009 21:40:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-1-NB-LINE-leads-to-null-pointer-exception/m-p/2370320#M133373</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-03T21:40:48Z</dc:date>
    </item>
  </channel>
</rss>

