<?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.lang.NullPointerException in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NullPointerException/m-p/2344754#M112366</link>
    <description>&lt;P&gt;Thanks so much. This removed the error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I want the output like 6-null=6,&lt;/P&gt;&lt;P&gt;similarly, null-6=-6&lt;/P&gt;&lt;P&gt;null should be replaced with 0 in row6.Sum and row4.Diff&lt;/P&gt;</description>
    <pubDate>Mon, 24 May 2021 18:24:17 GMT</pubDate>
    <dc:creator>BSajjad1615375415</dc:creator>
    <dc:date>2021-05-24T18:24:17Z</dc:date>
    <item>
      <title>java.lang.NullPointerException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NullPointerException/m-p/2344749#M112361</link>
      <description>&lt;P&gt;Exception in component tMap_3 (pcrfvspgwsmalldata)&lt;/P&gt;&lt;P&gt;java.lang.NullPointerException&lt;/P&gt;&lt;P&gt;	at newproj.pcrfvspgwsmalldata_0_1.pcrfvspgwsmalldata.tFileInputDelimited_4Process(pcrfvspgwsmalldata.java:3903)&lt;/P&gt;&lt;P&gt;	at newproj.pcrfvspgwsmalldata_0_1.pcrfvspgwsmalldata.runJobInTOS(pcrfvspgwsmalldata.java:7434)&lt;/P&gt;&lt;P&gt;	at newproj.pcrfvspgwsmalldata_0_1.pcrfvspgwsmalldata.main(pcrfvspgwsmalldata.java:7283)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lines from the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Var.Variance = row6.Sum - row4.Diff;// # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # &lt;/P&gt;&lt;P&gt;tFileInputDelimited_4Process(globalMap);&lt;/P&gt;&lt;P&gt;int exitCode = pcrfvspgwsmalldataClass.runJobInTOS(args);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tmap function is doing a join between two data sets and difference between values of two columns&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 08:45:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NullPointerException/m-p/2344749#M112361</guid>
      <dc:creator>BSajjad1615375415</dc:creator>
      <dc:date>2021-05-24T08:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NullPointerException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NullPointerException/m-p/2344750#M112362</link>
      <description>&lt;P&gt;Hi, maybe row6.Sum or row4.Diff have null value.You have to make it null safe&lt;/P&gt;&lt;P&gt;Send me Love and kudos&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 08:57:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NullPointerException/m-p/2344750#M112362</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-05-24T08:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NullPointerException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NullPointerException/m-p/2344751#M112363</link>
      <description>&lt;P&gt;Sum and Diff columns are float type. How do I make them null safe?&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 09:20:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NullPointerException/m-p/2344751#M112363</guid>
      <dc:creator>BSajjad1615375415</dc:creator>
      <dc:date>2021-05-24T09:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NullPointerException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NullPointerException/m-p/2344752#M112364</link>
      <description>&lt;P&gt;use Float instead of float&lt;/P&gt;&lt;P&gt;&amp;nbsp;check null value for each and if one of them is null, reject it or pass a null value instead of the difference&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 09:21:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NullPointerException/m-p/2344752#M112364</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-05-24T09:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NullPointerException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NullPointerException/m-p/2344753#M112365</link>
      <description>&lt;P&gt;(row6.Sum == null || row4.Diff == null)?null:row6.Sum - row4.Diff;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;float are not good for precision , you'll better use other type like bigDecimal for example.&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 09:25:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NullPointerException/m-p/2344753#M112365</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-05-24T09:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NullPointerException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NullPointerException/m-p/2344754#M112366</link>
      <description>&lt;P&gt;Thanks so much. This removed the error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I want the output like 6-null=6,&lt;/P&gt;&lt;P&gt;similarly, null-6=-6&lt;/P&gt;&lt;P&gt;null should be replaced with 0 in row6.Sum and row4.Diff&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 18:24:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NullPointerException/m-p/2344754#M112366</guid>
      <dc:creator>BSajjad1615375415</dc:creator>
      <dc:date>2021-05-24T18:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NullPointerException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NullPointerException/m-p/2344755#M112367</link>
      <description>&lt;P&gt;(row6.Sum ==null?0F:row6.Sum)-(row4.Diff==null?0F:row4.Diff);&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 18:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NullPointerException/m-p/2344755#M112367</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-05-24T18:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NullPointerException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NullPointerException/m-p/2344756#M112368</link>
      <description>&lt;P&gt;Thanks . I was doing the same thing but with 0 not 0F. That was obviously giving type mismatch errors.&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 08:31:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NullPointerException/m-p/2344756#M112368</guid>
      <dc:creator>BSajjad1615375415</dc:creator>
      <dc:date>2021-05-25T08:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NullPointerException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NullPointerException/m-p/2344757#M112369</link>
      <description>&lt;P&gt;0f  ,0F, new float(0),new Float(0) can work&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 08:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NullPointerException/m-p/2344757#M112369</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-05-25T08:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NullPointerException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NullPointerException/m-p/2344758#M112370</link>
      <description>&lt;P&gt;Is there a way to pivot total of values in Talend.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, for 'ID' cloumn that has XX123, XX123 entries, I want sum of all values in column 'Volume' pertaining to XX123 ID.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Excel attached&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 08:40:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NullPointerException/m-p/2344758#M112370</guid>
      <dc:creator>BSajjad1615375415</dc:creator>
      <dc:date>2021-05-25T08:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NullPointerException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NullPointerException/m-p/2344759#M112371</link>
      <description>&lt;P&gt;tAggregateRow will do the job :&lt;/P&gt;&lt;P&gt;https://help.talend.com/r/rqVGdHtCwjLQfXwWricOzQ/ksr5r6HxwTSnbN7_ggQWLg&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 08:48:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NullPointerException/m-p/2344759#M112371</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-05-25T08:48:07Z</dc:date>
    </item>
  </channel>
</rss>

