<?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: Java null pointer exception in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Java-null-pointer-exception/m-p/2214933#M11556</link>
    <description>&lt;P&gt;You may try to do the follow&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;row1.AS_OF_DATE == null ? null :&amp;nbsp;&lt;SPAN&gt;StringHandling.FTRIM(row1.Terms_Code_2)+StringHandling.STR(' ',5)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TalendDate.getLastDayOfMonth(row1.AS_OF_DATE )&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;What it means is if row1.AS_OF_DATE is null then set it as null else return the expressions that you need.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jun 2020 10:35:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-06-12T10:35:35Z</dc:date>
    <item>
      <title>Java null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-null-pointer-exception/m-p/2214931#M11554</link>
      <description>&lt;P&gt;In my excel file there are 10 records in the last record there are null values and the expressions are like this&lt;/P&gt; 
&lt;P&gt;StringHandling.FTRIM(row1.Terms_Code_2)+StringHandling.STR(' ',5)&lt;BR /&gt;TalendDate.getLastDayOfMonth(row1.AS_OF_DATE )&lt;/P&gt; 
&lt;P&gt;If there is null it should proceed&lt;/P&gt; 
&lt;P&gt;How can I do exception handling for this&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 20:10:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-null-pointer-exception/m-p/2214931#M11554</guid>
      <dc:creator>TharunJoshi</dc:creator>
      <dc:date>2020-06-11T20:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Java null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-null-pointer-exception/m-p/2214932#M11555</link>
      <description>Which filed may contains null value? row1.Terms_Code_2 or row1.AS_OF_DATE?
&lt;BR /&gt;Can you take an example to explain what are your expected output?
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong
&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Jun 2020 03:01:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-null-pointer-exception/m-p/2214932#M11555</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-12T03:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Java null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-null-pointer-exception/m-p/2214933#M11556</link>
      <description>&lt;P&gt;You may try to do the follow&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;row1.AS_OF_DATE == null ? null :&amp;nbsp;&lt;SPAN&gt;StringHandling.FTRIM(row1.Terms_Code_2)+StringHandling.STR(' ',5)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TalendDate.getLastDayOfMonth(row1.AS_OF_DATE )&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;What it means is if row1.AS_OF_DATE is null then set it as null else return the expressions that you need.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 10:35:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-null-pointer-exception/m-p/2214933#M11556</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-12T10:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Java null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-null-pointer-exception/m-p/2214934#M11557</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Which filed may contains null value? row1.Terms_Code_2 or row1.AS_OF_DATE?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi both are different columns&amp;nbsp;&lt;BR /&gt;My requirement is if&amp;nbsp;&lt;SPAN&gt; row1.Terms_Code_2 has some value put it or put null same for&amp;nbsp;row1.AS_OF_DATE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My input is excel file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I know there is something called Relational Null but it is not working can you help me&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 14:36:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-null-pointer-exception/m-p/2214934#M11557</guid>
      <dc:creator>TharunJoshi</dc:creator>
      <dc:date>2020-06-12T14:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Java null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-null-pointer-exception/m-p/2214935#M11558</link>
      <description>&lt;P&gt;Thanks for your writing please check this&lt;/P&gt;&lt;P&gt;Hi both are different columns&amp;nbsp;&lt;BR /&gt;My requirement is if&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;row1.Terms_Code_2 has some value put it or put null same for&amp;nbsp;row1.AS_OF_DATE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My input is excel file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I know there is something called Relational Null but it is not working can you help me&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 14:37:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-null-pointer-exception/m-p/2214935#M11558</guid>
      <dc:creator>TharunJoshi</dc:creator>
      <dc:date>2020-06-12T14:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Java null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-null-pointer-exception/m-p/2214936#M11559</link>
      <description>&lt;P&gt;If you are saying both columns may contain null&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe you can handle them separately?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;row1.AS_OF_DATE == null ? null : &lt;SPAN&gt;row1.AS_OF_DATE&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;row1.Terms_Code_2&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;== null ? null : row1.Terms_Code_2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Can you give an example to explain the scenario clearer? What are you trying to achieve here?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2020 12:51:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-null-pointer-exception/m-p/2214936#M11559</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-15T12:51:21Z</dc:date>
    </item>
  </channel>
</rss>

