<?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 exception in tFileOutputDelimited component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-in-tFileOutputDelimited-component/m-p/2248337#M33229</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000003YkRbAAK"&gt;@nivedhitha&lt;/A&gt;,where are you setting the ((java.io.OutputStream)globalMap.get("excel_output_stream")) ?&lt;/P&gt;
&lt;P&gt;since you have not set that value for the able variable,because of that you were getting null pointer exception. please check the below link how to use output stream.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.talend.com/reader/KxVIhxtXBBFymmkkWJ~O4Q/orwGOyJ72nAubGeMxRyZ8w" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/KxVIhxtXBBFymmkkWJ~O4Q/orwGOyJ72nAubGeMxRyZ8w&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Dec 2018 05:05:35 GMT</pubDate>
    <dc:creator>manodwhb</dc:creator>
    <dc:date>2018-12-20T05:05:35Z</dc:date>
    <item>
      <title>Null pointer exception in tFileOutputDelimited component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-in-tFileOutputDelimited-component/m-p/2248335#M33227</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to use the output stream feature of the tFileOutputDelimited component and send the output to tDropboxPut without saving the file to a local directory. my job works fine if I disable 'use output stream' and save the output to my local directory. If I enable 'use output stream',then I get the following error.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Exception in component tFileOutputDelimited_1 (job_Extract_000_db2ToSilverpop)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;java.lang.NullPointerException&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;at java.io.Writer.&amp;lt;init&amp;gt;(Writer.java:88)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;at java.io.OutputStreamWriter.&amp;lt;init&amp;gt;(OutputStreamWriter.java:97)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;at marketing_campaignextract.job_extract_000_db2tosilverpop_0_1.job_Extract_000_db2ToSilverpop.tDBInput_1Process(job_Extract_000_db2ToSilverpop.java:1686)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;at marketing_campaignextract.job_extract_000_db2tosilverpop_0_1.job_Extract_000_db2ToSilverpop.tDropboxConnection_1Process(job_Extract_000_db2ToSilverpop.java:893)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;at marketing_campaignextract.job_extract_000_db2tosilverpop_0_1.job_Extract_000_db2ToSilverpop.tDBConnection_1Process(job_Extract_000_db2ToSilverpop.java:753)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;at marketing_campaignextract.job_extract_000_db2tosilverpop_0_1.job_Extract_000_db2ToSilverpop.tPrejob_1Process(job_Extract_000_db2ToSilverpop.java:518)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;at marketing_campaignextract.job_extract_000_db2tosilverpop_0_1.job_Extract_000_db2ToSilverpop.runJobInTOS(job_Extract_000_db2ToSilverpop.java:3432)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;at marketing_campaignextract.job_extract_000_db2tosilverpop_0_1.job_Extract_000_db2ToSilverpop.main(job_Extract_000_db2ToSilverpop.java:3260)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;[FATAL]: marketing_campaignextract.job_extract_000_db2tosilverpop_0_1.job_Extract_000_db2ToSilverpop - tFileOutputDelimited_1 null&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;some background about the job:&lt;/U&gt;&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;&lt;SPAN&gt;I get data from db2 database &lt;/SPAN&gt;&lt;SPAN&gt;(2 columns of type graphic and vargraphic) and converting it into &amp;nbsp;string in the tMap.&lt;/SPAN&gt;&lt;/LI&gt;
 &lt;LI&gt;&lt;FONT face="inherit"&gt;I have a user defined routine for email validation and filter in&amp;nbsp;&lt;/FONT&gt;records&lt;FONT face="inherit"&gt;&amp;nbsp;that have the proper email format in the tFilterrow component.&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;My input data doesn't have any null values.In the tDropboxPut&amp;nbsp;I've checked 'Upload&amp;nbsp;incoming content as File'&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Attaching the screenshots of my job. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Please let me know what is wrong here&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Thanks in advance for your help !!&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2018 20:47:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-in-tFileOutputDelimited-component/m-p/2248335#M33227</guid>
      <dc:creator>nivedhitha</dc:creator>
      <dc:date>2018-12-19T20:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer exception in tFileOutputDelimited component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-in-tFileOutputDelimited-component/m-p/2248336#M33228</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000004XsaeAAC"&gt;@xdshi&lt;/A&gt;&amp;nbsp;/&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/005390000067LRbAAM"&gt;@vapukov&lt;/A&gt;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can you please help me out with my situation? Let me know if have to provide you with additional details.&lt;/P&gt; 
&lt;P&gt;Appreciate any inputs from you.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2018 20:50:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-in-tFileOutputDelimited-component/m-p/2248336#M33228</guid>
      <dc:creator>nivedhitha</dc:creator>
      <dc:date>2018-12-19T20:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer exception in tFileOutputDelimited component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-in-tFileOutputDelimited-component/m-p/2248337#M33229</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000003YkRbAAK"&gt;@nivedhitha&lt;/A&gt;,where are you setting the ((java.io.OutputStream)globalMap.get("excel_output_stream")) ?&lt;/P&gt;
&lt;P&gt;since you have not set that value for the able variable,because of that you were getting null pointer exception. please check the below link how to use output stream.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.talend.com/reader/KxVIhxtXBBFymmkkWJ~O4Q/orwGOyJ72nAubGeMxRyZ8w" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/KxVIhxtXBBFymmkkWJ~O4Q/orwGOyJ72nAubGeMxRyZ8w&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 05:05:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-in-tFileOutputDelimited-component/m-p/2248337#M33229</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-12-20T05:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer exception in tFileOutputDelimited component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-in-tFileOutputDelimited-component/m-p/2248338#M33230</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for your reply. Yeah I realized and got it to work &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 23:39:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-in-tFileOutputDelimited-component/m-p/2248338#M33230</guid>
      <dc:creator>nivedhitha</dc:creator>
      <dc:date>2018-12-20T23:39:46Z</dc:date>
    </item>
  </channel>
</rss>

