<?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: Null pointer error with SCD component before data arrives in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-with-SCD-component-before-data-arrives/m-p/2316933#M87440</link>
    <description>Glad your problem was fixed</description>
    <pubDate>Fri, 07 Jul 2017 14:01:50 GMT</pubDate>
    <dc:creator>cterenzi</dc:creator>
    <dc:date>2017-07-07T14:01:50Z</dc:date>
    <item>
      <title>Null pointer error with SCD component before data arrives</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-with-SCD-component-before-data-arrives/m-p/2316929#M87436</link>
      <description>&lt;P&gt;Using Talend Open Studio 6.4.0 I am trying to make use of the tMysqlSCD component. When I run the job I immediately get a null pointer error, even when no rows have been ingested or processed through the job.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My input doesn't have null values for the primary key and the surrogate key is generated by talend based on the settings of the SCD component&lt;/P&gt;&lt;P&gt;The job has 2 sql connections to read main and lookup flows from a staging database and then write to a data mart using SCD&lt;/P&gt;&lt;PRE&gt;Exception in component tMysqlSCD_1 (jobname) &lt;BR /&gt;java.lang.NullPointerException at projectworkspace.jobname_version.jobname.tMysqlInput_1Process(jobname.java:2288) &lt;BR /&gt;at projectworkspace.jobname_version.jobname.tMysqlConnection_1Process(Researcher_Dimension.java:687) &lt;BR /&gt;at projectworkspace.jobname_version.jobname..runJobInTOS(Researcher_Dimension.java:5741) &lt;BR /&gt;at projectworkspace.jobname_version.jobname..main(Researcher_Dimension.java:5502)&lt;/PRE&gt;&lt;P&gt;Is there something obvious I am missing&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 15:59:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-with-SCD-component-before-data-arrives/m-p/2316929#M87436</guid>
      <dc:creator>mobmsc2</dc:creator>
      <dc:date>2017-07-06T15:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer error with SCD component before data arrives</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-with-SCD-component-before-data-arrives/m-p/2316930#M87437</link>
      <description>Just guessing since I can't see your job layout, but does your tMysqlSCD component rely on a tMysqlConnection component for its connection? If so, you have to ensure that the connection component executes before subsequent components. You can do this with a trigger link (OnSubjobOK) or by attaching the connection component to a tPrejob component.</description>
      <pubDate>Thu, 06 Jul 2017 19:35:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-with-SCD-component-before-data-arrives/m-p/2316930#M87437</guid>
      <dc:creator>cterenzi</dc:creator>
      <dc:date>2017-07-06T19:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer error with SCD component before data arrives</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-with-SCD-component-before-data-arrives/m-p/2316931#M87438</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;Could you please post your job setting screenshots on forum? Which will be helpful for us to address your issue.&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 02:35:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-with-SCD-component-before-data-arrives/m-p/2316931#M87438</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-07T02:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer error with SCD component before data arrives</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-with-SCD-component-before-data-arrives/m-p/2316932#M87439</link>
      <description>&lt;P&gt;thanks&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLooAAG"&gt;@cterenzi&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000004XsaeAAC"&gt;@xdshi&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;The before picture, I had the connections set on Component Ok because I assumed it would validate the connection (never really considered it a subjob)&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tMysqlSCDBefore.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lv1H.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149161iC1685FB1FFBB0360/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lv1H.png" alt="0683p000009Lv1H.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;The After Picture&lt;/P&gt; 
&lt;P&gt;Job runs without null pointer on SCD&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tMysqlSCDAfter.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvNv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134969iFB7A29D51AB2D9F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvNv.png" alt="0683p000009LvNv.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 09:16:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-with-SCD-component-before-data-arrives/m-p/2316932#M87439</guid>
      <dc:creator>mobmsc2</dc:creator>
      <dc:date>2017-07-07T09:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer error with SCD component before data arrives</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-with-SCD-component-before-data-arrives/m-p/2316933#M87440</link>
      <description>Glad your problem was fixed</description>
      <pubDate>Fri, 07 Jul 2017 14:01:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-with-SCD-component-before-data-arrives/m-p/2316933#M87440</guid>
      <dc:creator>cterenzi</dc:creator>
      <dc:date>2017-07-07T14:01:50Z</dc:date>
    </item>
  </channel>
</rss>

