<?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: [resolved] NullPointerException and Tmssqloutput in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-and-Tmssqloutput/m-p/2300247#M72490</link>
    <description>Hi, &lt;BR /&gt;How did you set your tMap component? Could you please upload tMap editor screenshot into forum?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
    <pubDate>Tue, 17 Jun 2014 09:53:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-06-17T09:53:24Z</dc:date>
    <item>
      <title>[resolved] NullPointerException and Tmssqloutput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-and-Tmssqloutput/m-p/2300246#M72489</link>
      <description>Hi guys,
&lt;BR /&gt;I am trying to read my name from a delimited file (there is only one single line of data in it, and that's my name, no NULL values), then write the result into a database table.
&lt;BR /&gt;tFileInputDelimited ----&amp;gt; tMap ----&amp;gt; tMSSqlOutput
&lt;BR /&gt;Everytime I run the job, I get the following error:
&lt;BR /&gt; connecting to socket on port 3369
&lt;BR /&gt; connected
&lt;BR /&gt;Exception in component tMSSqlOutput_1
&lt;BR /&gt;java.lang.NullPointerException
&lt;BR /&gt; at edi_on_nav.insert_table_test_0_1.INSERT_TABLE_TEST.tFileInputDelimited_1Process(INSERT_TABLE_TEST.java:626)
&lt;BR /&gt; at edi_on_nav.insert_table_test_0_1.INSERT_TABLE_TEST.runJobInTOS(INSERT_TABLE_TEST.java:1323)
&lt;BR /&gt; at edi_on_nav.insert_table_test_0_1.INSERT_TABLE_TEST.main(INSERT_TABLE_TEST.java:1188)
&lt;BR /&gt;374 milliseconds
&lt;BR /&gt; disconnected
&lt;BR /&gt;
&lt;BR /&gt;I googled a bit and saw that you get the null pointer exception when you have null values in your columns and you uncheck the Nullable option for those columns, etc. 
&lt;BR /&gt;But I don't have anything with null in my source file.
&lt;BR /&gt;What is the issue here?
&lt;BR /&gt;Thanks!
&lt;BR /&gt;Cihan</description>
      <pubDate>Tue, 17 Jun 2014 09:42:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-and-Tmssqloutput/m-p/2300246#M72489</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-17T09:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] NullPointerException and Tmssqloutput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-and-Tmssqloutput/m-p/2300247#M72490</link>
      <description>Hi, &lt;BR /&gt;How did you set your tMap component? Could you please upload tMap editor screenshot into forum?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 17 Jun 2014 09:53:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-and-Tmssqloutput/m-p/2300247#M72490</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-17T09:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] NullPointerException and Tmssqloutput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-and-Tmssqloutput/m-p/2300248#M72491</link>
      <description>I have found it. Apparently I need to first draw a OnSubJobOK from the DB Connection component to the Delimited File component, and then run the job. It runs now.
&lt;BR /&gt;The "But it seems that the table doesn't actually get created" was going to be my next question, but it is also resolved. It looks like I need to use the SQL Commit component after the Output one.
&lt;BR /&gt;Thanks for the prompt reply.</description>
      <pubDate>Tue, 17 Jun 2014 10:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-and-Tmssqloutput/m-p/2300248#M72491</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-17T10:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] NullPointerException and Tmssqloutput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-and-Tmssqloutput/m-p/2300249#M72492</link>
      <description>Hi, &lt;BR /&gt;Thanks for your quick response.  Don't hesitate to post your issue on forum.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 17 Jun 2014 10:15:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-and-Tmssqloutput/m-p/2300249#M72492</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-17T10:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] NullPointerException and Tmssqloutput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-and-Tmssqloutput/m-p/2300250#M72493</link>
      <description>I know this is resolved but can I ask something real quick? 
&lt;BR /&gt;In the Advanced Settings of an MSSQLOutput component, I want to write an SQL expression. I want to replace my column GID_COL_2 with another name called INBTP, so I select Replace, then choose GID_COL_2 as the Reference Column, and then type in my expression.
&lt;BR /&gt;It is something like this:
&lt;BR /&gt;"CAST(CASE WHEN GID_COL_2 LIKE '%UNB%' THEN SUBSTRING(GID_COL_2, 12, 13) ELSE ' ' END AS VARCHAR(75))"
&lt;BR /&gt;Now when I run the Job, Talend tells me that it doesn't recognize GID_COL_2. What am I missing here?
&lt;BR /&gt;Thanks.</description>
      <pubDate>Tue, 17 Jun 2014 10:34:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-and-Tmssqloutput/m-p/2300250#M72493</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-17T10:34:58Z</dc:date>
    </item>
  </channel>
</rss>

