<?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: Job started producing java.lang.NullPointerException error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Job-started-producing-java-lang-NullPointerException-error/m-p/2244192#M30422</link>
    <description>&lt;P&gt;That's worked, thank you!&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jul 2020 09:22:15 GMT</pubDate>
    <dc:creator>JM39</dc:creator>
    <dc:date>2020-07-06T09:22:15Z</dc:date>
    <item>
      <title>Job started producing java.lang.NullPointerException error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Job-started-producing-java-lang-NullPointerException-error/m-p/2244189#M30419</link>
      <description>&lt;P&gt;Hello, I really need some help with this because it's really driving me mad.&amp;nbsp; I had two jobs which previously (around a week ago) were running perfectly.&amp;nbsp; I haven't changed the input file or anything else.&amp;nbsp; Today I go to run it and it produces the dreaded&amp;nbsp;java.lang.NullPointerException error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have an excel input file.&amp;nbsp; I think what's causing the issue is this part in my tMap&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;row2.CountryCode.equals("")?&lt;BR /&gt;"MAIN_PURCH" :&lt;BR /&gt;(row2.CountryCode.equals("GB"))&amp;amp;&amp;amp;row1.Postcode!=null ?&lt;BR /&gt;row1.Postcode :&lt;BR /&gt;row2.CountryCode+"_MAIN_PURCH"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I'm saying here is if the country code is blank, then MAIN_PURCH, else if&lt;/P&gt;
&lt;P&gt;the country code is GB and the postcode is not null then use the postcode, else&lt;/P&gt;
&lt;P&gt;Country Code+Main_PURCH&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Appreciate any input!&lt;/P&gt;
&lt;P&gt;I imagine I'm going to be told there's null values in my source data, but what I don't understand is that I haven't changed the input file &amp;amp; it was running before.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:00:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Job-started-producing-java-lang-NullPointerException-error/m-p/2244189#M30419</guid>
      <dc:creator>JM39</dc:creator>
      <dc:date>2024-11-16T02:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Job started producing java.lang.NullPointerException error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Job-started-producing-java-lang-NullPointerException-error/m-p/2244190#M30420</link>
      <description>&lt;P&gt;Try this...&lt;/P&gt;
&lt;PRE&gt;row2.CountryCode==null || row2.CountryCode.equals("")?
"MAIN_PURCH" :
(row2.CountryCode.equals("GB"))&amp;amp;&amp;amp;row1.Postcode!=null ?
row1.Postcode :
row2.CountryCode+"_MAIN_PURCH"&lt;/PRE&gt;
&lt;P&gt;It sounds like your CountryCode may be null instead of an empty String.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 14:53:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Job-started-producing-java-lang-NullPointerException-error/m-p/2244190#M30420</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-01T14:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Job started producing java.lang.NullPointerException error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Job-started-producing-java-lang-NullPointerException-error/m-p/2244191#M30421</link>
      <description>&lt;P&gt;Try this...&lt;/P&gt;
&lt;PRE&gt;row2.CountryCode==null || row2.CountryCode.equals("")?
"MAIN_PURCH" :
(row2.CountryCode.equals("GB"))&amp;amp;&amp;amp;row1.Postcode!=null ?
row1.Postcode :
row2.CountryCode+"_MAIN_PURCH"&lt;/PRE&gt;
&lt;P&gt;It sounds like your CountryCode may be null instead of an empty String.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 14:53:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Job-started-producing-java-lang-NullPointerException-error/m-p/2244191#M30421</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-01T14:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Job started producing java.lang.NullPointerException error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Job-started-producing-java-lang-NullPointerException-error/m-p/2244192#M30422</link>
      <description>&lt;P&gt;That's worked, thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 09:22:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Job-started-producing-java-lang-NullPointerException-error/m-p/2244192#M30422</guid>
      <dc:creator>JM39</dc:creator>
      <dc:date>2020-07-06T09:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Job started producing java.lang.NullPointerException error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Job-started-producing-java-lang-NullPointerException-error/m-p/2244193#M30423</link>
      <description>&lt;P&gt;That's worked, thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 09:22:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Job-started-producing-java-lang-NullPointerException-error/m-p/2244193#M30423</guid>
      <dc:creator>JM39</dc:creator>
      <dc:date>2020-07-06T09:22:15Z</dc:date>
    </item>
  </channel>
</rss>

